HistoryBlock icon indicating copy to clipboard operation
HistoryBlock copied to clipboard

Blocked domains forgotten

Open root-intruder opened this issue 5 years ago • 6 comments

Every once in awhile the addon forgets the blocked domains...already happened twice in two weeks, however, I don't see any actions taken from my side which could trigger this.

The only "unusual" thing I use is firefox sync to sync my addons...if this might make a difference.

If any more information is required, I'm glad to help.

Btw: thanks for your work already!!!

root-intruder avatar Apr 28 '20 06:04 root-intruder

Thanks for the report, and apologies on the slowness of the reply (I haven't checked the email associated with this github account since I started work-from-home back in March; I will check it regularly from today).

Yes, FFSync definitely is doing something to HistoryBlock keeping it from working across devices. I don't understand yet, but I am going to leave this issue open and hopefully figure it out.

kainsavage avatar Jul 10 '20 17:07 kainsavage

Thanks for your answer.

To clarify my problem: I'm not trying to sync the block lists over multiple devices. The block list is saved on one device and doesn't sync to other devices, which is OK. But every now and then this one device keeps forgetting the block list.

If there is any advice how i could provide you with a debug log when this happens, I'm glad to help!

root-intruder avatar Jul 13 '20 09:07 root-intruder

an import / export mechanism would be very usefull

sahapasci avatar Jul 24 '20 13:07 sahapasci

Import sort of exists presently, though the tooling should be improved.

Export is impossible with the current implementation. The domains that are blocked are hashed so that anyone else who can access the computer cannot see what you have chosen to block without doing an exhaustive search by hashing domains until one matches the hash in your blacklist.

For a few years now, I have been toying with the idea of encrypting the domains and keeping an in-memory cache of them decrypted. This would both block the exhaustive search method I mentioned, and allow for an export since you would be the only one with your password.

kainsavage avatar Jul 24 '20 15:07 kainsavage

I don't get why ex and importing the hashes wouldn't work!?

root-intruder avatar Jul 27 '20 05:07 root-intruder

I don't get why ex and importing the hashes wouldn't work!?

Oh sorry, I misunderstood the requirement. Yes, exporting/importing of the hashes is possible and in fact supported (albeit not widely known/used). If you visit about:addons in a tab, you will see HistoryBlock and if you click into the options, it does support import/export of the blacklist (hashed domains).

kainsavage avatar Jul 27 '20 17:07 kainsavage