Greasy Fork is available in English.

Jump Google Search Window

Let's jump!

질문, 리뷰하거나, 이 스크립트를 신고하세요.
// ==UserScript==
// @name         Jump Google Search Window
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  Let's jump!
// @author       ibuibu
// @match        https://*.google.com/*
// @grant        none
// ==/UserScript==

(function() {
    'use strict';
    document.onkeydown = function (e){
        if(e.keyCode == 83 && event.ctrlKey){//s key
            var s = document.querySelector('.gLFyf');
            var val = s.value;
            s.select();
            setTimeout(function(){
                s.value = val;
            })
        }
    }
})();