question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Per site block rule doesn't prevent site's data in user's profile storage folder

See original GitHub issue

Hi,

Forget Me Not 1.0.2 / Firefox 60.0.1 (x64) / Windows 7 (x64)

I’m encountering an issue with blocked sites that seems odd when compared to Firefox’s native site cookie block logic.

With Firefox / Options / Privacy & Security / Cookies and Site Data / Exceptions … If I set a site as blocked then are blocked not only the site’s cookies but as well LocalStorage and IndexedDB storage. By IndexedDB storage I mean a site’s data appearing in the user’s profile / Storage / Default folder, i.e https+++www.bostonglobe.com^firstPartyDomain=bostonglobe.com

Blocking with Firefox : no blocked site’s indexedDB storage Removing the site from Firefox blocking, adding the site to FMN as blocked : no cookies indeed but site’s data nevertheless in storage / default folder.

Here are my FMN defined rules:

fmn

As you can see among sites I’ve blocked appear those that keep data in the user’s storage folder: bostonglobe, huffingtonpost, techradar, theguardian

All these four domains will add data such as, i.e https+++www.bostonglobe.com^firstPartyDomain=bostonglobe.com This data is removed once Firefox closed, but remains during the session. If I add these domains to Firefox’s cookie blocking, their data is not added to user’s local/default folder.

Same applies to localStorage : a site set as blocked by FMN doesn’t prevent that site from installing data in user’s localStorage (webappstore.sqlite).

I hope you’ve understood what I mean as English is not my mother-tongue together with the fact I lack technical terminology.

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:3
  • Comments:10 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
Lusitocommented, Jun 7, 2018

Hello and thanks for your feedback.

Sadly, there is currently no API available to block indexedDB, localStorage, etc. I can only block cookies at this time. If you look at the description of the black rule, you’ll see, that it’s only about cookies.

So this is an issue that mozilla needs to fix before I can do anything about it. I will do my best to convince them that this shortcoming should be fixed.

1reaction
Lusitocommented, Aug 30, 2019

@rugabunda Site-Bleacher can do that on chrome, as chrome seems to support it: https://developer.chrome.com/extensions/browsingData#specific_origins But on Firefox it will clear IndexedDB from ALL domains. Firefox doesn’t support cleaning IndexedDB per-domain.

Quote From Mozilla

This property only applies to cookies and local storage items. Only remove cookies and local storage items which are associated with these hostnames.

You added the wrong link about the indexedDB enumeration btw: https://bugzilla.mozilla.org/show_bug.cgi?id=934640

Enumerating the databases would allow to remove the databases, but only when the page is currently active. This is not a good solution, as the webpage could in the same moment recreate the databases.

A better solution would be to support hostnames in the browsingData.remove() function. There is a ticket for that here: https://bugzilla.mozilla.org/show_bug.cgi?id=1551301

Read more comments on GitHub >

github_iconTop Results From Across the Web

Data Loss Prevention policy reference - Microsoft Learn
Microsoft Purview Data Loss Prevention (DLP) policies have many components to ... Rule 1: blocks activity and doesn't allow user override ...
Read more >
Access Control Rules: URL Filtering - Configuration Guides
This feature is called URL filtering. There are two ways you can use access control to specify URLs you want to block (or,...
Read more >
Configuring access to websites on Windows devices
A rule is a set of filters and the corresponding action that Kaspersky Endpoint Security Cloud performs when the user visits any of...
Read more >
About iCloud Private Relay - Apple Support
iCloud Private Relay is designed to protect your privacy by ensuring that when ... If a website or network doesn't work with Private...
Read more >
Set Chrome policies for users or browsers - Google Support
Sign in using your administrator account (does not end in @gmail.com). In the Admin console, go to Menu "" and then "" Devices...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found