3 ms·
It still has a style that the other image doesn't: style="height: 250px; width: 250px;" After that, other than positionally blocking them, there's nothing
by just2n 13y ago
It still has a style that the other image doesn't:
style="height: 250px; width: 250px;"
After that, other than positionally blocking them, there's nothing that can be done short of visually inspecting the element.
You could modify the script to randomly place the ad either first or second, so you don't need the third <img> tag with no src.
What is the goal of this experiment?
- 300bps 13y agoWhat is the goal of this experiment? I'm guessing intern at an ad network pitches he can come up with an "unblockable ad" to his boss. Boss wants to go home for the holiday weekend so he says, "OK, whatever kid" as he's walking out the door just after lunch. Intern signs up with a one-hour old HN account and posts his masterpiece here and starts playing whack-a-mole with the dozens of methods to trivially block the "unblockable ad". After a couple hours, everyone gets bored and goes back to work. The intern frets and worries all weekend that he promised his boss an unblockable ad and won't be able to deliver on Tuesday when everyone is back in the office. Come Tuesday, he goes into the office, sweating and nervous to discover his boss wasn't in the slightest bit paying attention to whatever it was he was saying last Friday.
- ryanskidmore 13y agoThats a nice story, but unfortunately not the truth. This was simply a spur of the moment idea and I wanted to see if it worked, which to a relative degree it did, hence why I posted it. The main goal of posting it is to show how easy it would be for a website to show ads to a user, even with an extension such as Adblock enabled. In regards to the account, I haven't had a need for a HN account before now. Sorry if you didn't like it.