开发者

Show alternate for ad blockers

开发者 https://www.devze.com 2023-02-05 22:54 出处:网络
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

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:

  1. 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;
  2. a piece of text or an image alerting the user to turn off the ad blocker, since he's missing content.
0

精彩评论

暂无评论...
验证码 换一张
取 消