🏠 Home 

openload

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


Install this script?
  1. // ==UserScript==
  2. // @author @leoncastro
  3. // @namespace https://github.com/leoncastro
  4. // @name openload
  5. // @version 0.14.8
  6. // @description Remove anti-adblock, ads, popups and timer waits, and show direct download link
  7. // @icon data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAA/FBMVEUAAAAeP2MAmNkAoN8hNlgSSWwXLUgEITELKT8OMEkAn94Ant4AmtsAldQBW4MFh8YAktQBicxjT5sAnt4AX4lEcbUTeLBgVqBcXKMAnNxMS4pKbbEuQGwAmtoAY44xebwAk9QGjM1jT5tcTZUPM01jT5s7OGZfWKEAaJUAod8Ak9VYYqhSZKgVg8Ujf8AKSm4Agr5mPZRmPZRmPZRlR5gAod8AldNXXKEAltQAjMcAmNVWZKpeWaJUZqtKbbE+dbg+dLdEcLM7d7omgMExersAk9RgVqA7aKUAod8Ak9UAn99lR5gAm9wJhshRaa0ue74mgMEAjdBmPZQ7d7qePASIAAAASHRSTlMAOP75GiksAgcPxb3QS0Nh0+T+0hj+Yv796m3PSLNc0eF0vYgg7l/DOPDs/ejo11dV+LpM8et8qaduicHV0L7Jrer75omU6GL8xLQIAAABaklEQVR42u1S2XaCMBQMaxJAAcUFRcG673Zzb9VWW4Pi0v7/vzSCcDz9hfY+3pnMmZkb8IcG8YIoVNDtQhRFPlyg+LQgy3JhE4fBAjLr5evrbFS2fAqeJDl3v9+zrDbwGShtv6VSh0M7O89hipearsuZTotliaMiAFH6/fidWnU67WymShmx5pZLpjHAaY2QggiQ2j0dbQrg3DyTeHoE8nYrNXzpuOZseKjq3sm2Aiv1xO4BcNvnIrp66wtwoHtez4KB+1p1dw+oABPFgwON4v0wn3i3+6KEQiXCY9rZ0yMcVAKCJIaFUPysFxGGNwqBh/A9Oeuqoa6ZWw80hRykoDjRSzDePdnMTQragysVDWSoCiGtEr4QjotPHvG1ut8DnnKuayYVxWRJa4ghrZY2ucrnXzrZTKKMAcRD0w1u4UwQBJeue9dbfJR56F9zLCmKIo0bYTxmuaAKs5GFwvyGIAgG/PVB6Ov/ieYHpLEydStkqm4AAAAASUVORK5CYII=
  8. // @include http://openload.co
  9. // @include /^(https?:)?\/\/(openload\.(co|pw)|oload\.(\w+)|oladblock\.(me|services|xyz))\/*.*/
  10. // @compatible firefox+greasemonkey(3.17)
  11. // @compatible firefox+tampermonkey
  12. // @compatible chrome+tampermonkey
  13. // @grant none
  14. // @run-at document-start
  15. // ==/UserScript==
  16. (function(){
  17. //
  18. // @run-at document-start
  19. //
  20. window.adblock=false;
  21. window.adblock2=false;
  22. window.turnoff=true;
  23. window.open=function(){};
  24. //
  25. // @run-at document-end
  26. //
  27. function onready(fn){if(document.readyState!='loading')fn();else document.addEventListener('DOMContentLoaded',fn);}
  28. onready(function(){
  29. if( document.location.href.match(/\/embed\//) || $('#realdl>a') )
  30. {
  31. $('#btnView').hide();
  32. $('#btnDl').hide();
  33. $('.dlButtonContainer').show();
  34. $('h3.dlfile.h-method').hide();
  35. $('.col-md-4.col-centered-sm *').remove();
  36. $('#mgiframe,#main>div[id]').remove();
  37. $('#downloadTimer').hide();
  38. $('#mediaspace_wrapper').prepend( $('<div/>').attr('id', 'realdl')
  39. .attr('style', 'position: absolute; top: 0 ; left: 0 ; right: 0; text-align: center; z-index: 9999; background-color: #000; padding: .5em 0;')
  40. .on('mouseenter', function(){ $(this).fadeTo(500, 1); }).on('mouseleave', function(){ $(this).fadeTo(500, 0); })
  41. .append( $('<a/>').attr('href', '').attr('style', 'color: #fff; text-decoration: none; -moz-user-select: none;').text('DOWNLOAD') )
  42. .append( $('<span/>').attr('style', 'color: #fff; padding-left: 1em;').attr('id', 'steamcopy') ) );
  43. $('#realdl').show();
  44. var streamurl_tmr = setInterval(function(){
  45. // <@snippet edited author="https://greasyfork.org/forum/profile/daedelus" src="https://greasyfork.org/forum/discussion/36362/x">
  46. var streamurl_src;
  47. var streamurl_end = false;
  48. $('p[id]').each(function(){
  49. if( !streamurl_end )
  50. {
  51. streamurl_src = streamurl_src || ($(this).text().match(/^[\w\.~-]+$/) /*TEMP_FIX: && $(this).text().match(/~/) */) ? $(this).text() : streamurl_src;
  52. if( streamurl_src )
  53. streamurl_end = true;
  54. }
  55. });
  56. // </@snippet>
  57. if( streamurl_src )
  58. {
  59. var streamurl_url = location.origin + '/stream/' + /*TEMP_FIX: streamurl_src + */$('#DtsBlkVFQx').text();
  60. $('#realdl a').attr('href', streamurl_url);
  61. $('#steamcopy').text( streamurl_url );
  62. $('#videooverlay').click();
  63. $('div[style]').each(function(){ if(this.style.zIndex&&this.id!='realdl') this.remove(); });
  64. clearInterval(streamurl_tmr);
  65. }
  66. },100);
  67. }
  68. window.onclick=function(){};
  69. document.onclick=function(){};
  70. document.body.onclick=function(){};
  71. });
  72. })();