Add accesskey shortcut to Google search

Adds accesskey+f as shortcut for accessing Google search bar

目前为 2016-05-10 提交的版本。查看 最新版本

// ==UserScript==
// @name        Add accesskey shortcut to Google search
// @namespace   tpenguinltg
// @description Adds accesskey+f as shortcut for accessing Google search bar
// @include     https://www.google.*
// @version     1
// @grant       none
// ==/UserScript==

var searchBar = document.querySelector("input[name=q]");
if (searchBar) {
  searchBar.accessKey="f";
}

QingJ © 2025

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