您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Greasy Fork is available in English.
印象笔记网页版禁用保存网页功能
// ==UserScript== // @name 印象笔记网页版禁用保存网页功能 disable page saving function for evernote/yingxiangbiji // @namespace http://tampermonkey.net/ // @version 1.1.0 // @description 印象笔记网页版禁用保存网页功能 // @author NEOTSO // @match https://app.yinxiang.com/* // @grant none // ==/UserScript== (function () { "use strict"; const disableSave = (e) => (e.ctrlKey || e.metaKey) && e.keyCode === 83 && e.preventDefault(); document.onkeydown = disableSave; var observer = new MutationObserver(function (mutations, self) { var el = document.querySelector("#mceu_1 iframe"); if (el) { console.log('found!') el.contentDocument.onkeydown = disableSave; self.disconnect(); } }); observer.observe(document, { childList: true, subtree: true, }); })();