Focus input text field on Esc

Focus the first visible input text field when you press Esc key, or restore the previously focused element on second press

< Feedback on Focus input text field on Esc

Question/comment

§
Posted: 2019-12-25

Please make it compatible with samsung internet browser and adguard

I do know it's a lot to ask. since adguard for Android lets you run almost any UserScripts in android browser (I use Samsung internet) I d love to use this super useful UserScript throught it. if the developer got time please make it compatible, it really one of the few UserScript not working in adguard for Android. thabks a lot

wOxxOmAuthor
§
Posted: 2019-12-26

Android virtual keyboards don't have Esc key (except a few weird ones like Technical Keyboard) so I don't see how I can make it compatible.

§
Posted: 2020-05-27

sorry for the late reply both kiwi browser and yandex Browser on Android support Chrome extension desktop like violent monkey in those browsers your script works perfectly (also if installed using adguard extension function). in Samsung browser instead is not working at all I think that changing key for triggering input focus may fix the issue.

wOxxOmAuthor
§
Posted: 2020-05-27

I still don't understand what I can do. To me, using this script on a mobile device just doesn't make any sense.

§
Posted: 2020-05-27

yes it's super useful(I have a very complex setup on my phone) by the way Thanks for making it! I fixed myself removing "e.shiftKey ||" so I can trigger it by shift del which is not interfering with Samsung internet esc function.

Post reply

Sign in to post a reply.