translate-tools/linguist

Not work in tor browser

开放

#52 创建于 2021年8月14日

 (8 条评论) (0 个反应) (0 位负责人)TypeScript (50 个派生)auto 404
bughelp wanted

仓库指标

星标
 (1,033 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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

贡献者指南