您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Change the tab title to the keys you type on Bing search pages
当前为
// ==UserScript== // @name Bing Tab Title Changer // @namespace https://tampermonkey.net/ // @version 0.2 // @description Change the tab title to the keys you type on Bing search pages // @author perXautomatik // @match https://www.bing.com/search?q=* // @grant none // @license MIT // ==/UserScript== (function() { 'use strict'; // Create an array to store the buffered keys var buffer = []; // Create a variable to store the prefix var prefix = "Bing ChatGPT: "; // Add a keydown event listener to the document document.addEventListener("keydown", function(event) { // Check if the key is Enter if (event.key === "Enter") { // Set the tab title to the prefix and the buffered keys joined as a string document.title = prefix + buffer.join(""); // Clear the buffer buffer = []; } else if (event.key === "Backspace" || event.key === "Delete") { // Remove the last key from the buffer buffer.pop(); } else { // Check if the key is an arrow key if (event.key !== "ArrowUp" && event.key !== "ArrowDown") { // Push the key to the buffer buffer.push(event.key); } } }); })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址