Google Analytics | Turn off the counter

Disables the 𝗚𝗼𝗼𝗴𝗹𝗲 𝗔𝗻𝗮𝗹𝘆𝘁𝗶𝗰𝘀 tracking counter.

当前为 2020-04-28 提交的版本,查看 最新版本

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

// ==UserScript==
// @name                 Google Analytics | Turn off the counter
// @description          Disables the 𝗚𝗼𝗼𝗴𝗹𝗲 𝗔𝗻𝗮𝗹𝘆𝘁𝗶𝗰𝘀 tracking counter.

// @name:en              Google Analytics | Turn off the counter
// @description:en       Disables the 𝗚𝗼𝗼𝗴𝗹𝗲 𝗔𝗻𝗮𝗹𝘆𝘁𝗶𝗰𝘀 tracking counter.

// @name:ru              Google Analytics | Отключить счетчик
// @description:ru       Отключает счетчик отслеживания 𝗚𝗼𝗼𝗴𝗹𝗲 𝗔𝗻𝗮𝗹𝘆𝘁𝗶𝗰𝘀.

// @name:uk              Google Analytics | Відключити лічильник
// @description:uk       Відключає лічильник відстеження 𝗚𝗼𝗼𝗴𝗹𝗲 𝗔𝗻𝗮𝗹𝘆𝘁𝗶𝗰𝘀.

// @name:bg              Google Analytics | Деактивирайте брояча
// @description:bg       Деактивира брояча за проследяване на 𝗚𝗼𝗼𝗴𝗹𝗲 𝗔𝗻𝗮𝗹𝘆𝘁𝗶𝗰𝘀.

// @iconURL              https://ssl.gstatic.com/analytics/20200422-01/app/static/analytics_standard_icon.png
// @version              1.0
// @match                http://*/*
// @match                https://*/*
// @run-at               document-start
// @grant                unsafeWindow
// @noframes
// @namespace            https://stomaks.me
// @supportURL           https://stomaks.me?feedback
// @contributionURL      https://www.paypal.com/cgi-bin/webscr?cmd=_donations&[email protected]&item_name=Greasy+Fork+donation
// @author               Maxim Stoyanov (stomaks)
// @developer            Maxim Stoyanov (stomaks)
// @license              MIT
// @compatible           chrome
// @compatible           firefox
// @compatible           opera
// @compatible           safari
// ==/UserScript==

(function() {
  'use strict';

  unsafeWindow._gaUserPrefs = {
    "ioo": function() {
      return true;
    }
  };
})();