Enable "Automatically translate when clicking on a link that takes you to the same domain as the current site" on Firefox/Fennec Android #734
qwerty12
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Tested with TWP 9.9.0.30 with Fennec F-Droid 119.1.0 on Android 12
Credits for the idea to use WebIDE is from here: arkenfox/user.js#1147
Set up ADB/Android USB debugging with your Android device - make sure
adb
is working with your device before continuingStart Fennec on your Android device, go to the Firefox settings and enable the option Remote debugging via USB
Launch Firefox on the same computer ADB is connected to, and in it, go to
about:debugging
Click Enable USB Devices and on the left of the Firefox Debugging page, you should see your Android device. Click Connect and select the device
Scroll down and click the Inspect button for the Multiprocess Toolbox entry
Click Console, and run the following:
Go back to the about:debugging page and click the Inspect button for TWP - Translate Web Pages
In the Console for TWP, run
await browser.storage.local.set({autoTranslateWhenClickingALink: "yes"});
Wait a second and restart Firefox on your device
In the TWP settings, the Automatically translate when clicking on a link that takes you to the same domain as the current site option should be set to yes.
Beta Was this translation helpful? Give feedback.
All reactions