Google Translator Tooltip Expanded Fork

Translates the selected text into a tooltip automatically. Fork from https://greasyfork.org/scripts/5727/

< 脚本Google Translator Tooltip Expanded Fork的反馈

评价:好评 - 脚本运行良好

§
发表于:2017-11-19

Doesn't work on GitHub.

Trying to translate something on GitHub.com doesn't work... In Firefox's console it says: Error: call to eval() blocked by CSP In Chrome on GitHub also doesn't work... in console: Uncaught EvalError: Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script in the following Content Security Policy directive: "script-src assets-cdn.github.com". On other sites works fine.

§
发表于:2017-11-21

I think it has something to do with script manager, after firefox 57 release i switched to ViolentMonkey in which it doesn't work. Now i switched to TamperMonkey and it works again.

发表回复

登录以发表回复。