Greasy Fork is available in English.

按Alt点链接阻止下载

按下Alt,点链接后不会自动下载链接,兼容划词弹图标

// ==UserScript==
// @name         按Alt点链接阻止下载
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  按下Alt,点链接后不会自动下载链接,兼容划词弹图标
// @author       You
// @include      *
// @icon         data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==
// @grant        none
// @run-at       document-end
// @exclude      http*://mail.qq.com/*
// @exclude      http*://*.mail.qq.com/*
// ==/UserScript==

(function() {
    'use strict';

    document.querySelectorAll("a").forEach(function(elem){
        if(elem.href != 'javascript:;') {
            elem.onclick=function(event){
                if (!event.altKey){
                    return;
                }
                event.stopImmediatePropagation();
                event.preventDefault();
            }
        }
    });
})();