Jump to content

No Javascript?


TheFilmGod

Recommended Posts

I have google adsense ads that run on my ads. If a user doesn't have javascript I can easily do the <no script> tag. But what if they have a ad blocker on their browser. How can I tell the browser to replace the ads with something else? It looks messed up to see a black background when the ads are missing. Any help is greatly appreciated.

Link to comment
Share on other sites

as above. load image from that url, check if img.src is null or whatever. if it is, change the add.

 

add blockers work based on urls.

 

also, we usually have adblockers for a reason - to block ads. why try and annoy those users who have decided they don't want them being shown? sure way to annoy visitors. plus they can easily add the url of any adds you display which aren't already blocked.

 

short of setting up TinyUrls (tinyurl.com), you can't really mask the ads url. I'm not even sure if tinyurl would work or not, but it might since it masks the domain

 

another idea would be to link all ad frames to a single php page, which echos the html from a random ad url. this would mean any ad blockers wouldn't detect the url, as it is done server side

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.