Open links in current tab

Open links in current tab regardless of _target or site's preferences. Ctrl-click: background tab, Ctrl-Shift-click: foreground tab, Shift-click: new window

Voici les versions de ce script où le code a été modifié. Voir toutes les versions.

  • v2.3.0 04/11/2023

    override

  • v2.2.9 30/08/2023

    improve reliability, retain noopener/noreferrer from window.open() params

  • v2.2.8 04/09/2021
  • v2.2.8 17/05/2018 fix pierceShadow
  • v2.2.7 31/03/2017 Skip links inside shadow DOM such as twitter video play button link
  • v2.2.6 24/11/2016 fixup js links; simplify the if's
  • v2.2.5 22/11/2016 fixup
  • v2.2.4 19/11/2016 Fix middle-click to always open a new background tab
  • v2.2.3 01/11/2016 Use "A" element instead of assigning location.href
  • v2.2.2 31/10/2016 Handle links in iframes
  • v2.2.1 25/10/2016 fixup
  • v2.2.0 22/10/2016 Pierce ShadowDOM
  • v2.1.3 24/09/2016 disregard target=_blank on samesite#differenthash links
  • v2.1.2 22/09/2016 mouseup element should match mousedown element
  • v2.1.1 22/09/2016 prevent dynamically added target=_blank
  • v2.1.0 21/09/2016
  • v2.0.9 21/09/2016
  • v2.0.8 21/09/2016
  • v2.0.7 21/09/2016
  • v2.0.6 20/09/2016 use mouseup event
  • v2.0.5 20/09/2016
  • v2.0.4 20/09/2016
  • v2.0.3 20/09/2016
  • v2.0.2 20/09/2016
  • v2.0.1 20/09/2016
  • v2.0 20/09/2016
  • v1.0 22/08/2014