openload.co

Remove anti-adblock, ads, popups and timer waits, and show direct download link

目前為 2016-09-29 提交的版本,檢視 最新版本

  1. // ==UserScript==
  2. // @author @leoncastro
  3. // @namespace https://github.com/leoncastro
  4. // @name openload.co
  5. // @version 0.05.1
  6. // @description Remove anti-adblock, ads, popups and timer waits, and show direct download link
  7. // @icon https://openload.co/favicon.ico
  8. // @require https://ajax.googleapis.com/ajax/libs/jquery/2.2.0/jquery.min.js
  9. // @include /^(?:https?:)?\/\/openload\.co\/*.*/
  10. // @compatible firefox+greasemonkey
  11. // @compatible chrome+tampermonkey
  12. // @grant none
  13. // @run-at document-start
  14. // ==/UserScript==
  15. //
  16. // @run-at document-start
  17. window.adblock=false;
  18. window.adblock2=false;
  19. window.turnoff=true;
  20. window.open=function(){};
  21. //
  22. // @run-at document-end
  23. (function($){$(function(){
  24. if( $('#realdl>a') )
  25. {
  26. $('#btnView').hide();
  27. $('#btnDl').hide();
  28. $('.dlButtonContainer').show();
  29. $('h3.dlfile.h-method').hide();
  30. $('.col-md-4.col-centered-sm *').remove();
  31. $('#downloadTimer').hide();
  32. $('#realdl').show();
  33. var tmrstreamurl = setInterval(function(){
  34. if( $("#streamurl").text() != "HERE IS THE LINK" )
  35. {
  36. $('#realdl a').attr("href", "/stream/" + $("#streamurl").text());
  37. $("#videooverlay").click();
  38. clearInterval(tmrstreamurl);
  39. }
  40. },100);
  41. }
  42. window.onclick=function(){};
  43. document.onclick=function(){};
  44. document.body.onclick=function(){};
  45. })})(window.jQuery.noConflict(true));