translate-tools/linguist

Not work in tor browser

Aperta

#52 aperta il 14 ago 2021

 (8 commenti) (0 reazioni) (0 assegnatari)TypeScript (50 fork)auto 404
bughelp wanted

Metriche repository

Star
 (1033 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

Can't open popup for translate page, can't open dictionary

Inspector log: "A mutation operation was attempted on a database that did not allow mutations"

Solution: use browser.storage.local instead indexDB everywhere when it possible, we must use indexDB only for optional cache and other improvements

The real problem

This components are use indexDB

  • Content script for getting config
  • Dictionary for entries
  • Checkbox for favorites

To fix this problem its all should stop use indexDB. It is not possible because indexDB is most efficient method of store data.

Consequent, this problem will not fix if we can't disable only dictionary, translators cache and site preferences.

Task

We must research whats features we should disable to make it work.

If you want make it work in tor, you can research it and write in comments about results

Guida contributor