title: Prevent opening a new tab when ctrl+click for location.href
body: <p>I have a Javascript function with following code.</p>
  
  <pre><code>function NodeClickActions(sender, eventArgs) {
      event.preventDefault();
      //Get whether user clicked CTRL key or not
      var bCtrlPressed = eventArgs.get_browserEvent().ctrlKey;
      //URL of the actions page
      var URL = "../Actions.aspx";
     //If CTRL key was pressed
      if (bCtrlPressed) {
        parent.MainPage.location.href = URL + "?PackageId=00000000-0000-0000-0000-000000000000&amp;All=" + bCtrlPressed;
          }
        else {
          parent.MainPage.location.href = URL;
        }
      }
  </code></pre>
  
  <p>I need to stop the page being opened in a new tab. Please note, event.PreventDefault(); won't do the trick unfortunately.</p>
  
  <p>I understand this is due to browser behaviour rather than the code.
  Any suggestion is  welcome. Regards!</p>