Skip to content

Instantly share code, notes, and snippets.

@wallacemaxters
Last active April 29, 2016 04:02
Show Gist options
  • Select an option

  • Save wallacemaxters/e97778ab4b5d17e91375595fa1a42ea1 to your computer and use it in GitHub Desktop.

Select an option

Save wallacemaxters/e97778ab4b5d17e91375595fa1a42ea1 to your computer and use it in GitHub Desktop.
Remove bloqueador de anúncios do Superanimes. (Utilizar com o TampeyMonkey)
// ==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