Hi,
I need some help adding a redirected page to the favorites. Thanks to
the help from this user group, I was able to finish a redirect script.
I was wondering if anybody knew of a method that will allow one to do
a check in the user's browser's (IE) favorites to see if a bookmark is
already present. This is what I am trying to accomplish:
if (window.externa l.checkFavorite (location.href, document.title) )
do nothing
else {
alert("Please update your bookmark.");
window.external .addFavorite(lo cation.href, document.title) )
alert("Thank you for update your bookmark. We hope you will enjoy the
new site!");
}
And this gets called in the redirect script.
The idea is that if a user is trying to access an old page from a
bookmark, not only am I redirecting them but also giving them the
opportunity or prompting them to update thier bookmarks. But this
process should happen only once. That is, when the user revisits that
bookmark, the bookmark is of course the updated new url so he wouldn't
be seeing that again.
Also, where can I get access to the Javascript API...something like
javadocs for the methods, etc.
Thanks,
Slash
I need some help adding a redirected page to the favorites. Thanks to
the help from this user group, I was able to finish a redirect script.
I was wondering if anybody knew of a method that will allow one to do
a check in the user's browser's (IE) favorites to see if a bookmark is
already present. This is what I am trying to accomplish:
if (window.externa l.checkFavorite (location.href, document.title) )
do nothing
else {
alert("Please update your bookmark.");
window.external .addFavorite(lo cation.href, document.title) )
alert("Thank you for update your bookmark. We hope you will enjoy the
new site!");
}
And this gets called in the redirect script.
The idea is that if a user is trying to access an old page from a
bookmark, not only am I redirecting them but also giving them the
opportunity or prompting them to update thier bookmarks. But this
process should happen only once. That is, when the user revisits that
bookmark, the bookmark is of course the updated new url so he wouldn't
be seeing that again.
Also, where can I get access to the Javascript API...something like
javadocs for the methods, etc.
Thanks,
Slash
Comment