homepage Welcome to WebmasterWorld Guest from 54.226.7.15
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Visit PubCon.com
Home / Forums Index / Microsoft / Bing Search Engine News
Forum Library, Charter, Moderators: mack

Bing Search Engine News Forum

    
Breaking my site out of Bing's image search frame.
JS_Harris




msg:3991300
 2:11 am on Sep 18, 2009 (gmt 0)

Is there an efficient way of stopping Bing from opening my site inside a frame on their site when someone clicks on one of my images in Bings image search?

 

youfoundjake




msg:3991332
 3:28 am on Sep 18, 2009 (gmt 0)

javascript frame buster works, I have one on mine, and it pops right out.. stickymail sent with how i did it..

youfoundjake




msg:3991334
 3:31 am on Sep 18, 2009 (gmt 0)

<script type=”text/javascript”>
if (top !== self) top.location.href = self.location.href;
</script>

The above code in should be added before the /head tag..

dstiles




msg:3993090
 8:57 pm on Sep 21, 2009 (gmt 0)

Apart from the several million users of Firefox's NoScript. And several million others with JS disabled. :)

lavazza




msg:3993188
 12:10 am on Sep 22, 2009 (gmt 0)

Apart from the several million users of Firefox's NoScript. And several million others with JS disabled. :)
True!

Furthermore, its worth remembering that 'browsers' are also known as a 'user agents' - not 'author agents'; they belong to the users

Consider that - on occasion - some people might want to read the content of site-A from within a frame on site-B

If you must incorporate a script:

  • include <noscript> tags around a human-friendly message prompting visitors to enable scripts
  • give visitors - perhaps using a javascript confirm() (OK/Cancel) - the option to either break out of the frame or stay where they are
  • youfoundjake




    msg:3993234
     3:17 am on Sep 22, 2009 (gmt 0)


    Apart from the several million users of Firefox's NoScript. And several million others with JS disabled. :)
    True!

    I tried the image search with javascript turned off, and the page would not load.
    So, those that have javascript turned off, will not be able to visit your site through a frame after clicking on an image unless they specifically allow it..
    bummer, i still like the framebuster though..

    Global Options:
     top home search open messages active posts  
     

    Home / Forums Index / Microsoft / Bing Search Engine News
    rss feed

    All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
    Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
    WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
    © Webmaster World 1996-2014 all rights reserved