fire015 / adblocker-notice-removal

Chrome extension to remove the ad blocker notice on popular sites
https://chromewebstore.google.com/detail/ad-blocker-notice-removal/bnohpbaeckhhfnfijdnapgmbldkigchl
9 stars 3 forks source link

Issue with www.wordnik.com #118

Closed rdeforest closed 11 months ago

rdeforest commented 11 months ago

https://www.wordnik.com/words/gunwale

Extension version: 1.2.36 User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36

Which country are you browsing from? United States

Please take a screenshot of the adblocker notice and drag and drop the image here if possible.

image

I tried to block the message but its class is randomized and an attempt to block by the block-shadow property, which doesn't change between reloads, did not work.

I'm using uBlockOrigin v1.52.2

Thanks!

rdeforest commented 11 months ago

I kept fiddling with it and was able to block the message with the following in my uBlockOrigin filters:

www.wordnik.com##link ~ div

I know it's an ugly hack, but I leave it hear for others looking for temporary solutions. For those not familiar with CSS selectors, it hides any div preceded by a link sharing a direct parent with the div in question.

fire015 commented 11 months ago

Yeh this is pretty hacky but thanks for looking. I am having a hard time figuring out what script is even injecting this.