Skip to content

Commit

Permalink
Merge pull request #29 from MarcellPerger1/block-more-ads
Browse files Browse the repository at this point in the history
Block adinplay pre-game ads
  • Loading branch information
MarcellPerger1 authored Sep 15, 2023
2 parents 849ff04 + 1e7e0a6 commit df3fe0c
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion dist/debug/adblocker.debug.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/debug/bookmarklet.debug.txt

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/release/adblocker.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/release/bookmarklet.min.txt

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions src/adblocker.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,8 @@
}
}
})({
// TODO!! delete #aipPrerollContainer or detect ~aip
cls: ['adsbygoogle', 'mod_ad_container', 'brn-ads-box','gpt-ad','ad-box','top-ads-container', 'adthrive-ad'],
selector: ['[aria-label="advertisement"]', '[class*="-ad "], [class*="-ad-"], [class$="-ad"], [class^="ad-"], [class^="adthrive"]', ':is(div,iframe)[id^="google_ads_iframe_"]'],
selector: ['[aria-label="advertisement"]', '[class*="-ad "], [class*="-ad-"], [class$="-ad"], [class^="ad-"], [class^="adthrive"]', ':is(div,iframe)[id^="google_ads_iframe_"]', '#aipPrerollContainer'],
/** @type {{selector: string?, func: (elem: Element) => any}[]} */
func: [
{
Expand Down

0 comments on commit df3fe0c

Please sign in to comment.