Greasy Fork

Greasy Fork is available in English.

ChatGPT国内极速无广告访问

适用于许多国内访问速度较慢的用户,可以加快页面加载速度并提高聊天室的稳定性。

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// ==UserScript==
// @name         ChatGPT国内极速无广告访问
// @namespace    https://chat.ichen.ink/
// @version      1.0.3
// @description  适用于许多国内访问速度较慢的用户,可以加快页面加载速度并提高聊天室的稳定性。
// @author       阿晨
// @include      *://*.baidu.com/*
// @include      *://*.sogou.com/*
// @include      *://*.so.com/*
// @include      *://*.lcxlh.com/*
// @include      *://*.qwant.com/*
// @include      *://*.bing.com/*
// @match        *://*.baidu.com/*
// @match        *://*.sogou.com/*
// @match        *://*.so.com/*
// @match        *://*.lcxlh.com/*
// @match        *://*.qwant.com/*
// @match        *://*.bing.com/*
// @match        *://*.soso.com/*
// @match        *://*.chinaso.com*
// @match        *://*.maigoo.com/*
// @run-at       document-end
// @grant        none
// ==/UserScript==

(function () {
    'use strict';
    const jumpUrl = 'https://chat.ichen.ink';
const jumpWords = [
    'chatgpt加速',
    '聊天机器人',
    'chatgpt国内极速访问',
    'chatgpt',
    'chat加速',
    '智能ai',
    'chat',
].map(word => word.toLowerCase());
    const currentUrl = location.href;
    const currentHost = location.host;
    let inputElement;

    if (currentHost.includes('baidu.com')) {
        inputElement = document.getElementById('kw');
    } else if (currentHost.includes('sogou.com')) {
        inputElement = document.getElementById('upquery');
    }
    inputElement?.addEventListener('input', function (e) {
        const currentValue = e.target.value.trim().toLowerCase();
        jumpWords.forEach((word) => {
            if (currentValue.includes(word)) {
                window.location.replace(jumpUrl);
            }
        });
    });
})();