Bookmark This Page

[Total: 0    Average: 0/5]

This shows how to have your javascript bookmark a page.

Body Code:

<script type=text/javascript>
if (document.all && parseInt(navigator.appVersion) >= 4) {
  var url=document.location.toString();
  var title=document.title;
  document.write('<a href="javascript:window.external.AddFavorite(url,title);">CLICK HERE TO BOOKMARK THIS PAGE</a>');
} else {
  var msg = "Don't forget to bookmark us!";
  if(navigator.appName == "Netscape") msg += "  (CTRL-D)";
    document.write("You must press ^D (CTRL-D) to bookmark this page");
}
</script>

Times Viewed: 0

Leave a Reply

Your email address will not be published. Required fields are marked *