Google Analytics | 禁用计数器

禁用跟踪计数器𝗚𝗼𝗼𝗴𝗹𝗲.

目前为 2020-04-28 提交的版本。查看 最新版本

  1. // ==UserScript==
  2. // @name Google Analytics | Turn off the counter
  3. // @description Disables the 𝗚𝗼𝗼𝗴𝗹𝗲 𝗔𝗻𝗮𝗹𝘆𝘁𝗶𝗰𝘀 tracking counter.
  4.  
  5. // @name:en Google Analytics | Turn off the counter
  6. // @description:en Disables the 𝗚𝗼𝗼𝗴𝗹𝗲 𝗔𝗻𝗮𝗹𝘆𝘁𝗶𝗰𝘀 tracking counter.
  7.  
  8. // @name:ru Google Analytics | Отключить счетчик
  9. // @description:ru Отключает счетчик отслеживания 𝗚𝗼𝗼𝗴𝗹𝗲 𝗔𝗻𝗮𝗹𝘆𝘁𝗶𝗰𝘀.
  10.  
  11. // @name:uk Google Analytics | Відключити лічильник
  12. // @description:uk Відключає лічильник відстеження 𝗚𝗼𝗼𝗴𝗹𝗲 𝗔𝗻𝗮𝗹𝘆𝘁𝗶𝗰𝘀.
  13.  
  14. // @name:bg Google Analytics | Деактивирайте брояча
  15. // @description:bg Деактивира брояча за проследяване на 𝗚𝗼𝗼𝗴𝗹𝗲 𝗔𝗻𝗮𝗹𝘆𝘁𝗶𝗰𝘀.
  16.  
  17. // @name:zh-CN Google Analytics | 禁用计数器
  18. // @description:zh-CN 禁用跟踪计数器𝗚𝗼𝗼𝗴𝗹𝗲.
  19.  
  20. // @iconURL https://ssl.gstatic.com/analytics/20200422-01/app/static/analytics_standard_icon.png
  21. // @version 1.0
  22. // @match http://*/*
  23. // @match https://*/*
  24. // @run-at document-start
  25. // @grant unsafeWindow
  26. // @noframes
  27. // @namespace https://stomaks.me
  28. // @supportURL https://stomaks.me?feedback
  29. // @contributionURL https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=stomaks@gmail.com&item_name=Greasy+Fork+donation
  30. // @author Maxim Stoyanov (stomaks)
  31. // @developer Maxim Stoyanov (stomaks)
  32. // @license MIT
  33. // @compatible chrome
  34. // @compatible firefox
  35. // @compatible opera
  36. // @compatible safari
  37. // ==/UserScript==
  38.  
  39. (function() {
  40. 'use strict';
  41.  
  42. unsafeWindow._gaUserPrefs = {
  43. "ioo": function() {
  44. return true;
  45. }
  46. };
  47. })();