MozillaZine

Script does not add bookmark

User Help for Mozilla Firefox
ibewlu

User avatar
 
Posts: 171
Joined: February 5th, 2012, 5:24 am

Post Posted March 19th, 2017, 1:19 pm

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.

Return to Firefox Support


Who is online

Users browsing this forum: Google [Bot], patclash and 12 guests