How to run Javascript in firefox

Sponsored Link
This tutorial will explain How to run Javascript in firefox URL bar

Steps to follow

1) Open a new tab in Firefox and in the URL bar, and enter about:blank to display a blank tab so that you can see what you are doing.

2) From the Firefox menu select Tools -> Web Developer -> Web Console or use key combination of Ctrl+Shift+k

3)A new Web Console window will open. From the Web Console window click the JS button on the toolbar.


4)From the Web Console window click on the Scratchpad icon in the toolbar. The Scratchpad icon looks like a notepad.


5)A new Scratchpad window will open. Copy your javascript code: javascript:alert(‘Hello, World') in the Scratchpad window.Click the Run button on the Scratchpad toolbar to run your javascript code.

Sponsored Link

You may also like...

1 Response

  1. Navneeth says:

    The snippet doesn’t seem to work with single quotes around the string.

    Firefox 25.0.1/Windows 7

Leave a Reply

Your email address will not be published. Required fields are marked *