X
Tap here to go to the mobile version of the site.
Your Firefox is out of date and may contain a security risk! Upgrade Firefox

Support Forum

Numbers in browser.places.smartBookmarksVersion

Posted

What do the version numbers in browser.places.smartBookmarksVersion mean? I can find no explanation. If the value is 0, I know that Bookmarks will have the folders for most viewed and most recent, but what about the others (up to 4)? I had the value change to 1 after I removed those folders (back in FF 3), and copied that into user.js from prefs.js, but now the value is 4, even though I did not change the value in user.js. There is nothing wrong with the user.js file, so how does the value change to 4, and what does the 4 mean?

I checked FF 3.6.28 in my old laptop, and its setting for browser.places.smartBookmarksVersion is 2. That user.js file was originally in that computer, so that was the origin of that setting of version 1 in this one. There is nothing wrong with user.js in the older computer either. What does the 2 mean?

Additional System Details

Installed Plug-ins

  • Shockwave Flash 11.5 r502
  • Displays Java applet content, or a placeholder if Java is not installed.
  • Progressive Downloader Integration Plug-in
  • The QuickTime Plugin allows you to view a wide variety of multimedia content in web pages. For more information, visit the QuickTime Web site.
  • The Flip4Mac WMV Plugin allows you to view Windows Media content using QuickTime.
  • 5.1.10411.0
  • iPhoto6
  • RealPlayer Plugin

Application

  • User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:18.0) Gecko/20100101 Firefox/18.0

More Information

cor-el
  • Top 10 Contributor
  • Moderator
10783 solutions 97065 answers

See the comments in the source code:

Question owner

The remarks do not explain everything about browser.places.smartBookmarksVersion. This is an excerpt:

1390    // This is actual version of the smart bookmarks, must be increased every
1391     // time smart bookmarks change.
1392     // When adding a new smart bookmark below, its newInVersion property must
1393     // be set to the version it has been added in, we will compare its value
1394     // to users' smartBookmarksVersion and add new smart bookmarks without
1395     // recreating old deleted ones.
1396     const SMART_BOOKMARKS_VERSION = 4;

Have there been 4 different setups for smart bookmarks, or what does that remark actually mean? Smart bookmarks change in what way? Is this a change done by Firefox itself or by the user?

Version 2 was a different setup for Firefox 3.6? What about version 3? Version 4 in FF 18 has evolved further, correct?

Setting version 2 and version 4 must be an active process that happens whenever Firefox is launched, since the value in my user.js file is still 1.