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: 2020-08-02

Not working anymore. It always transleted rutracker.org for me, but it's not working.

§
Posted: 2020-08-03

When I test in a private window with minimal scripts enabled (nearly all servers blocked in NoScript), it works here:

https://rutracker.org/forum/index.php

However, I did not test beyond that.

Does it work for you on any sites? If not, have you added any kind of Google isolation/container to your Firefox?

§
Posted: 2020-08-03

Rutracker is really the only site I use it for. I just tried it on a couple of other Russian sites and it still doesn't work. I'm not running any isolation containers.

§
Posted: 2020-08-04

After loading the page, if you open Firefox's Web Console and click the little trash can to clear messages, then insert the script, are there any messages associated with that step which might point toward the source of the problem?

https://developer.mozilla.org/docs/Tools/Web_Console

§
Posted: 2020-08-04

This is what comes up:

Promised response from onMessage listener went out of scope bundle.js:1:6510
r moz-extension://829b978d-4dec-446f-9034-dc2812719978/vendors/bundle.js:1
(Async: Async)
r moz-extension://829b978d-4dec-446f-9034-dc2812719978/vendors/bundle.js:1
r moz-extension://829b978d-4dec-446f-9034-dc2812719978/vendors/bundle.js:1
updateContent moz-extension://829b978d-4dec-446f-9034-dc2812719978/content/bundle.js:1
h moz-extension://829b978d-4dec-446f-9034-dc2812719978/vendors/bundle.js:1
dispatch moz-extension://829b978d-4dec-446f-9034-dc2812719978/vendors/bundle.js:7
dispatch moz-extension://829b978d-4dec-446f-9034-dc2812719978/vendors/bundle.js:1
setEvents moz-extension://829b978d-4dec-446f-9034-dc2812719978/content/bundle.js:1

§
Posted: 2020-08-04

Uncaught TypeError: f is undefined
_parseData https://code.createjs.com/createjs-2015.11.26.min.js:12
a https://code.createjs.com/createjs-2015.11.26.min.js:12
handleComplete https://rutrk.org/bn/skladchik/04/index.html:9
init https://rutrk.org/bn/skladchik/04/index.html:9
_dispatchEvent https://code.createjs.com/createjs-2015.11.26.min.js:12
dispatchEvent https://code.createjs.com/createjs-2015.11.26.min.js:12
_sendComplete https://code.createjs.com/createjs-2015.11.26.min.js:15
_loadNext https://code.createjs.com/createjs-2015.11.26.min.js:15
_handleError https://code.createjs.com/createjs-2015.11.26.min.js:15
on https://code.createjs.com/createjs-2015.11.26.min.js:12
_dispatchEvent https://code.createjs.com/createjs-2015.11.26.min.js:12
dispatchEvent https://code.createjs.com/createjs-2015.11.26.min.js:12
_sendError https://code.createjs.com/createjs-2015.11.26.min.js:15
handleEvent https://code.createjs.com/createjs-2015.11.26.min.js:15
on https://code.createjs.com/createjs-2015.11.26.min.js:12
_dispatchEvent https://code.createjs.com/createjs-2015.11.26.min.js:12
dispatchEvent https://code.createjs.com/createjs-2015.11.26.min.js:12
_handleError https://code.createjs.com/createjs-2015.11.26.min.js:15
proxy https://code.createjs.com/createjs-2015.11.26.min.js:16
load https://code.createjs.com/createjs-2015.11.26.min.js:15
load https://code.createjs.com/createjs-2015.11.26.min.js:15
load https://code.createjs.com/createjs-2015.11.26.min.js:16
_loadItem https://code.createjs.com/createjs-2015.11.26.min.js:15
_loadNext https://code.createjs.com/createjs-2015.11.26.min.js:15
setPaused https://code.createjs.com/createjs-2015.11.26.min.js:15
loadManifest https://code.createjs.com/createjs-2015.11.26.min.js:15
init https://rutrk.org/bn/skladchik/04/index.html:9
onload https://rutrk.org/bn/skladchik/04/index.html:1
createjs-2015.11.26.min.js:12:17890

§
Posted: 2020-08-04

Thanks. I can't tell if any of that is related to my script or the Google scripts it injects. Are other user scripts working on the page?

Post reply

Sign in to post a reply.