AI extra warning

erm actually

이 스크립트를 설치하려면 Tampermonkey, Greasemonkey 또는 Violentmonkey와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 Tampermonkey와 같은 확장 프로그램을 설치해야 합니다.

이 스크립트를 설치하려면 Tampermonkey 또는 Violentmonkey와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 Tampermonkey 또는 Userscripts와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 Tampermonkey와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 유저 스크립트 관리자 확장 프로그램이 필요합니다.

(이미 유저 스크립트 관리자가 설치되어 있습니다. 설치를 진행합니다!)

Advertisement:

이 스타일을 설치하려면 Stylus와 같은 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 Stylus와 같은 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 Stylus와 같은 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 유저 스타일 관리자 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 유저 스타일 관리자 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 유저 스타일 관리자 확장 프로그램이 필요합니다.

(이미 유저 스타일 관리자가 설치되어 있습니다. 설치를 진행합니다!)

Advertisement:

// ==UserScript==
// @name         AI extra warning
// @namespace    https://store.steampowered.com/app/
// @version      2025-10-07
// @description  erm actually
// @author       Me
// @run-at       document-idle
// @match        https://store.steampowered.com/app/*
// @grant        none
// @license      MIT
// ==/UserScript==
(function() {
    'use strict';

    // Check if target element exists
    let targetElement = document.getElementById('queueCtn');
    let headers = document.querySelectorAll('h2');

    // Check if any <h2> has the exact text
    let exists = Array.from(headers).some(h2 => h2.textContent.trim() === 'AI Generated Content Disclosure');

    if (exists) {
        let container = document.createElement('div');
        container.innerHTML = `
            <div class="mature_content_notice">
                <p>This game uses AI Generated Content.</p>
                <a href="#game_area_content_descriptors" class="btnv6_blue_hoverfade btn_medium"><span>Go to Disclosure</span></a>
            </div>
        `;
        targetElement.parentNode.insertBefore(container.firstElementChild, targetElement);
    }
})();