Skip to content

Commit

Permalink
update doc
Browse files Browse the repository at this point in the history
  • Loading branch information
magiclen committed May 12, 2023
1 parent d3d2b6f commit 149f7fe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "adblock-checker",
"version": "0.1.3",
"version": "0.1.4",
"description": "Check if the current web browser has any ad blockers (AdBlock, Adblock Plus, uBlock, AdGuard, ...) enabled.",
"type": "module",
"exports": "./lib/lib.js",
Expand Down
2 changes: 1 addition & 1 deletion src/lib.ts
Expand Up @@ -2,7 +2,7 @@ const NORMAL_URL = "https://cdn.jsdelivr.net/gh/magiclen/adblock-checker/dist/ad
const GOOGLE_ADS_URL = "https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js";

/**
* Check if the current web browser has any ad blockers enabled. So ads have been blocked.
* Check if the current web browser has any ad blockers enabled. If so, ads will have been blocked.
*/
export const checkAdBlock = async (): Promise<boolean> => {
try {
Expand Down

0 comments on commit 149f7fe

Please sign in to comment.