Option to disable being detected as using webdriver
As far as I remember it is expected that an automated web-browser claims to be such to avoid bot abuse. While I understand that webservers/services should not be abused, to the best of my knowledge, there is no accessibility workaround (for instance for people struggling with interacting with computers, or just for people willing to use Fennec with voice (while driving for instance)). I am currently developing a voice assistant able to automate actions such as [playing YouTube videos](https://codeberg.org/Benjamin_Loison/Voice_assistant/src/commit/abdeb3097b0c1bf9d3a2e93a450bf088cd250c9b/main.py#L1032-L1072) on https://m.youtube.com, however websites like YouTube (video stops after about a minute), GitLab (face [Cloudflare login loop](https://gitlab.com/Benjamin_Loison/gitlab/-/work_items/64)), ChatGPT ([does not accept access](https://codeberg.org/Benjamin_Loison/Improve_websites_thanks_to_open_source/issues/3571)) and Google ([does not accept login](https://github.com/Benjamin-Loison/firefox-android/issues/71)) do not work well if Fennec claims being used with webdriver.
As far as I know websites could limit abuse by rate limiting and captchas (that we actually can complete as humans).
`window.navigator.webdriver` is `true` if using Selenium, otherwise it is `false`, source: [Benjamin-Loison/firefox-android/issues/71#issuecomment-2887067770](https://github.com/Benjamin-Loison/firefox-android/issues/71#issuecomment-2887067770).
Setting `window.navigator.webdriver` to `false`, does not work, source: [Benjamin-Loison/firefox-android/issues/71#issuecomment-2887075029](https://github.com/Benjamin-Loison/firefox-android/issues/71#issuecomment-2887075029).
```bash
sudo sed -i 's/webdriver/gezagcerj/g' /data/app/~~iLp4OMXYNn0__XYrjDixvQ==/org.mozilla.fennec_fdroid-TMizR7sqFljmfFDMj7A-Ig==/lib/arm64/libxul.so
```
[works fine](https://github.com/Benjamin-Loison/firefox-android/issues/71#issuecomment-4467973679).
I do not feel comfortable with engaging yet with Firefox Android about this concern, as I suspect that they would not accept allowing hiding webdriver usage.
I would love to see a Fennec option to be able to hide webdriver usage. Current non-root workaround consists in installing a modified APK (with modified `lib/arm64/libxul.so` more precisely) which does not look clean to me.
What is your opinion on the topic?
issue