Force links to open in same tab

By LuckyShot Last update Dec 18, 2008 — Installed 228 times. Daily Installs: 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0
Script Summary:
All modern browsers work with tabs, so the user should decide wether opening links in a new tab or not.
Version: 0.1 alpha

Script homepage

This script has no discussions.

start the discussion

Review Summary
5 stars
1 reviews (1)
4 stars
0 reviews (0)
3 stars
0 reviews (0)
2 stars
0 reviews (0)
1 star
0 reviews (0)

this script has 1 review



Description

We should be able to decide if we want a link to open in a new tab or in a new window.
This script forces links to open in the same page when left clicked.

Works with

  • a HTML tag links with a target

Still doesn't work with

  • JavaScript links
  • Flash (can it even be done?)
  • Frame detection

Notes

Links in secure HTTPS pages won't be forced, they may have a good reason to open in a new window.