UploadHEaven

Bypasses Uploadhaven free restrictions (only time restriction for now)

目前为 2022-03-24 提交的版本,查看 最新版本

  1. // ==UserScript==
  2. // @name:pl UploadHEaven
  3. // @description:pl Omiń restrykcję Uploadhaven za darmo! (na teraz tylko omija restrykcję czasową)
  4. // @name UploadHEaven
  5. // @namespace http://tampermonkey.net/
  6. // @version 0.2
  7. // @description Bypasses Uploadhaven free restrictions (only time restriction for now)
  8. // @author Teala24k#1413
  9. // @include https://uploadhaven.com/download/*
  10. // @icon https://www.google.com/s2/favicons?sz=64&domain=uploadhaven.com
  11. // @grant none
  12. // ==/UserScript==
  13.  
  14. (function() {
  15. 'use strict';
  16.  
  17. // Your code here...
  18. window.addEventListener('load', function() {
  19. function inject(func) {
  20. var source = func.toString();
  21. var script = document.createElement('script');
  22. document.title = "UploadHEaven";
  23. // Put parenthesis after source so that it will be invoked.
  24. script.innerHTML = "("+ source +")()";
  25. document.body.appendChild(script);
  26. }
  27. function bypass_time() {
  28. seconds = 0;
  29. console.log("Bypassed time limit! :)");
  30. }
  31. function notify() {
  32. alert("Thanks for using UploadHEaven! Enjoy your download :\)");
  33. }
  34. var text = document.createElement("p");
  35. text.innerHTML = "UploadHEaven by Teala24k#1413 active!";
  36. document.body.appendChild(text);
  37. inject(bypass_time);
  38. inject(notify);
  39. }, false);
  40. })();