Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
murdercode authored Jul 23, 2024
1 parent 2160142 commit c301acb
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,14 @@ npm i js-anti-adblock
# Usage

Import this into your app.js, this check if the user have an ad-blocker and will create a pop-up with a message and a logo

```js
import 'js-anti-adblock/dist/antiAdBlocker.min.ob.js';
import 'potatoshield-js/dist/antiAdBlocker.min.ob.js';
```

or use the CDN ```https://cdn.jsdelivr.net/gh/The-3Labs-Team/js-anti-adblock@main/dist/antiAdBlocker.min.ob.js ```
or use the CDN
```https://cdn.jsdelivr.net/gh/The-3Labs-Team/potatoshield-js@main/dist/antiAdBlocker.min.ob.js ```

```js
<script src="https://cdn.jsdelivr.net/gh/The-3Labs-Team/js-anti-adblock@main/dist/antiAdBlocker.min.ob.js"></script>
<script src="https://cdn.jsdelivr.net/gh/The-3Labs-Team/potatoshield-js@main/dist/antiAdBlocker.min.ob.js"></script>
```

0 comments on commit c301acb

Please sign in to comment.