File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " adblock-detect-react" ,
3
- "version" : " 1.0.1 " ,
3
+ "version" : " 1.0.2 " ,
4
4
"description" : " Provides utilities to check if ad block is enabled on a page via both a React hook and a wrapper component." ,
5
5
"main" : " cjs/index.js" ,
6
6
"module" : " esm/index.js" ,
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ export const useDetectAdBlock = () => {
7
7
const adToDetect = document . createElement ( "div" ) ;
8
8
adToDetect . setAttribute (
9
9
"class" ,
10
- "pub_300x250 pub_300x250m pub_728x90 text-ad textAd text_ad text_ads text-ads text-ad-links"
10
+ "googlead pub_300x250 pub_300x250m pub_728x90 text-ad textAd text_ad text_ads text-ads text-ad-links"
11
11
) ;
12
12
adToDetect . setAttribute (
13
13
"style" ,
You can’t perform that action at this time.
0 commit comments