Search Support

Beware of phishing attacks: Mozilla will never ask you to call a number or visit a non-Mozilla website. Please ignore such requests.

Learn More

How can I permanantly prevent a website from offline data storage

  • 19 回覆
  • 1 有這個問題
  • 3375 次檢視
  • 最近回覆由 JeffR405

more options

Hello, I noticed that a website which I've never visited (until I noticed it today) is listed in my 'Advanced' 'Network' preferences and even though I can temporarily remove it via the 'Clear Now' button, it later returns.

I've googled the issue and read bewildering lines of code, but I'm not so savvy to know where making those types of changes might lead!

I've got Firefox 33.1 on Mac 10.6.8 and hope someone in the Mozilla community may have a fix.

Thanks

被選擇的解決方法

Hello,

If you enter about:permissions in your address bar and press enter, it should show you a list of sites. You can select the site you do not want storing information, and then set "Maintain Offline Storage" to "Block"

In your advanced options, you can also have "Tell me when a website asks to store data for offline use" selected so all sites ask you, and you can block them.

從原來的回覆中察看解決方案 👍 2

All Replies (19)

more options

選擇的解決方法

Hello,

If you enter about:permissions in your address bar and press enter, it should show you a list of sites. You can select the site you do not want storing information, and then set "Maintain Offline Storage" to "Block"

In your advanced options, you can also have "Tell me when a website asks to store data for offline use" selected so all sites ask you, and you can block them.

more options

Thank you CoryMH for your solution. Very much appreciated.

more options

Unfortunately the rogue website returned even after blocking the 'maintain offline storage' in about:permissions and the advanced options check box is 'on' in the advanced/network preferences.

more options

Can you check your about:permissions page again to see if the setting was reset? If so, please see the How to fix preferences that won't save article.

It could also be a problem with your permissions.sqlite file, try renaming it to permissions.sqlite.old:

  • Go to your profile folder (Profiles - Where Firefox stores your bookmarks, passwords and other user data):
    • Enter about:support in your address bar and hit enter
    • Click the "Show Folder" button
  • Close Firefox (Menu New Fx Menu > Exit The image "Close-29" does not exist.)
  • Rename the permissions.sqlite to something else, such aspermissions.sqlite.old
  • Restart Firefox - does the problem still occur?
more options

Sorry, I'm not too good at this but where do I find this file- permissions.sqlite

and where is the profiles folder please?

more options

To get to the profiles folder:

  • Enter about:support in your address bar and hit enter
  • Click the "Show Folder" button
more options

Were do you see this website listed?

Can you attach a screenshot?

  • Use a compressed image type like PNG or JPG to save the screenshot
  • Make sure that you do not exceed the maximum size of 1 MB

You can't block website from showing in the disk cache unless you access these pages in Private Browsing mode.


The offline cache AKA as the application cache is only used in very special cases and shouldn't be confused with the disk and memory cache. It is the last section that is present on the about:cache page (open via the location/address bar).

more options

OK. I've renanmed the 'permissions.sqlite as permissions.sqlite.old. Was asked if changing its file extension to 'old' from 'sqlite' & said yes.

'about:permissions'/'manage offline storage' still blocked & advanced/network still clear so rogue website not back so far.

more options

The rogue website appears in this (empty atm) window.

more options

Can you post another screenshot once you see it appearing again?

Does it appear in the lower text area?


You can toggle the browser.cache.offline.enable pref to false to disable the offline cache or possibly set the offline-apps.quota.warn pref to a lower value.

more options

I found multiple entries for it in-

Disc 'list cache entries' although nothing has appeared in the window I previously uploaded (Advanced/Network

more options

That is the regular disk cache and not the offline cache mentioned above. You do not have control over what is stored there and it normally would pose a problem. As I wrote above, you can visit websites in Private Browsing mode to prevent Firefox from storing data on in the Firefox profile folder.

more options

OK thanks. I'll start using the private browsing function.

Weird thing is I've never been to that website, so I'm puzzled how it's managed to get on to my computer in the first place. That & I always browse with Cookies disabled.

more options

You can check the browsing history to see if what websites you have visited during the time he entries were created.

You can check for recently installed suspicious or unknown extensions.


Do a malware check with several malware scanning programs on the Windows computer. Please scan with all programs because each program detects different malware. All these programs have free versions.

Make sure that you update each program to get the latest version of their databases before doing a scan.

You can also do a check for a rootkit infection with TDSSKiller.

See also:

more options

Is there an OSX version for those malware programs?

Thanks also for your help.

more options

Oh no! What have I done? Did a restore to default browser settings then found I no longer had control over cookies. Websites now dumped in all cookies where previously I had control over 3rd party ones. Tried swapping the 'profiles' from an earlier version, now downloading the latest F/F won't even open as it know the profiles aren't there.

more options

Managed to swap back to my original profile in User/Library/Application support/Firefox/Profiles. Now is it possible to have my control over 3rd party cookies again? ATM wherever I browse my Privacy window is loaded.

more options

You can allow third-party cookies only from visited domains.

  • Tools > Options > Privacy > Firefox will: "Use custom settings for history"

You can set the network.cookie.thirdparty.sessionOnly pref to true on the about:config page to make third-party cookies behave as session cookies that expire when Firefox is closed.

You can open the about:config page via the location/address bar. You can accept the warning and click "I'll be careful" to continue.

more options

Thank you cor-el for your assistance. I am again 'situation normal' & no sign of the rogue website which was the core of my problem.

Awesome community!