Makes backspace go back instead of modifying the search
当前为
// ==UserScript==
// @name Backspace History
// @namespace https://www.google.com
// @description Makes backspace go back instead of modifying the search
// @include https://www.google.com/*q=*
// @require http://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js
// @version 1.2
// @run-at document-end
// @grant none
// @locale en
// ==/UserScript==
this.$ = this.jQuery = jQuery.noConflict(true);
$(function() {
$(document).on('keydown', function(e) {
console.log(e.which);
if (e.which === 8) {
window.history.back();
return false;
}
})
});
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址