Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

I need to create a bookmark script

I need to create a bookmark script for our website, but all that I can seem to find is a script that bookmarks to a sidebar, instead of the entire page.

I need to create a bookmark script for our website, but all that I can seem to find is a script that bookmarks to a sidebar, instead of the entire page.

All Replies (5)

You can't write a script to bookmark a website in Firefox. You can instruct users to press Ctrl+D to bookmark your website.

There is no such thing in this world as "Can't".

Users will always have to confirm that action.

See https://developer.mozilla.org/en/DOM/window.sidebar

javascript: window.sidebar.addPanel("Mozilla Support", "https://support.mozilla.com/", "");

Cor-el,

This is what creates the side panel, instead of opening the page in the full page. It seems pretty strange that Firefox would create a browser that would limit the ability of people to easily go back to a page that interests them.

Almost like they created this 'sidebar' ability just to tick off developers (and users alike). So not like Firefox to do this.

alanrosena...

That's a Bug from the days of Netscape. There was a Mozilla Bug filed about that issue like 8 years ago, and the developers WONTFIX'd it due to concerns that it could be exploited if fixed.

I have found three different JavaScripts for web pages for the "Bookmark this Page" action; two don't work in Netscape/Mozilla and the third has that unpleasant "sidebar" affect.