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

What does "browser.newtabpage.storageVersion" do?

Posted

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?

Additional System Details

Installed Plug-ins

  • Next Generation Java Plug-in 10.13.2 for Mozilla browsers
  • NPRuntime Script Plug-in Library for Java(TM) Deploy
  • Shockwave Flash 11.5 r502
  • 5.1.10411.0

Application

  • User Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:18.0) Gecko/20100101 Firefox/18.0

More Information

cor-el
  • Top 10 Contributor
  • Moderator
10738 solutions 96606 answers

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

Helpful Reply

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.

Landis 0 solutions 4 answers

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.pagethumbnails.capturing_disabled

Landis.

cor-el
  • Top 10 Contributor
  • Moderator
10738 solutions 96606 answers

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).

Landis 0 solutions 4 answers

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.