cancel
Showing results for 
Search instead for 
Did you mean: 

What does "browser.newtabpage.storageVersion" do?

Highlighted
New Contributor

What does "browser.newtabpage.storageVersion" do?

What does that pref do? If I make it 1, thumbnails folder in profile isn't created anymore (that exactly what I want)

But this not default about:config entry. Is there any documentation about it?

5 REPLIES
Site Moderator

Re: What does "browser.newtabpage.storageVersion" do?

Version prefs are used internally, so Firefox can see which version was last last used with this current profile and if necessary upgrade some database files, so just leave them as they are.

You can create these Boolean prefs on the about:config page if you want to disable the thumbnails on the about:newtab page.

  • name: browser.pagethumbnails.capturing_disabled with value: true
  • name: pageThumbs.enabled with value: false
New Contributor

Re: What does "browser.newtabpage.storageVersion" do?

If I do as you said, thumbnails are disabled, ok. But in profile folder, empty "thumbnails" folder is created every time.

I use these prefs for disabling thumbnails. (also re-creation of empty thumbnails folder)

user_pref("browser.newtabpage.enabled", false); user_pref("browser.newtabpage.storageVersion", "1"); user_pref("browser.pagethumbnails.capturing_disabled", true); user_pref("browser.pagethumbnails.storage_version", "2");

And if I right click on the pref "browser.newtabpage.storageVersion" and make default it. It is being deleted and it start empty folder named thumbnails in prfile folder.

New Contributor

Re: What does "browser.newtabpage.storageVersion" do?

So, what is the StorageVersion or Storage_Version Numbers equate to? Values: 1 - 4 what type of storage is associated with each? http://www.whatwg.org/specs/web-apps/current-work/#dom-localstorage https://developer.mozilla.org/en-US/docs/Mozilla/Preferences/Preference_reference/browser.pagethumbn...

Landis.

Site Moderator

Re: What does "browser.newtabpage.storageVersion" do?

Version numbers are used internally and show the current status of implemented features or data storage.
After major changes have been made to the code that involve how data is handled or stored then this value can be incremented to indicate that files have been updated.
It is best to leave such prefs alone and not modify or reset them.

You can do a search on the MXR site if you want to know how such version numbers are used (they are usually hard coded).

New Contributor

Re: What does "browser.newtabpage.storageVersion" do?

Thank you.. i know what 'version number' is, but in the context of this specific 'Preference' in config.js ( 'about:config' ) i'm wondering if it isn't a 'type of' storage not unlike the tab close 'button' ( x ) 'style' is or could be 0, 1 or 3 (i can't figure out what 2 is)... that's it.

again, thanks. Landis.