Add Target Fixer

November 03, 2021

Add Target Fixer Plugin

Fixes the target="_blank" vulnerability by adding rel="noopener noreferrer" to the 'a' tag.

This plugin looks at the phishing issue with target=”_blank” vulnerability when the opened page can control the referring page.
The plugin fixes it by adding a rel=”noopener noreferrer” in the “A” tags where a target=”_blank” is found. It does not
change the content, it only modifies the “A” tags while the plugin is active. Tested on PHP 5 to PHP 8.

Please let me know if you like this plugin by leaving a review or contacting me.

Go to the Shortdark WordPress plugin page for more information.

Installation

This section describes how to install the plugin and get it working.

  1. Upload the plugin folder to the /wp-content/plugins/ directory, or install the plugin through the WordPress
    plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress.
  3. Your tags are now fixed!

Changelog

0.0.04

  • Checked WordPress version and also works on PHP 8.

0.0.03

  • Changed tagline.

0.0.02

  • Only works inside “a” tags.

0.0.01

  • New plugin.

Details

  • Version: 0.0.04
  • Active installations: 100
  • WordPress Version: 3.5
  • Tested up to: 5.8.10

Ratings


5 Stars
4 Stars
3 Stars
2 Stars
1 Stars