Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion src/hooks/useDetectAdBlock.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down