Title: Add Target Fixer
Author: shortdark
Published: <strong>2016 年 9 月 17 日</strong>
Last modified: 2021 年 11 月 3 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://s.w.org/plugins/geopattern-icon/add-target-fixer.svg)

# Add Target Fixer

 作者：[shortdark](https://profiles.wordpress.org/shortdark/)

[下载](https://downloads.wordpress.org/plugin/add-target-fixer.zip)

 * [详情](https://cn.wordpress.org/plugins/add-target-fixer/#description)
 * [评价](https://cn.wordpress.org/plugins/add-target-fixer/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/add-target-fixer/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/add-target-fixer/#developers)

 [支持](https://wordpress.org/support/plugin/add-target-fixer/)

## 描述

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](http://www.shortdark.net/contact-me/).

Go to the [Shortdark WordPress plugin page](http://www.shortdark.net/wordpress-plugin/)
for more information.

## 安装

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. 

## 评价

![](https://secure.gravatar.com/avatar/93bcdc16e9e14b31b845d46033cba43796b15b8cfcb1ae74d83f3be62224aa9a?
s=60&d=retro&r=g)

### 󠀁[must have!](https://wordpress.org/support/topic/must-have-395/)󠁿

 [Steve](https://profiles.wordpress.org/helmixx/) 2018 年 9 月 3 日

thanks a lot for that simple but smart plugin!

![](https://secure.gravatar.com/avatar/8a78413b532d4b4f59506694306697507d97fe8266952ecd5ece5b2526d725f7?
s=60&d=retro&r=g)

### 󠀁[smart & usefull](https://wordpress.org/support/topic/smart-usefull/)󠁿

 [wp-nicolas](https://profiles.wordpress.org/wp-nicolas/) 2017 年 4 月 10 日

Thank you for this! (I would repeat what ranthalion75 already wrote.. 😉

![](https://secure.gravatar.com/avatar/38a8bf745f2c11cea6d95c482df8f86d9ac73a11f1baecbcf77339b6335f88ea?
s=60&d=retro&r=g)

### 󠀁[Great plugin! Works great and it’s very small.](https://wordpress.org/support/topic/great-plugin-works-great-and-its-very-small/)󠁿

 [ranthalion75](https://profiles.wordpress.org/ranthalion75/) 2017 年 1 月 14 日

I had installed a larger security plugin package that included this capability, 
but it didn’t work. Glad I found this little plugin. It fixed the issue quick and
easy. Thanks!

 [ 阅读所有3条评价 ](https://wordpress.org/support/plugin/add-target-fixer/reviews/)

## 贡献者及开发者

「Add Target Fixer」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ shortdark ](https://profiles.wordpress.org/shortdark/)

[帮助将「Add Target Fixer」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/add-target-fixer)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/add-target-fixer/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/add-target-fixer/)，或通过[RSS](https://plugins.trac.wordpress.org/log/add-target-fixer/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/add-target-fixer/)。

## 更新日志

#### 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.

## 额外信息

 *  版本 **0.0.04**
 *  最后更新：**5 年前**
 *  活跃安装数量 **100+**
 *  WordPress 版本 ** 3.5 或更高版本 **
 *  已测试的最高版本为 **5.8.13**
 *  语言
 * [English (US)](https://wordpress.org/plugins/add-target-fixer/)
 * 标签
 * [posts](https://cn.wordpress.org/plugins/tags/posts/)[security](https://cn.wordpress.org/plugins/tags/security/)
 *  [高级视图](https://cn.wordpress.org/plugins/add-target-fixer/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  3 条 5 星评价     ](https://wordpress.org/support/plugin/add-target-fixer/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/add-target-fixer/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/add-target-fixer/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/add-target-fixer/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/add-target-fixer/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/add-target-fixer/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/add-target-fixer/reviews/)

## 贡献者

 *   [ shortdark ](https://profiles.wordpress.org/shortdark/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/add-target-fixer/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://www.shortdark.co.uk/)