Dynamic Favorites Function
To dynamically add a web page to a user's favorites folder.
AI
AI Samenvatting: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.
Broncode
<HTML>
<HEAD>
<TITLE>ADD To Favs</TITLE>
<SCRIPT language="JavaScript1.2">
var bookmarkurl = window.location.href;
var bookmarktitle = document.title;
function addfav(){
if (document.all) window.external.AddFavorite(bookmarkurl,bookmarktitle);
}
</SCRIPT>
</HEAD>
<BODY>
<A href="javascript:addfav()">Add page To favorites</A>
</BODY>
</HTML>
Originele reacties (3)
Hersteld van de Wayback Machine