4 ms·
You can use userscripts (e.g. with Violentmonkey [1]) for Google Translate, e.g. [2]. Since you mentioned Tridactyl you might be interested to know that I wrot
by bovine3dom 6y ago
You can use userscripts (e.g. with Violentmonkey [1]) for Google Translate, e.g. [2].
Since you mentioned Tridactyl you might be interested to know that I wrote my own command to inject Google Translate on demand [3].
The extensions you mentioned were removed because they execute remote code. Mozilla are trying to tighten these restrictions [4]. I think Chrome is moving in a similar direction. I don't think that will affect the user script work-around as they execute in the page context, but I could be wrong.
[1]: https://addons.mozilla.org/en-US/firefox/addon/violentmonkey/ https://addons.mozilla.org/en-US/firefox/addon/violentmonkey...
[2]: https://greasyfork.org/en/scripts/9285-translate-google-tooltip https://greasyfork.org/en/scripts/9285-translate-google-tool...
[3]: https://github.com/tridactyl/tridactyl/blob/c776f722944714eef77a8dc3dd82d0e813befdab/.tridactylrc#L140 https://github.com/tridactyl/tridactyl/blob/c776f722944714ee...
[4]: https://blog.mozilla.org/addons/2019/12/12/test-the-new-csp-for-content-scripts/ https://blog.mozilla.org/addons/2019/12/12/test-the-new-csp-...
- cmeacham98 6y agoI've never heard of violentmonkey, how does it compare to grease/tampermonkey?
- bovine3dom 6y agoViolentmonkey is very actively developed [1]. Greasemonkey isn't [2]. Tampermonkey is closed source so I view it with some suspicion. Otherwise they're all pretty much the same, as far as I know (I don't use them extensively). [1]: https://github.com/violentmonkey/violentmonkey/graphs/contributors https://github.com/violentmonkey/violentmonkey/graphs/contri... [2]: https://github.com/greasemonkey/greasemonkey/graphs/contributors https://github.com/greasemonkey/greasemonkey/graphs/contribu...