linguist icon indicating copy to clipboard operation
linguist copied to clipboard

Background script is unavailable

Open oifj34f34f opened this issue 1 year ago • 5 comments

OS: Linux Browser: Firefox

This happens if browser history is disabled:

oifj34f34f avatar Oct 12 '23 13:10 oifj34f34f

Might be related to https://github.com/translate-tools/linguist/issues/52

oifj34f34f avatar Oct 12 '23 13:10 oifj34f34f

@oifj34f34f could you please add examples of extensions that works for your browser with disabled javascript. I will investigate the problem

vitonsky avatar Oct 12 '23 15:10 vitonsky

I have Violentmonkey (all userscripts including https://github.com/qsniyg/maxurl work), uBlock Origin and LibRedirect

oifj34f34f avatar Oct 12 '23 16:10 oifj34f34f

Is this how it's supposed to be? We can close this issue if Linguist depends on browser history.

oifj34f34f avatar Oct 21 '23 07:10 oifj34f34f

No, we should not close issue. It is good you detect this bug. Probably some WebExtension API are limited when you change this option in browser. It is possible that Linguist even don't use actively this API, so we can just remove module that throw error and problem will be fixed

vitonsky avatar Oct 21 '23 07:10 vitonsky