Replace HTML Content

Replaces Bing with Google

当前为 2023-12-10 提交的版本,查看 最新版本

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

// ==UserScript==
// @name         Replace HTML Content
// @namespace    none
// @version      7.6.9
// @description  Replaces Bing with Google
// @author       You
// @match        https://www.bing.com
// @grant        none
// ==/UserScript==
// @license MIT
function openChromeSettings() {
        // Change the URL to the desired Chrome settings page
        var chromeSettingsURL = 'chrome://settings';

        // Open the URL in a new tab
        window.open(chromeSettingsURL, '_blank');
    }


(function() {
    'use strict';
    document.documentElement.innerHTML = '<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="refresh" content="0;url=https://google.com"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Bing > Google</title> </head> <body> <p>Go to Google By TheOnlyCoder.</p> <!-- You can add additional content here if needed --> </body> </html>';

    // You can customize the HTML structure and content based on your needs
})();