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

这些是代码更新过的版本。 显示所有版本

  • v1.0.11 2020-04-10 don't select the text
  • v1.0.10 2019-12-16 also focus textarea
  • v1.0.9 2019-10-16 bugfix
  • v1.0.8 2019-03-10 pierce shadow dom
  • v1.0.7 2018-10-11
  • v1.0.6 2018-10-11
  • v1.0.5 2018-05-22 also restore the scroll position
  • v1.0.4 2016-03-11 Add explicit `@include *` as Tampermonkey requires it now
  • v1.0.3 2015-04-28 simplify the code
  • v1.0.2 2015-04-28 don't enumerate further if the first found input has some text
  • v1.0.1 2015-04-27 typo
  • v1.0 2015-04-27

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址