NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript== // @name Moonwalk&HDGo&Kodik FIX // @name:en Moonwalk&HDGo&Kodik FIX // @namespace FIX // @version 0.7 // @description Смотри фильмы и сериалы без ожидания! // @description:en Watch movies and serials without waiting! // @match *://*/* // @run-at document-end // @grant unsafeWindow // @author raletag // @updateURL https://greasyfork.org/scripts/21937-moonwalk-hdgo-kodik-fix/code/MoonwalkHDGoKodik%20FIX.user.js // ==/UserScript== (function() { 'use strict'; var win = (unsafeWindow || window), tmp; function log (e) { console.log('Moonwalk&HDGo&Kodik FIX: ' + e + ' player in ' + win.location.href); } if (win.adv_enabled !== undefined && win.condition_detected !== undefined) { // moonwalk log('Moonwalk'); win.adv_enabled = false; win.condition_detected = false; } else if (win.banner_second !== undefined && win.$banner_ads !== undefined) { // hdgo log('HDGo'); tmp = document.querySelector('#swtf'); if (tmp) tmp.style.display = 'none'; win.banner_second = 0; win.$banner_ads = false; if (win.$new_ads !== undefined) win.$new_ads = false; if (win.canRunAds !== undefined && win.canRunAds !== true) win.canRunAds = true; } else if (win.MXoverrollCallback !== undefined && win.iframeSearch !== undefined) { // kodik log('Kodik'); tmp = document.querySelector('.play_button'); if (tmp) tmp.onclick = win.MXoverrollCallback.bind(win); win.IsAdBlock = false; } })();