WordPress.org

Ready to get started?Download WordPress

Plugin Directory

Open in New Window Plugin

Opens external links in a new window, keeping your blog page in the browser so you don't lose surfers to another site.

2.3

  • Added security check.
  • broke up the program to reduce load overhead
  • added the first settings option to this plugin. Some files types, when found in local site, can be forced to open in a new window. These include: .pdf, .mp3, .jpg, .gif, .tiff, .png, .doc, .rtf, .docx, .xls, .wmv, .mov, .avi, .zip, .rar, .7z and .arc. Check off the option box in the settings. On by default.

2.2

Fixed bug in javascript that allowed some types to open in new window.

2.1

Added support to load certain file types in a new window. Disabled in wp-admin screens to prevent reported issues with the admin toolbar.

2.0

Now loading the script as a js file in order to cache the hits and speed page loads.

1.9

Stopped updating the title parameter for images.

1.8

Added javascript in a few more places, just in case. Tested on WP 3.1

1.7

HTTPS and FTP now open in new windows.

1.6

Prevented links that already have a target from being rewritten.

1.5

Fixed an issue with WordPress 3.0 alpha test. Added a title attribute to links when when none exists. It uses the innerHTML to the link to display a title when you hover over the link. Added a pingback link so you can add your blog link to my plugin users page. It's a free inbound link for you, probably of little value.

1.4

Added a setup screen for feedback that the plugin is installed correctly

1.3

Fixed an issue with IE6. The current code works under IE6

1.2

  • Added support for links with url of javascript: so as not to open in new window.

1.1

  • Added onload event so as not to miss a few other links that might be also loaded in onload. = 1.2 =
  • Added support for links with url of javascript: so as not to open in new window.

1.0

  • initial release

Requires: 3.0 or higher
Compatible up to: 3.5.2
Last Updated: 2013-1-17
Downloads: 61,137

Ratings

4 stars
4.7 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1
100,1,1 100,1,1
0,1,0 100,2,2
100,1,1 100,1,1 100,2,2
100,1,1
100,1,1 100,3,3
100,1,1
100,1,1
100,1,1
100,1,1
100,1,1
100,2,2
100,1,1
100,2,2 100,3,3
100,1,1
0,1,0 100,2,2 100,2,2
100,2,2
100,1,1
75,4,3
100,1,1
100,1,1