easylist / antiadblockfilters

25 stars 6 forks source link

investing.com #11

Open JuanMiguelPR opened 1 year ago

JuanMiguelPR commented 1 year ago

Hi, I'm using the ad blocker intergrated to Opera GX and it's detected by investing.com.

The javascript that detects the ad blocker creates the pop-up of class name class="ad-blocker-popup" and id adNotificationPopup. It also enables a secondary overlay which grays out all the page behind it, the class is class="secondaryOverlay js-general-overlay".

I tried multiple solutions by adding a custom list:

Could you help me by adding these to the filter list? Also I would like to learn more, what would be the ideal way to do it? How could the specific javascript be blocked instead of using the <div id?

Thanks in advance!

JuanMiguelPR commented 11 months ago

Hi. The webpage was updated, so adding investing.com##div[id^="adNotificationPopup"] does not work anymore. The guys from uBlockOrigin solved the current adblock popup by adding the next filters:

investing.com##+js(set, adNotificationDetected, false)
investing.com##[class*="notification_notification"]
investing.com##div[class] > .ad-blockers-section:upward(1)

They told me they won't work with this list due to differences in the syntax. Could you help me to add these filters with the correct syntax for EasyList? Or understanding it to be able to contribute more.

Thanks

JuanMiguelPR commented 11 months ago

Closed the issue by mistake.