您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Accept the license agreement and persistently set Bing region to US and language to English
当前为
// ==UserScript== // @name Bing US Region Setter and License Acceptor with Persistent US Setting // @namespace http://tampermonkey.net/ // @version 1.1 // @description Accept the license agreement and persistently set Bing region to US and language to English // @author Shadow_Kurgansk // @match https://www.bing.com/* // @grant none // @license MIT // ==/UserScript== (function() { 'use strict'; // Function to persistently set Bing region to US and language to English function setBingRegionToUS() { const url = new URL(window.location.href); url.searchParams.set('setlang', 'en-us'); // Set language to English (US) // If the URL has changed, reload the page with the new parameters if (window.location.href !== url.href) { window.location.href = url.href; } } // Function to accept the license agreement with a delay function acceptLicenseAgreement() { // Wait for 2000 milliseconds (2 seconds) before trying to click the button setTimeout(function() { // Use the ID provided in the image for the 'Accept' button const acceptButton = document.querySelector('#bnp_btn_accept.bn_p_btn_accept'); if (acceptButton) { acceptButton.click(); // Call the function to set the region and language only once after clicking the accept button setBingRegionToUS(); } }, 200); // Adjust the time as needed } // Execute the acceptLicenseAgreement function when the page includes 'bing.com' if (window.location.href.includes('bing.com')) { acceptLicenseAgreement(); } })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址