Google Analytics | Turn off the counter

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

目前为 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. // @iconURL https://ssl.gstatic.com/analytics/20200422-01/app/static/analytics_standard_icon.png
  18. // @version 1.0
  19. // @match http://*/*
  20. // @match https://*/*
  21. // @run-at document-start
  22. // @grant unsafeWindow
  23. // @noframes
  24. // @namespace https://stomaks.me
  25. // @supportURL https://stomaks.me?feedback
  26. // @contributionURL https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=stomaks@gmail.com&item_name=Greasy+Fork+donation
  27. // @author Maxim Stoyanov (stomaks)
  28. // @developer Maxim Stoyanov (stomaks)
  29. // @license MIT
  30. // @compatible chrome
  31. // @compatible firefox
  32. // @compatible opera
  33. // @compatible safari
  34. // ==/UserScript==
  35.  
  36. (function() {
  37. 'use strict';
  38.  
  39. unsafeWindow._gaUserPrefs = {
  40. "ioo": function() {
  41. return true;
  42. }
  43. };
  44. })();