Created
August 31, 2014 04:21
-
-
Save sauyon/e647f35013ba27a2bd57 to your computer and use it in GitHub Desktop.
KissAnime adblock
This file contains 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 Kissanime Adblocker | |
// @namespace http://sauyon.com/ | |
// @version 0.1 | |
// @description enter something useful | |
// @match http://kissanime.com/* | |
// @copyright 2013, Sauyon | |
// ==/UserScript== | |
if(window.top != window.self) { | |
GM_log("frame: " + location.href); | |
return; | |
} | |
DoDetect2 = function() {}; | |
$('*[id^="adsIfrme"][id!="adsIfrme"]').remove(); | |
$('iframe').remove(); | |
$('embed[id!="centerDivVideo"]').remove(); | |
$('.divCloseBut').remove(); | |
$('#adsIfrme .clear2').remove(); | |
$('#divFloatLeft, #divFloatRight').remove(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment