您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
4/24/2025, 2:53:21 PM
// ==UserScript== // @name Add Google Images Link to Mullvad Search // @namespace Violentmonkey Scripts // @match https://leta.mullvad.net/search* // @grant none // @version 1.0 // @author - // @description 4/24/2025, 2:53:21 PM // @license unlicense // ==/UserScript== function ready(fn) { if (document.readyState !== 'loading') { fn(); } else { document.addEventListener('DOMContentLoaded', fn); } } ready(function() { setTimeout(function() { const searchText = document.getElementById('search').value; const parent = document.getElementsByClassName('radio-group')[0]; const link = document.createElement('label'); link.className = 'svelte-535pip'; link.href = 'https://images.google.com'; link.innerText = 'Google Images'; link.onclick = function() { location.href = 'https://www.google.com/search?udm=2&q='+encodeURIComponent(searchText); } parent.appendChild(link); }, 200); });