title: Preventing pages being open in a new tab/window
body: <p>I am working on a project that behaves very strange when the user open pages in a new tab or in a new window, causing the app to crash. </p>
  
  <p>I need some javascript that can help me prevent that. So basically i'd like to block ctrl+click, middle mouse button, shift+click, open in a new tab/window from the context menu; or at least block as many as possible. I wouldn't want to block right ckick(if possible), because that is never a solution.</p>
  
  <p><em>N.B.: I am very new to js, so any help would be greatly appreciated.</em></p>