Posted By

isaac on 04/10/07


Tagged

ie to a internet explorer add bookmarks win bookmark aadir favoritos


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

Hirmine
jonhenshaw


Add to Bookmarks [IE/Win]


 / Published in: JavaScript
 

I post,hopefully soon, one cross browser "add to bookmarks". This works ONLY for IE.

  1. //Call from JavaScript:
  2. window.external.AddFavorite(location.href, document.title);
  3.  
  4. //Call from anchor:
  5. <a href="JavaScript:window.external.AddFavorite(location.href, document.title);">Bookmark this site!</a>

Report this snippet  

You need to login to post a comment.