el1t / uBlock-Safari

uBlock Origin - An efficient blocker for Chromium, Firefox, and Safari. Fast and lean.
GNU General Public License v3.0
2.74k stars 100 forks source link

A way to not lose filter current filter lists when clearing history? #107

Open Freida-Moo-Goo-Gai-Pan opened 6 years ago

Freida-Moo-Goo-Gai-Pan commented 6 years ago

Years ago, ublock for Safari used to lose all settings when you cleared history on Safari. I believe the code was changed around 2015 as to not have that happen. The settings were moved and filter lists and settings were split to separate locations to allow settings to withstand the clear history. Anyhow... the only issue I have with Ublock Origin is not much of an issue, but more of an inconvenience and I'm wondering if there is a way around it that I'm not aware of...

When I clear history, I always have to go back into settings and update 3rd party filters. Is there a way to keep them from being cleared? This seems to be specific for uBlock Origin, other blockers such as adguard (both old api and new api), adblock plus, etc... do not have the issue when clearing the history.

For giggles, I went in and locked the db files to see if that would make them withstand a clear history but had no luck there.

Anybody know of a way?

TraderStf commented 6 years ago

I make an automatic backup... same problem with the great QuickStyle extension...

There is another case where you loose all. Replace the 'gallery-apple' version by the one downloaded from github!

Today I discovered that even by deleting 'apple' one, which has been updated automatically to 16, then reinstalling it manually, Safari keeps thinking it's the apple one... and of course signals update 16 is available!

And once again, as the apple one has been updated to 16 automatically, my github settings are once against lost!

I don't mention other bugs that this mess has created, public-list missing/totally empty, settings... I'll fill a report.