How can I permanantly prevent a website from offline data storage
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.
Read this answer in context 👍 2All Replies (19)
الحل المُختار
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.
Thank you CoryMH for your solution. Very much appreciated.
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.
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 > 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?
Sorry, I'm not too good at this but where do I find this file- permissions.sqlite
and where is the profiles folder please?
To get to the profiles folder:
- Enter about:support in your address bar and hit enter
- Click the "Show Folder" button
Were do you see this website listed?
Can you attach a screenshot?
- http://en.wikipedia.org/wiki/Screenshot
- https://support.mozilla.org/kb/how-do-i-create-screenshot-my-problem
- 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).
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.
The rogue website appears in this (empty atm) window.
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.
I found multiple entries for it in-
Disc 'list cache entries' although nothing has appeared in the window I previously uploaded (Advanced/Network
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.
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.
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.
- Malwarebytes' Anti-Malware:
http://www.malwarebytes.org/mbam.php - AdwCleaner:
http://www.bleepingcomputer.com/download/adwcleaner/
http://www.softpedia.com/get/Antivirus/Removal-Tools/AdwCleaner.shtml - SuperAntispyware:
http://www.superantispyware.com/ - Microsoft Safety Scanner:
http://www.microsoft.com/security/scanner/en-us/default.aspx - Windows Defender:
http://windows.microsoft.com/en-us/windows/using-defender - Spybot Search & Destroy:
http://www.safer-networking.org/en/index.html - Kasperky Free Security Scan:
http://www.kaspersky.com/security-scan
You can also do a check for a rootkit infection with TDSSKiller.
- Anti-rootkit utility TDSSKiller:
http://support.kaspersky.com/5350?el=88446
See also:
Is there an OSX version for those malware programs?
Thanks also for your help.
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.
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.
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.
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!