Skip to content
This repository was archived by the owner on Jul 21, 2021. It is now read-only.
This repository was archived by the owner on Jul 21, 2021. It is now read-only.

[Firefox] Make use of the webext-specific API to clear localStorage and indexedDB #829

Open

Description

@gorhill

Excerpt from https://blog.mozilla.org/addons/2017/11/20/extensions-in-firefox-58/:

The browsingData API now supports clearing the indexedDB storage area
The browsingData API supports clearing localStorage by hostname, similar to cookies

Currently uMatrix uses a content script to try to clear localStorage as per cookie cell, while it does not touch indexedDB storage due to missing API to enumerate databases.

Activity

  1. mikhaelkh commented on Nov 26, 2017

    @mikhaelkh
    Contributor

    Are storages being cleared in Chrome? I unchecked all hosts files, purged all caches. Storage used didn't decrease and stayed at ~3.3MB.

  2. zero77 commented on Jan 17, 2018

    @zero77

    Yes, It would be nice to have control over allowing or blocking indexedDB storage throw the popup panel and auto clearing of indexedDB storage, if that’s what you were thinking.

    Also, I think this API will be supported from the 23rd in the main FF release.
    https://wiki.mozilla.org/RapidRelease/Calendar

  3. zero77 commented on Feb 21, 2018

    @zero77

    This may not currently be possible in chrome but it should work well in FF.
    https://bugs.chromium.org/p/chromium/issues/detail?id=78093

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions