Last active
April 29, 2016 04:02
-
-
Save wallacemaxters/e97778ab4b5d17e91375595fa1a42ea1 to your computer and use it in GitHub Desktop.
Remove bloqueador de anúncios do Superanimes. (Utilizar com o TampeyMonkey)
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 Superanimes | |
| // @namespace com.wallacemaxters | |
| // @version 0.1 | |
| // @description Removendo algumas coisas do Superanimes | |
| // @author Wallace de Souza | |
| // @match http://www.superanimes.com/* | |
| // @grant none | |
| // @run-at document-start | |
| // @require http://code.jquery.com/jquery-latest.js | |
| // ==/UserScript== | |
| (function() { | |
| (function fn() { | |
| var $ad = $('#playVideo').siblings(':eq(0)'); | |
| $(document).off('contextmenu'); | |
| $('body').removeAttr('oncontextmenu'); | |
| if ($ad.length) return $ad.remove(); | |
| setTimeout(fn, 2000); | |
| })(); | |
| })(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment