File tree 5 files changed +8
-9
lines changed
5 files changed +8
-9
lines changed Original file line number Diff line number Diff line change 1
- BlockAdBlock (v3.2.0 )
1
+ BlockAdBlock (v3.2.1 )
2
2
===========
3
3
4
4
([ FuckAdBlock] ( https://github.com/sitexw/FuckAdBlock ) same project but with a more convenient name)
Original file line number Diff line number Diff line change 1
1
/*
2
- * BlockAdBlock 3.2.0
2
+ * BlockAdBlock 3.2.1
3
3
* Copyright (c) 2015 Valentin Allaire <[email protected] >
4
4
* Released under the MIT license
5
5
* https://github.com/sitexw/BlockAdBlock
17
17
debug : false
18
18
} ;
19
19
this . _var = {
20
- version : '3.2.0 ' ,
20
+ version : '3.2.1 ' ,
21
21
bait : null ,
22
22
checking : false ,
23
23
loop : null ,
155
155
}
156
156
if ( window . getComputedStyle !== undefined ) {
157
157
var baitTemp = window . getComputedStyle ( this . _var . bait , null ) ;
158
- if ( baitTemp . getPropertyValue ( 'display' ) == 'none'
159
- || baitTemp . getPropertyValue ( 'visibility' ) == 'hidden' ) {
158
+ if ( baitTemp && ( baitTemp . getPropertyValue ( 'display' ) == 'none' || baitTemp . getPropertyValue ( 'visibility' ) == 'hidden' ) ) {
160
159
detected = true ;
161
160
}
162
161
}
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " blockadblock" ,
3
- "version" : " 3.2.0 " ,
3
+ "version" : " 3.2.1 " ,
4
4
"description" : " Detects ad blockers (AdBlock, ...)" ,
5
5
"authors" : [{
6
6
"name" : " Valentin Allaire" ,
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " blockadblock" ,
3
- "version" : " 3.2.0 " ,
3
+ "version" : " 3.2.1 " ,
4
4
"description" : " Detects ad blockers (AdBlock, ...)" ,
5
5
"author" : {
6
6
"name" : " Valentin Allaire" ,
Original file line number Diff line number Diff line change 1
1
<!doctype html>
2
2
< html >
3
3
< head >
4
- < title > BlockAdBlock 3.2.0 </ title >
4
+ < title > BlockAdBlock 3.2.1 </ title >
5
5
6
6
< meta charset ="utf-8 ">
7
7
< meta http-equiv ="X-UA-Compatible " content ="IE=edge ">
40
40
< div class ="container ">
41
41
< header class ="row ">
42
42
< div class ="col-sm-6 ">
43
- < h1 > BlockAdBlock < small > 3.2.0 </ small > </ h1 >
43
+ < h1 > BlockAdBlock < small > 3.2.1 </ small > </ h1 >
44
44
</ div >
45
45
< div class ="col-sm-6 text-right ">
46
46
< h4 >
You can’t perform that action at this time.
0 commit comments