Skip to content

Commit

Permalink
Block adinplay pre-game ads
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcellPerger1 authored Sep 15, 2023
1 parent 849ff04 commit 828c657
Showing 1 changed file with 1 addition and 2 deletions.
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 828c657

Please sign in to comment.