您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Allows CTRL+S to update the script.
当前为
// ==UserScript== // @name Pastebin CTRL+S in Editor // @version 1.0.0 // @description Allows CTRL+S to update the script. // @author celliott1997 // @match http*://*pastebin.com/* // @grant none // @namespace https://greatest.deepsurf.us/users/8398 // ==/UserScript== $(document).ready(function(){ var TextArea = $("textarea#paste_code"); var SubmitBtn = $("input.button1.btnbold[type='submit']"); if (TextArea.length && SubmitBtn.length){ $(document).keydown(function(evt){ if (evt.ctrlKey && (evt.which == 83)){ evt.preventDefault(); SubmitBtn.click(); }; }); }; });