Inject Google Translate Widget

Userscript version of "Google Translate This" from https://github.com/andreicristianpetcu/google_translate_this for Tampermonkey or Violentmonkey. v0.5 2019-11-06

< Feedback on Inject Google Translate Widget

Question/comment

§
Posted: 2019-11-08

Violentmonkey @inject-into

From https://violentmonkey.github.io/posts/inject-into-context/

… By introducing @inject-into, userscripts can be injected in Firefox now. In pages with CSP restrictions, we can inject userscripts into the content context. …

Does this help in any way?

§
Posted: 2019-11-08

Hmm, even if I change how the userscript loads, I don't know how to use the Google Translate widget without injecting Google's script tag directly into the page.

Post reply

Sign in to post a reply.