Greasy Fork is available in English.

Prompt On New Tab

Display a confirmation dialog when the site wants to open a new tab, so that user has the chance to cancel or allow it to open in a new or current tab. This script won't work if the user opens a link in a new tab using web browser's "Open in a new tab", "Open in background tab", or similar which are web browser internal or browser extension features.

Ini adalah versi dari skrip ini yang kodenya telah diperbarui. Tampilkan semua versi.

  • v1.2.19 01 Februari 2020 Decreased unnecessary prompts when opening a link or submitting a form into a frame.
  • v1.2.18 07 November 2019 Fixed prompt may still show although a new tab is not about to be opened
  • v1.2.17 01 Mei 2018 Fixed unnecessary prompt when a website uses frame-set. Added additional confirmation dialog to make the URL open in current tab instead of a new tab (disableable via setting in the script; enabled by default).
  • v1.1.16 01 Maret 2018 Fixed broken form submission
  • v1.1.15 27 Februari 2018 Made event listeners stick as last listeners. Fixes unnecessary prompts on Tumblr.
  • v1.1.14 19 Februari 2018 Fixed right-lick on a link always prompt user. Fixed user isn't prompted if a form submission is submitted using script. Applied more efficient method of handling events.
  • v1.1.11 18 Februari 2018 Bugfix for previous update
  • v1.1.10 18 Februari 2018 Bugfix for previous update
  • v1.1.9 18 Februari 2018 Included predefined window names to avoid unnecessary prompts
  • v1.1.8 17 Februari 2018 Applied workaround for getting information from secured frame elements
  • v1.1.7 17 Februari 2018 Fixed website script got broken when accessing a secured frame
  • v1.1.6 14 Februari 2018 Fixed a bug which broke the whole script
  • v1.1.5 14 Februari 2018 URL check is now bypassed if the target name points to an frame element. For e.g. jsfiddle.net
  • v1.1.4 14 Februari 2018 Fixed list optimization bug.
  • v1.1.3 14 Februari 2018 Fixed form submission failed to be submitted if performed manually by JavaScript.
  • v1.1.2 14 Februari 2018 Fixed new tab didn't open even if the user allows it, when JavaScript is used to open the new tab. Added URL blacklist and whitelist to automate prompting.
  • v1.0.1 12 Februari 2018