Giving any element the ID "advertise" causes it to disappear

I just found a very strange edge case bug where if you assign the ID “advertise” to any element on your website, it will hide it on the published webpage.

Best,
Christopher

@ctrav that’s most likely due to an Ad Blocker extension, which looks for classes/IDs with the words “ad, ad unit, advertise” and any derivatives and then blocks them from showing up. Or perhaps the new built in Google Ad Blocker is doing this as well in Chrome :thinking:

1 Like

I have uBlock Origin installed and, sure enough, that’s why. I turned it off and the elements appeared again.

So just a warning to anyone naming divs as described above… they won’t appear for adblock users!

1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.