It is Firefox itself. As I said, there's no other way I'm aware of to use javascript to get Firefox to even make a bookmark. So it's either that or no bookmark. What this is known as is a sidebar bookmark. At the time of its creation or at any time by editing its properties later, all the user has to do to make it a regular bookmark is to untick the checkbox labeled:
Load this bookmark in the sidebar
I know this isn't the answer you are looking for, and there may be some clever way around it. If there is, I've never heard of it, and I suspect there really isn't.
The best I can think of would be to detect Firefox and alert the user so that they may untick that box at the time the bookmark is created:
Code:
<script type="text/javascript">
/***********************************************
* Bookmark site script- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/
/* Modified to support Opera */
function bookmarksite(title,url){
if (window.sidebar){ // firefox
alert('This will create a "sidebar" bookmark. Untick the:\n\n"Load this bookmark in the sidebar"\n\ncheckbox to make it a normal bookmark.');
window.sidebar.addPanel(title, url, "");
}
else if(window.opera && window.print){ // opera
var elem = document.createElement('a');
elem.setAttribute('href',url);
elem.setAttribute('title',title);
elem.setAttribute('rel','sidebar');
elem.click();
}
else if(document.all)// ie
window.external.AddFavorite(url, title);
}
</script>
Bookmarks