Script does not add bookmark

User Help for Mozilla Firefox
Post Reply
User avatar
ibewlu
Posts: 230
Joined: February 5th, 2012, 5:24 am

Script does not add bookmark

Post by ibewlu »

This code returns the title and url but does not add the bookmark:

Code: Select all

var title = document.title;
var url = content.location.href;
window.sidebar.addPanel(title,url,'');
It would be better for him if a millstone were hung around his neck, and he were thrown into the sea, than that he should offend one of these little ones.
Post Reply