KeepXFXingHuo

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

目前為 2023-05-08 提交的版本,檢視 最新版本

  1. // ==UserScript==
  2. // @name KeepXFXingHuo
  3. // @description 沉浸式体验科大讯飞的星火认知大模型,支持国产,感觉讯飞星火体验还不错
  4. // @version 1.0
  5. // @author xcanwin
  6. // @namespace https://github.com/xcanwin/KeepXFXingHuo/
  7. // @supportURL https://github.com/xcanwin/KeepXFXingHuo/
  8. // @license GPL-2.0-only
  9. // @match https://xinghuo.xfyun.cn/desk
  10. // @run-at document-idle
  11. // ==/UserScript==
  12.  
  13. (function() {
  14. 'use strict';
  15.  
  16. const $ = (Selector, el) => (el || document).querySelector(Selector);
  17. const $$ = (Selector, el) => (el || document).querySelectorAll(Selector);
  18.  
  19. window.onload = function() {
  20. setTimeout(function() {
  21. $(".pages_switchTheme__2DNsU").lastElementChild.click();//切换沉浸主题
  22. $(".pages_switchTheme__2DNsU").remove();//清理主题切换按钮
  23. $(".pages_window_switch__J40yj").lastElementChild.click();//进入历史对话
  24. $(".pages_window_switch__J40yj").firstElementChild.remove();//清理推荐对话
  25. //清理水印//各位先留着吧,支持国产
  26. $(".header_version_select__qCy40").remove();//清理顶部
  27. $(".welcome-window_prompt_wrapper__nExUq").remove();//清理首页提示词指引
  28. $(".affix_affix_content__-gEBT").parentElement.remove();//清理侧边栏
  29. $(".chat-window_tip__-THKF").remove();//清理尾部
  30. }, 1000);
  31. };
  32.  
  33. })();