<script language="JavaScript1.2" type="text/javascript">
function CreateBookmarkLink() {
title = "xxx.com";
url = "http://www.xxx.com";

isIE = navigator.userAgent.toUpperCase().indexOf('MSIE') >= 0;
isFF = navigator.userAgent.toUpperCase().indexOf('FIREFOX ') >= 0;

if (isFF) {
window.sidebar.addPanel(title, url,"");
} else if (isIE) {
window.external.AddFavorite( url, title);
} else {
return true;
}
}
</script>

Come faccio ad inserire questo codice in un file .js?

Michele