Streaming live at 10am (PST)

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


#1

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


#2

@ctraver2 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:


#3

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!


#4

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