How to Create Javascript Bookmarklet in Mozilla Firefox

Javascript Bookmarklet Creation Tutorial In Firefox Browser


In the previous post we saw what are bookmarklets and how to create Javascript Bookmarklets in Google Chrome. If you missed that then read above article on how to create Bookmarklet ?

In this article we are going to see how to create javascript bookmarklet in Mozilla Firefox browser.

We will use following javascript code for this.

alert(“Hi, How are you ?”);

Lets start.

How to Create Javascript Bookmarklet in Mozilla Firefox ?

  1. To create a bookmarklet in firefox, make sure your favorites bar is visible on screen.
  2. Right click on favorites bar and click on “New Bookmark…” option.
  3. It will show a popup like this one
Firefox Create Javascript Bookmarklet
  1. We will follow same procedure what we followed for creating a bookmarklet in google chrome.
  2. In the Name tab, enter the name of your bookmark.
  3. Now in Location part we will put our Javascript code prepended by “javascript:” and we will create a simple function which we will call.
  4. So now our final Location will be
javascript:function test() {alert('Hi, How are you ?');} test();
Tutorial to Create Javascript Bookmarklet in Firefox
  1. Click Save and we are done creating our Javascript Bookmarklet for Firefox browser.

Yes. Its very simple to create bookmarklet in Mozilla Firefox Browser. It can used to simplify lot of stuff like avoid entering form details, remove images from page after loading etc.

Please share this with your friends if you think its useful.

ProWebGuru: Mostly I write about technology related stuff on https://www.prowebguru.comRecently I have started making videos also. Mostly blog posts & videos are related to technology, programming and learning some new tips and tricks related to windows, wordpress, google app script, technical, programming, javascript, jquery and other coding related stuff.Youtube channel - https://www.youtube.com/user/prowebguru

This website uses cookies.