I tried some “add to favorties” JavaScript scripts.. With IE8, I get an “access denied” (is that even possible to add a bookmark via JS with IE8?) and it just doesn’t work with IE6…
Anybody has a good script that works on most browsers?
Thanks!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Both IE6 and IE8 will need the users to press CTRL+D to add the website to the favourites.
Edit: Sorry, I run into a brain malfunction and mixed some words out.
Actually, IE8 allows javascript to manage the favourites.
To be more precise, and if you use jquery on your website, here’s an example :
Note: the “a.bookmark” is required to work with opera, since it recognizes .bookmark class in anchor tags and executes the bookmark funcion on click.
It supports IE7 & 8, Firefox 2 & 3, and Opera 9 (at least) .. Safari isn’t supported, and IE6 I couldn’t test it here, sorry.