Този сайт ще има ограничена функционалност, докато се извършва тече неговата поддръжка. Ако дадена статия не може реши проблема ви и искате да зададете въпрос, нашата общност е готова да ви помогне на @firefox в Twitter и /r/firefox в Reddit.

Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Научете повече

How can I change the location of the dom storage?

  • 3 отговора
  • 1 има този проблем
  • 7 изгледи
  • Последен отговор от Valso

more options

I know websites are storing permanent data in profile/storage/default but I wanna change the location to another directory. I don't wanna disable the dom storage, I just want it all to go to another directory of my choice! How do I do that? I checked everything related to dom.storage in about:config but couldn't find any mention of the location. Will it work if I simply add a new value "dom.storage.targetdir"?

I know websites are storing permanent data in profile/storage/default but I wanna change the location to another directory. I don't wanna disable the dom storage, I just want it all to go to another directory of my choice! How do I do that? I checked everything related to dom.storage in about:config but couldn't find any mention of the location. Will it work if I simply add a new value "dom.storage.targetdir"?

Всички отговори (3)

more options

I've never heard of a setting to move the contents of

[profile.folder]\storage\default

to another location.

Are you trying to overcome a space constraint?

more options

You can try to use a symlink (or hardlink) to point to that preferred folder to see if Firefox supports this.

more options

jscher2000 said

I've never heard of a setting to move the contents of [profile.folder]\storage\default to another location. Are you trying to overcome a space constraint?

No, I have enough space. I simply don't like redundant stuff in my backups, so one possible solution was to move the contents of the dom storage to another directory which wouldn't be included in the backup command. Another possible solution was to remove all https and http directories except two which I need to keep, but I thought moving the dom storage would be easier.

On a forum they gave me another solution to this - to delete all https and http directories except two (where my site settings are stored).

find ~/.mozilla/firefox/profilename.default-release/storage/default -type d -name http* | egrep -v "duckduckgo.com|twitter.com" | xargs rm -rf && profile-cleaner f

After that comes the profile backup command.