KeepXFXingHuo

沉浸式体验科大讯飞的星火认知大模型,支持国产,感觉讯飞星火体验还不错

اعتبارا من 08-05-2023. شاهد أحدث إصدار.

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

ستحتاج إلى تثبيت إضافة مثل Stylus لتثبيت هذا النمط.

ستحتاج إلى تثبيت إضافة لإدارة أنماط المستخدم لتتمكن من تثبيت هذا النمط.

ستحتاج إلى تثبيت إضافة لإدارة أنماط المستخدم لتثبيت هذا النمط.

ستحتاج إلى تثبيت إضافة لإدارة أنماط المستخدم لتثبيت هذا النمط.

(لدي بالفعل مثبت أنماط للمستخدم، دعني أقم بتثبيته!)

// ==UserScript==
// @name              KeepXFXingHuo
// @description       沉浸式体验科大讯飞的星火认知大模型,支持国产,感觉讯飞星火体验还不错
// @version           1.0
// @author            xcanwin
// @namespace         https://github.com/xcanwin/KeepXFXingHuo/
// @supportURL        https://github.com/xcanwin/KeepXFXingHuo/
// @license           GPL-2.0-only
// @match             https://xinghuo.xfyun.cn/desk
// @run-at            document-idle
// ==/UserScript==

(function() {
    'use strict';

    const $ = (Selector, el) => (el || document).querySelector(Selector);
    const $$ = (Selector, el) => (el || document).querySelectorAll(Selector);

    window.onload = function() {
        setTimeout(function() {
            $(".pages_switchTheme__2DNsU").lastElementChild.click();//切换沉浸主题
            $(".pages_switchTheme__2DNsU").remove();//清理主题切换按钮
            $(".pages_window_switch__J40yj").lastElementChild.click();//进入历史对话
            $(".pages_window_switch__J40yj").firstElementChild.remove();//清理推荐对话
            //清理水印//各位先留着吧,支持国产
            $(".header_version_select__qCy40").remove();//清理顶部
            $(".welcome-window_prompt_wrapper__nExUq").remove();//清理首页提示词指引
            $(".affix_affix_content__-gEBT").parentElement.remove();//清理侧边栏
            $(".chat-window_tip__-THKF").remove();//清理尾部
        }, 1000);
    };

})();