AIIRL

REAL LIFE AI

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         AIIRL
// @version      1.0.1
// @description  REAL LIFE AI
// @author       jamesliu96
// @license      MIT
// @namespace    https://jamesliu.info/
// @homepage     https://gist.github.com/jamesliu96/fcdf86b41d9bd2e768e288cb7b36744f
// @match        https://www.doubao.com/*
// @match        https://www.ciciai.com/*
// @icon         https://lf-flow-web-cdn.doubao.com/obj/flow-doubao/doubao/web/logo-icon.png
// @icon         https://sf-flow-web-cdn.ciciaicdn.com/obj/ocean-flow-web-sg/cici_web/logo-icon-cici.png
// @connect      doubao.com
// @connect      ciciai.com
// ==/UserScript==

addEventListener('load', () => {
  setInterval(() => {
    const el = Array.from(document.querySelectorAll('span')).find(
      (x) =>
        x.className.includes('disclaimer-text') ||
        (x.textContent.includes('不能完全') && x.textContent.match(/might/i))
    );
    if (el && el.textContent) {
      el.textContent = el.textContent
        .replace(/(不能)(完全)/, '$2$1')
        .replace(/might/i, 'Must');
    }
  }, 100);
});