openload.co

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

目前为 2016-07-30 提交的版本。查看 最新版本

  1. // ==UserScript==
  2. // @author @leoncastro
  3. // @namespace https://github.com/leoncastro
  4. // @name openload.co
  5. // @version 0.05
  6. // @description Remove anti-adblock, ads 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.open=function(){};
  20. //
  21. // @run-at document-end
  22. (function($){$(function(){
  23. if( $('#realdl>a') )
  24. {
  25. $('#btnView').hide();
  26. $('#btnDl').hide();
  27. $('.dlButtonContainer').show();
  28. $('h3.dlfile.h-method').hide();
  29. $('.col-md-4.col-centered-sm *').remove();
  30. $('#downloadTimer').hide();
  31. $('#realdl').show();
  32. var tmrstreamurl = setInterval(function(){
  33. if( $("#streamurl").text() != "HERE IS THE LINK" )
  34. {
  35. $('#realdl a').attr("href", "/stream/" + $("#streamurl").text());
  36. $("#videooverlay").click();
  37. clearInterval(tmrstreamurl);
  38. }
  39. },100);
  40. }
  41. window.onclick=function(){};
  42. document.onclick=function(){};
  43. document.body.onclick=function(){};
  44. })})(window.jQuery.noConflict(true));