這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Remove Google Analytics (MonsterInsights) comments

描述

A light-weight plugin which will remove the advertisement HTML comments coming from the Google Analytics plugin created by MonsterInsights, such as:

<!-- This site uses the Google Analytics by MonsterInsights plugin -->

This is a must-have plugin if you have Google Analytics by MonsterInsights installed.

Note

This plugin requires Google Analytics by MonsterInsights. If you do not have Google Analytics by MonsterInsights activated, this plugin will not work. Also compatible with the pro version of the mentioned plugin.

Like this plugin?

If you like this plugin, make sure to rate it 5 stars. Also check out Remove Yoast SEO comments!

安裝

  1. Upload the ‘remove-google-analytics-comments’ folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. All done! The HTML comments are now removed from your front-end source code.

常見問題

When Google Analytics by MonsterInsights updates their plugin, will the HTML comments stay removed?

Yes, they will stay removed.

Does this plugin add any configuration options?

No, activate the plugin and you are done! This plugin will not add any extra tables or such to your database.

Why does this plugin exist?

The HTML comments coming from the Google Analytics by MonsterInsights plugin give out information such as plugin version and type. When there is a exploit in the Google Analytics by MonsterInsights plugin, hackers may take advantage of that exploit to hack your website. A good reason to remove them.

Will this plugin modify any of my Google Analytics by MonsterInsights plugin files?

No, this plugin will not modify any of your Google Analytics by MonsterInsights plugin files.

評價

2017年5月23日
Basic plug-in, works as advertised. It’s a good security thing to not let people know what versions you are using, in case there is an exploit; after having said that, you should patch your servers ANYWAY to avoid exploits taking hold. Even if the information about the version is not exposed on your web site, any exploits IN that version WOULD be, so do the patching. This plugin isn’t perfect, however, as I did still find the following variable in the code: var monsterinsights_frontend … so, anyone looking at source would probably know you’re using MonsterInsights … == John ==
閱讀全部1個評價

貢獻者及開發者

“Remove Google Analytics (MonsterInsights) comments” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

修改日誌

1.0.1

  • Fixed an security vulnerability regarding target="_blank" (read more)
  • Added support for WordPress 4.7

1.0

  • Initial release