GithubHelp home page GithubHelp logo

Comments (5)

M-Reimer avatar M-Reimer commented on August 31, 2024 1

You have to close the browser to clear cookies. This is intended behavior. There are other Add-ons which work "by tab" but this approach was not very reliable in my tests.

You don't have to "force close". Just close the browser in the list of recently used apps (slide from the lower edge upwards).

Separate tabs would not work. The whitelist does not apply to localStorage and indexedDB.

As your description is wrong and just to make it clear: The whitelist is only applied to cookies. If you enable the deletion localStorage and indexedDB, then everything is deleted there! There is no other way to do it. Yes, I have to document this better and I will link some Mozilla bugs which are the reason for this limitations.

from cookiewhitelist.

M-Reimer avatar M-Reimer commented on August 31, 2024 1

Mozilla does not have API to apply a whitelist when cleaning localStorage or indexedDB. But mobile Firefox doesn't have any other way to clear them built in. So I added the checkbox. I would have printed the "all domains" in bold but my translation library does not support that currently.

Clearing localStorage by tab only works if the tab is still open and it is not reliable and impossible to check. Mozilla does not have API to tell if localStorage is in use or which domain uses it. So to be sure I decided clearing all could be a possible solution.

This, for sure, has disadvantages. I already have a report that you get logged out of Google accounts as they seem to store the session in localStorage. If this gets more common, this would render my Add-on useless. But at least for now I keep logged in where I want to.

I'll keep this issue open as a reminder that I still have to improve documentation including some links to the relevant bugs.

The big problem with Firefox Add-ons is that Add-on API seems to be at the very end of the Mozilla priority list. It is pretty common for bugs being open for years. So it's all about getting something done with what you have and find suitable workarounds for bugs in their API as you can never count on anything getting fixed in time.

from cookiewhitelist.

DB9-max avatar DB9-max commented on August 31, 2024 1

Works great in Firefox Android 👍👍👏

from cookiewhitelist.

MilaMurry avatar MilaMurry commented on August 31, 2024

So the deletion of the localStorage and indexedDB isn't based on the whitelist? I thought so. I know that you can clear the localStorage by tab using localStorage.clear(), so it might work if it has that functionality.

And before I forget, other add-ons like CAD or Forget Me Not don't work properly, which is why I'm testing this add-on.

Unfortunately, closing and removing the app from recently used apps doesn't work either.

Well whatever the case, you can safely close this issue.

from cookiewhitelist.

MilaMurry avatar MilaMurry commented on August 31, 2024

I don't think it actually deletes the real files. Recently Android reminded me that the browser was using too much storage and indeed it was. Luckily my device was rooted. I had to delete a bunch of folders (localStorage) like https+++github.com, https+++youtube.com, etc...

Of course this add-on works just fine, but like you said it's on Firefox's side. JFYI.

from cookiewhitelist.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.