您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Based on: https://forum.vivaldi.net/topic/100661/disable-use-a-passkey-prompt/2
// ==UserScript== // @name Disable "Use a passkey" prompt // @description Based on: https://forum.vivaldi.net/topic/100661/disable-use-a-passkey-prompt/2 // @namespace antoniszymanski // @author Antoni Szymański // @version 1.0.1 // @license MPL-2.0 // @match <all_urls> // ==/UserScript== (() => { "use strict"; function handle(el) { const attr = el.getAttribute("autocomplete"); if (attr !== null) { el.setAttribute("autocomplete", attr.replaceAll("webauthn", "")); } } for (const el of document.querySelectorAll(`[autocomplete*="webauthn"]`)) { handle(el); } new MutationObserver((mutations) => { for (const mutation of mutations) { for (const node of mutation.addedNodes) { if (node instanceof Element) { handle(node); } } } }).observe(document.body, { childList: true, subtree: true }); })();