irregularjoe Posted February 10, 2007 Report Share Posted February 10, 2007 I think this is a new scam.Using IE 7 I was searching for drug prescribtion cost info on Google. This one particular site that kept coming up for "cheap canadian drugs" or some such nonsense would open an "add to favorites" dialog box whenever I tried to use the back button. I had to close the window to get rid of them.Has anyone heard of this? Quote Link to post Share on other sites
TheTerrorist_75 Posted February 10, 2007 Report Share Posted February 10, 2007 That's a new one to me. I would have viewed the source to see how they scripted it. Quote Link to post Share on other sites
irregularjoe Posted February 10, 2007 Author Report Share Posted February 10, 2007 That's a new one to me. I would have viewed the source to see how they scripted it.Here's the url if you want to check it:Back button to favoritesI tried it again in another session. Same results. I also noticed that it happens when you try to close the window.I'm not interested in buying anything from them. Just wondering about the favorites trying to open. Quote Link to post Share on other sites
TheTerrorist_75 Posted February 10, 2007 Report Share Posted February 10, 2007 (edited) Bingo! It doesn't try to bookmark the site using Opera.<script><!--var book;function bookmark(){ if (book != 1) { if (navigator.appName == "Microsoft Internet Explorer") { window.external.AddFavorite("http://newpeoplesite.com/e/ch/index.php?&pid=eph4883",'Canadian Health&Care Mall');} }}--></script> Edited February 10, 2007 by TheTerrorist_75 Quote Link to post Share on other sites
irregularjoe Posted February 10, 2007 Author Report Share Posted February 10, 2007 Bingo! It doesn't try to bookmark the site using Opera.<script><!--var book;function bookmark(){ if (book != 1) { if (navigator.appName == "Microsoft Internet Explorer") { window.external.AddFavorite("http://newpeoplesite.com/e/ch/index.php?&pid=eph4883",'Canadian Health&Care Mall');} }}--></script>The code is a little over my head.So why does it do it in IE (other than the usual M$ issues) and not in Opera? Quote Link to post Share on other sites
shanenin Posted February 10, 2007 Report Share Posted February 10, 2007 This may helphttp://www.htmlgoodies.com/beyond/dhtml/article.php/3470451 Quote Link to post Share on other sites
martymas Posted February 10, 2007 Report Share Posted February 10, 2007 well i go to the moon on one leg it did it to me and i use IE6i had to close the browser offit must be the site enticeing you to visit the page again marty Quote Link to post Share on other sites
jcl Posted February 10, 2007 Report Share Posted February 10, 2007 The code is a little over my head.So why does it do it in IE (other than the usual M$ issues) and not in Opera?This lineif (navigator.appName == "Microsoft Internet Explorer") {checks if the browser is IE before evaluating the code the add the favorite. It probably wouldn't work anyway; I doubt Opera has the AddFavorite API the script uses. Quote Link to post Share on other sites
irregularjoe Posted February 11, 2007 Author Report Share Posted February 11, 2007 The code is a little over my head.So why does it do it in IE (other than the usual M$ issues) and not in Opera?This lineif (navigator.appName == "Microsoft Internet Explorer") {checks if the browser is IE before evaluating the code the add the favorite. It probably wouldn't work anyway; I doubt Opera has the AddFavorite API the script uses.OK. I understand now.Thanks.Joe Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.