Show alternate for ad blockers
I was recently testing the Amazon MP3 Widget on my site. It was not appearing and I realized it was being blocked by my ad blocker plug-in that prevents cross site flash objects. I want to know if there is a way to tell people that they are missing this content. It seems like the ad blocker simply removes any embed code. What can I do to tell people they might be missing something they actually want to see. I'm hoping there's som开发者_JAVA百科ething similar to the no script tag, but I'm assuming its more than that.
Proxy the iframe source URL through your server with a redirect.
Edit: You can use alternative content (check out this article) to provide either:
- a link which issues an ajax request to get the embed/object code; this might bypass the blocker since it the page was already open;
- a piece of text or an image alerting the user to turn off the ad blocker, since he's missing content.
精彩评论