您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Adds the Startpage.com search term to page title for making it easier to tell tabs apart
// ==UserScript== // @name Startpage.com search term to page title // @version 1.0 // @description Adds the Startpage.com search term to page title for making it easier to tell tabs apart // @author Lynoure Braakman // @match https://startpage.com/sp/search* // @match https://startpage.com/do/search* // @match https://startpage.com/do/dsearch* // @match https://www.startpage.com/sp/search* // @match https://www.startpage.com/do/search* // @match https://www.startpage.com/do/dsearch* // @match https://eu.startpage.com/sp/search* // @match https://eu.startpage.com/do/search* // @match https://eu.startpage.com/do/dsearch* // @run-at document-end // @license GPL v3+ // @namespace https://gf.qytechs.cn/users/1497419 // ==/UserScript== (function() { 'use strict'; let query; function getSearchQuery() { const params = new URLSearchParams(window.location.search); // Try URL parameter 'q' let searchParam = params.get('q'); if (searchParam) return searchParam; const input = document.querySelector('input.search-form-input'); const searchTerm = input?.value || ''; return searchTerm; } query = getSearchQuery(); if (query) { document.title = query + ' - Startpage.com'; } else { document.title = "STARTPAGE.COM SEARCH - TAMPERMONKEY SCRIPT NEEDS UPDATING"; } })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址