Last active
December 30, 2017 09:39
-
-
Save wfjsw/e277bf480f02fcde07c747491f5e1336 to your computer and use it in GitHub Desktop.
Bypass Mokee Download Advertisement
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ==UserScript== | |
| // @name Bypass Mokee Ad | |
| // @namespace http://jsw3286.eu.org/ | |
| // @version 0.2.1 | |
| // @updateURL https://gist.github.com/wfjsw/e277bf480f02fcde07c747491f5e1336/raw/bypass_mk_ad.meta.js | |
| // @downloadURL https://gist.github.com/wfjsw/e277bf480f02fcde07c747491f5e1336/raw/bypass_mk_ad.user.js | |
| // @description Bypass Mokee Advertisement | |
| // @author Jabasukuriputo Wang | |
| // @match https://download.mokeedev.com/download.php | |
| // ==/UserScript== |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ==UserScript== | |
| // @name Bypass Mokee Ad | |
| // @namespace http://jsw3286.eu.org/ | |
| // @version 0.2.1 | |
| // @updateURL https://gist.github.com/wfjsw/e277bf480f02fcde07c747491f5e1336/raw/bypass_mk_ad.meta.js | |
| // @downloadURL https://gist.github.com/wfjsw/e277bf480f02fcde07c747491f5e1336/raw/bypass_mk_ad.user.js | |
| // @description Bypass Mokee Advertisement | |
| // @author Jabasukuriputo Wang | |
| // @match https://download.mokeedev.com/download.php | |
| // ==/UserScript== | |
| function wrapper() { | |
| let forcePass = function () { | |
| window.adVerified = true; | |
| $('#alert-danger-enabled').hide(); | |
| $('#alert-success-enabled').show(); | |
| genLink(); | |
| }; | |
| $(() => { | |
| forcePass(); | |
| setInterval(function () { | |
| $('#alert-danger-enabled').hide(); | |
| $('#alert-success-enabled').show(); | |
| }, 1000); | |
| }); | |
| } | |
| var script = document.createElement('script'); | |
| script.appendChild(document.createTextNode('('+ wrapper +')();')); | |
| (document.body || document.head || document.documentElement).appendChild(script); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment