From 41d8a57a7b3dadf83b2749bc65d3666410714e6f Mon Sep 17 00:00:00 2001 From: Benjamin Schuch Date: Thu, 8 Oct 2020 13:06:42 +0200 Subject: [PATCH 1/2] Update useDetectAdBlock.ts --- src/hooks/useDetectAdBlock.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hooks/useDetectAdBlock.ts b/src/hooks/useDetectAdBlock.ts index 3a8aa9e..a186f9e 100644 --- a/src/hooks/useDetectAdBlock.ts +++ b/src/hooks/useDetectAdBlock.ts @@ -7,7 +7,7 @@ export const useDetectAdBlock = () => { const adToDetect = document.createElement("div"); adToDetect.setAttribute( "class", - "pub_300x250 pub_300x250m pub_728x90 text-ad textAd text_ad text_ads text-ads text-ad-links" + "googlead pub_300x250 pub_300x250m pub_728x90 text-ad textAd text_ad text_ads text-ads text-ad-links" ); adToDetect.setAttribute( "style", From 58420df333f6a7ab00d9f6c2ca1bb6f802101d03 Mon Sep 17 00:00:00 2001 From: Benjamin Schuch Date: Thu, 8 Oct 2020 17:05:58 +0200 Subject: [PATCH 2/2] Release 1.0.2 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 3a17621..5945756 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "adblock-detect-react", - "version": "1.0.1", + "version": "1.0.2", "description": "Provides utilities to check if ad block is enabled on a page via both a React hook and a wrapper component.", "main": "cjs/index.js", "module": "esm/index.js",