Add Ping to Address Bar in Firefox and Opera - gHacks Tech News

Add Ping to Address Bar in Firefox and Opera

Found this useful tip on how to add a ping shortcut to your Firefox address bar over at Lifehacker. I love its simplicity.

Pinging servers is a great way of finding out if they are currently up and running. The time it takes to receive a response is measured in milliseconds and a timeout is returned if it takes too long.

While you can use extensions or add-ons for that, or use the command line of the operating system you are using, it may be faster if you are already using the browser.

This Firefox tip does not require a plugin, add-on or Greasemonkey script. All you need to do is create a new bookmark that links to the url: http://network-tools.com/default.asp?prog=ping&host=%s. Now all that is left to do is to add the keyword ping to the service when you add it as a bookmark.

To do so, press the Alt-key on your keyboard and select Bookmarks > Show all bookmarks from the menu that opens up. Right-click on Bookmarks Menu or Unsorted Bookmarks and select New Bookmark from the context menu that opens up.

firefox ping bookmark

The keyword command is a way to access an url without typing it. The good thing about is that you can pass parameters. If you want to ping a server you enter ping url in the address bar of Firefox, e.g. ping ghacks.net to ping this site.

Firefox will recognize the ping keyword and load the url http://network-tools.com/default.asp?prog=ping&host=ghacks.net which displays the ping on the website.

You can do the same in Opera. The keywords are called nicknames there but are basically the same. I have not tested it but it should work fine. Let me know if you try that out.

Since Network Tools is offering other tools on its website, you can use the same method to add trace or whois bookmarks to Firefox to run them from the address bar whenever the need arises.

Summary
Add Ping to Address Bar in Firefox and Opera
Article Name
Add Ping to Address Bar in Firefox and Opera
Description
Find out how to add ping commands to Firefox to ping any website right from the web browser's address bar.
Author

We need your help

Advertising revenue is falling fast across the Internet, and independently-run sites like Ghacks are hit hardest by it. The advertising model in its current form is coming to an end, and we have to find other ways to continue operating this site.

We are committed to keeping our content free and independent, which means no paywalls, no sponsored posts, no annoying ad formats or subscription fees.

If you like our content, and would like to help, please consider making a contribution:

Comments

  1. Mike said on March 18, 2008 at 6:40 pm
    Reply

    Could not get this to work. I’m using Firefox 3b4 and I added the URL to my bookmarks with the Ping tag. When I type ping in my address bar the site comes up but it won’t attach the domain I type after it to the end of the ping service’s url. Any ideas?

  2. Marc-O said on March 18, 2008 at 7:11 pm
    Reply

    I think a simpler way to add this to opera is to load the page, right-click the textbox and select something like “create custom search”, and then simply add “ping” to the keyword command.

    It’s one of my favorite opera functionnality (custom search). So much as it render the google search box useless… Actually, it’s directly the google philosophy, in the browser: just one textbox…

    (I haven’t tested yet, but I will tonight)

  3. Mutant said on March 18, 2008 at 8:33 pm
    Reply

    I did try it out.It worked for ghacks.net and it gave me the following result.

    “Average time over 10 pings: 130.8 ms”

    but how to interpret it?

  4. Marc-O said on March 19, 2008 at 2:47 am
    Reply

    verified. On opera, right click on the textbox, select “create search”, and add the “ping” keyword.

  5. Martin said on March 23, 2008 at 10:16 am
    Reply

    Mutant a ping abot 100ms is normally very bad unless you are on a slow connection

  6. FAE said on February 28, 2009 at 4:15 pm
    Reply

    Nice blog…

Leave a Reply

Check the box to consent to your data being stored in line with the guidelines set out in our privacy policy

Please note that your comment may not appear immediately after you post it.