FreeGOGPcGames timer bypass

Script to bypass the timer on the FreeGogPcGames website.

  1. // ==UserScript==
  2. // @name FreeGOGPcGames timer bypass
  3. // @name:pt-BR Burlar timer do freegogpcgames
  4. // @license MIT
  5. // @namespace http://tampermonkey.net/
  6. // @version 0.1
  7. // @description Script to bypass the timer on the FreeGogPcGames website.
  8. // @description:pt-BR Script para burlar o timer no site freegogpcgames
  9. // @author ElSopo
  10. // @match http*://gdl.freegogpcgames.xyz/download-gen.php?url=*
  11. // @icon https://www.google.com/s2/favicons?sz=64&domain=freegogpcgames.xyz
  12. // @grant none
  13. // ==/UserScript==
  14.  
  15. (function() {
  16. 'use strict';
  17.  
  18. // Your code here...
  19. var magnet;
  20. var dLink = document.getElementById('DLINK');
  21. for (var i = 0; i < dLink.children.length; i++) {
  22. if (dLink.children[i].tagName === 'INPUT') {
  23. magnet = dLink.children[i].value;
  24. }
  25. }
  26. if (typeof(magnet) == 'string') {
  27. window.location = magnet;
  28. }
  29. })();