Greasy Fork is available in English.

Gofile bypass frozen links

bypass frozen files in gofile

  1. // ==UserScript==
  2. // @name Gofile bypass frozen links
  3. // @namespace https://greatest.deepsurf.us/users/821661
  4. // @match https://gofile.io/*
  5. // @grant none
  6. // @version 1.0
  7. // @run-at document-start
  8. // @author hdyzen
  9. // @description bypass frozen files in gofile
  10. // @license GPL-3.0-only
  11. // ==/UserScript==
  12.  
  13. function patchResponseJSON() {
  14. try {
  15. Response.prototype.json = async function () {
  16. const resText = await this.text();
  17. const modRes = resText.replaceAll('"isFrozen":true', '"isFrozen":false');
  18.  
  19. return JSON.parse(modRes);
  20. };
  21. } catch (error) {
  22. console.error("Error in replace Response.json(): ", error);
  23. }
  24. }
  25. patchResponseJSON();