banner



How To Create Bookmark Folders In Firefox

how-to-create-custom-smart-bookmarks-folders-in-firefox photo 1

Have you ever wondered how the "Most Visited" bookmarks folder included with Firefox works? It's not just a special-cased folder – it takes advantage of the Places database introduced in Firefox 3, and you can create your own smart bookmarks.

Firefox's Places system stores your bookmarks and history in an SQLite database. Firefox includes a powerful query: syntax for working this this database, but this feature is all but hidden by default.

Saving a Search

Firefox exposes a single way of creating a smart folder by default. To get started, open the Library window by selecting the Bookmarks or History option in the menu.

how-to-create-custom-smart-bookmarks-folders-in-firefox photo 2

Perform a search using the search box in the Library window. You can search both page titles and page URLs – for example, type "How-To Geek" to find all pages with How-To Geek in their title or type "howtogeek.com" to find all pages on the How-To Geek website.

how-to-create-custom-smart-bookmarks-folders-in-firefox photo 3

You can have the smart bookmark search your bookmarks or history. After selecting Bookmarks or History, click the Save button and provide a name to save your search as a smart bookmark folder.

how-to-create-custom-smart-bookmarks-folders-in-firefox photo 4

Firefox creates the bookmark folder in your bookmarks menu by default, but you can place it anywhere you like – for example, on your bookmarks toolbar.

how-to-create-custom-smart-bookmarks-folders-in-firefox photo 5

Firefox automatically updates the smart bookmark folder – it's just a database query, like a smart playlist in iTunes. If you've been following along, you now have a smart bookmark folder that displays the pages you've recently visited on How-To Geek.

how-to-create-custom-smart-bookmarks-folders-in-firefox photo 6

Using an Extension

To get at the advanced functionality, you can write places URIs yourself – but most users will probably want an easy-to-use graphical interface. Mozilla doesn't provide one, so you'll have to install an extension like SearchPlaces.

After you install the extension and restart Firefox, you'll see a new SearchPlaces option in your Bookmarks menu.

how-to-create-custom-smart-bookmarks-folders-in-firefox photo 7

SearchPlaces provides a graphical interface for creating new smart bookmarks and editing existing ones. It exposes much of the power left out of Firefox's default interface.

how-to-create-custom-smart-bookmarks-folders-in-firefox photo 8

SearchPlaces offers a lot of options for constructing your Places URI. For example, here we're searching for pages containing the word "Android" that have been visited between 10 and 20 times. We could also specify a time range the web pages were visited between, although this is a bit complex to do – you have to specify a number of seconds from a relative time.

However, you can easily specify "today" as a time range. Set the relative time to "Midnight this morning" and enter "0" as the time.

how-to-create-custom-smart-bookmarks-folders-in-firefox photo 9

To edit a smart bookmark folder that comes with Firefox, select it and click the Edit button.

how-to-create-custom-smart-bookmarks-folders-in-firefox photo 10

SearchPlaces shows you each smart bookmark's place: URI. Firefox hides these in the default interface – presumably to avoid scaring inexperienced users.

how-to-create-custom-smart-bookmarks-folders-in-firefox photo 11

Writing Places URIs

Mozilla provides a detailed guide to place: query URIs on the Mozilla Developer Network website. There are a wide variety of options that you can use to construct complex query URIs.

For example, let's say we want to create a smart bookmark folder showing all the pages we've visited on How-To Geek today, sorted in alphabetical order. This is the query string we'd use:

place:terms=howtogeek.com&beginTimeRef=1&beginTime=0&sort=1

There are four parts to this query:

  • terms=howtogeek.com – Searches for the term "howtogeek.com".
  • beginTimeRef=1 – The begin time is relative to midnight this morning.
  • beginTime=0 – The "0" is a special value that includes all results since the relative time. In this case, it matches all results since midnight this morning – that is, all pages visited today.
  • sort=1 – Orders results in alphabetical order.

Once you have a query URI, create a new bookmark from the Library window or Bookmarks menu.

how-to-create-custom-smart-bookmarks-folders-in-firefox photo 12

Name the bookmark and use the place: URI as the bookmark's address.

how-to-create-custom-smart-bookmarks-folders-in-firefox photo 13

Due to an apparent bug, you can't create a smart bookmark directly on the browser toolbar. Firefox will treat it like a normal bookmark instead of noticing the place: URI and treating it properly.

how-to-create-custom-smart-bookmarks-folders-in-firefox photo 14

Create it elsewhere – such as in your bookmarks menu — and drag and drop it onto the toolbar. Firefox will notice it's a smart bookmark.

how-to-create-custom-smart-bookmarks-folders-in-firefox photo 15


Firefox's Places database hides a lot of power – it could be a killer feature for some people, but most will never notice it's there.

More stories

Sleepyti.me Calculates an Ideal Bedtime Based On Your Morning Schedule

Sleepyti.me is a web-based sleep calculator that uses average sleep cycle lengths to calculate what time you should go to bed in order to rise at a predetermined well rested and alert.

Which Browser is the Best to Use When Running Your Laptop on Battery Power?

Squeezing the maximum amount of usage time out of your laptop battery can be challenging at times…it all depends on the software you are using. One software we are all likely to be using is a browser to keep up with our online lives…

Become a Linux Terminal Power User With These 8 Tricks

There's more to using the Linux terminal than just typing commands into it. Learn these basic tricks and you'll be well on your way to mastering the Bash shell, used by default on most Linux distributions.

Ask HTG: Installing XBMC Add-Ons, Shrinking Videos for Mobile Playback, Automatically Changing the Default Printer

It's that Ask HTG time of week again; this week we're helping readers install XBMC add-ons, shrinking video for their mobile devices, and automatically changing default printers for their new location.

Geek Trivia: The First Female Computer Programmers Were Called What?

Think you know the answer? Click through to see if you're right!

Floppy Autoloader Automatically Archives Thousands of Floppies

The thought of hand loading 5,000 floppy disks is more than enough to drive an inventive geek to create a better alternative–like this automated floppy disk archiver.

When Do You Need to Update Your Drivers?

Talk to any tech person, read any forum, and at some point you're sure to be told to update your drivers… but what does that really mean? And is it necessary to compulsively update your drivers? Here's our take.

How to Own Your Own Website (Even If You Can't Build One) Pt 2

Last week we talked about how to buy and start a simple website using WordPress. Today, we'll start customizing our WordPress site and get you off on the right foot to having a great quality, feature rich website.

6 Great Alternative Browsers for Your Android Device

Android's default browser, named "Internet," is a very simple browser that's tied to your Android OS version. Other, third-party browsers offer more powerful interfaces, greater configurability, and more frequent updates.

Geek Trivia: What Ancient Festival Was A Precursor to Modern April Fools Day Celebrations?

Think you know the answer? Click through to see if you're right!

How To Create Bookmark Folders In Firefox

Source: http://tipsgeneral.com/how-to/how-to-create-custom-smart-bookmarks-folders-in-firefox.html

Posted by: fleckthervin.blogspot.com

0 Response to "How To Create Bookmark Folders In Firefox"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel