How to use dynamic bookmarks in Firefox - gHacks Tech News

How to use dynamic bookmarks in Firefox

Bookmarks are quite useful as they allow you to save links to websites, applications and services in the web browser you are using so that you can re-open them easier without having to remember the address or page they were linked on.

While bookmarks may not be used as much anymore as they have been ten years ago, thanks to the rise of tabbed browsing and the sharing of sites on social networking sites, they are still essential parts of web browsers.

In fact, when Opera launched the new version without full bookmarking support in the beginning, it was one of the most requested features by the community.

Bookmarks are mostly associated with static links that point to specific domains or pages on sites, and less to a system that is more flexible than this.

The Firefox web browser supports variables that you can make use of to add a dynamic component to the bookmark.

We have described in the past how to use the feature to run searches on sites directly from the Firefox address bar.

But it can be used for more than that, for instance to open pages on websites dynamically without search. Instead of adding the page to the bookmarks of Firefox, you would make the "firefox" part of the address dynamic by replacing it with a variable.

While that prevents you from opening the Firefox page on Ghacks directly, it enables you to open other categories you are interested in with little effort.

Here is how it works in detail

dynamic bookmarks

  1. Open the Firefox Bookmarks Manager with the shortcut Ctrl-Shift-b.
  2. When the Library window opens, select a folder you want to place the bookmark in. Since you won't be opening it with a click but from the address bar, it does not really matter where you save it to.
  3. Right-click on the folder and select New Bookmark from the menu.
  4. In the menu that opens, add the following information:
    1. Name: A custom name for the bookmark. Pick any name you like.
    2. Location: the url of the bookmark. Replace part of the url with the variable %s, e.g.,, or
    3. Keyword: select one or two letters for the keyword, e.g. gh for the Ghacks link or r for Reddit.

Once you have saved the bookmark, you may open urls on the selected sites by writing the keyword followed by the term you want the variable to be replaced with.

For instance, to open Ghacks' Google category, you would write gh google to load directly, and if you wanted to open the Email category, you'd write gh email instead.

This works only if the page exists of course and may result in 404 not found error messages otherwise.

The same method works on Reddit, Voat and any other site that separates sections on the site or individual articles with easy to remember names.

Now You: Have another tip? Feel free to post it in the comments below.

How to use dynamic bookmarks in Firefox
Article Name
How to use dynamic bookmarks in Firefox
Find out how to create bookmarks in Firefox that have a dynamic components to access sites using keywords and terms from the Firefox address bar.
Ghacks Technology News

  • 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 (video ads) or subscription fees.

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


    1. Marcin said on June 22, 2015 at 6:00 pm

      Really useful tip !
      Once again, thank you Martin.

    2. Inderjeet said on June 22, 2015 at 6:44 pm

      Thanks – exactly what I was
      looking for

    3. Andrew said on June 23, 2015 at 12:44 am

      I’ll never use this

    4. Fena said on June 23, 2015 at 3:40 am

      Disagree about bookmarks. I do not see the benefit of keeping multiple tabs open forever. Most of the time I have one tab open but when I’m reading a newspaper or perhaps downloading I may have multiple tabs open. When I close the browser I delete all history and all tabs. My bookmarks toolbar has my regulars and I search when I need others.

      Using computers almost everyday since 1975 so maybe I’m old fashioned.

    5. Ken Saunders said on June 23, 2015 at 3:48 pm

      Cool tip. Thanks.
      Hopefully, others have written about this too.
      Even if they did so in the past.
      Like, say, yesterday.

    6. Sta... said on June 24, 2015 at 8:12 am

      Y’know, there’s an easier way.
      Just right-click any bookmark and select Properties. Then enter any Keyword you want to use to access that bookmark.

    7. BGM said on June 24, 2015 at 3:40 pm

      I found that I have to push shift+return to get firefox to use the %s trick else it would just search for the page in DuckDuckGo (my search engine). But this effect is probably due to one of my firefox addons.

      So I can type: ghacks/firefox and then shift+enter and it goes right to

      Nice tip!

    8. Chris said on June 26, 2015 at 4:05 pm

      Martin, try out my new addon – . With it, bookmarks deserve more to be called “dynamic”.

    Leave a Reply