Welcome to WebmasterWorld Guest from 126.96.36.199 , register , free tools , login , search , pro membership , help , library , announcements , recent posts , open posts Become a Pro Member
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)
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: