您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Pops up the Steam product activation dialog when copying keys from bundle pages with Cmd/Ctrl-C. Currently supports Humble Bundle and Indie Royale. Obviously requires that Steam is installed but also that it's allowed as the handler of steam:// protocol messages.
当前为
// ==UserScript== // @name The Redeemer // @namespace raina // @description Pops up the Steam product activation dialog when copying keys from bundle pages with Cmd/Ctrl-C. Currently supports Humble Bundle and Indie Royale. Obviously requires that Steam is installed but also that it's allowed as the handler of steam:// protocol messages. // @include /^https?:\/\/www\.humblebundle\.com\/downloads\?/ // @include /^https?:\/\/www\.humblebundle\.com\/home\/keys/ // @include /^https?:\/\/www\.humblebundle\.com\/home\/library/ // @include /^https?:\/\/www\.indieroyale\.com\/bundle\/key\// // @version 1 // @grant none // ==/UserScript== (function() { "use strict"; window.addEventListener("keypress", function(e) { if ("KeyC" === e.code && (e.ctrlKey || e.metaKey)) { window.location.href = "steam://open/activateproduct"; } }, false); }());