DeepSeek UnFilter

This copy the "thinking" process censored.

Bu betiği kurabilmeniz için Tampermonkey, Greasemonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

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

Bu betiği kurabilmeniz için Tampermonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Userscripts gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

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

Bu komut dosyasını yüklemek için bir kullanıcı komut dosyası yöneticisi uzantısı yüklemeniz gerekecek.

(Zaten bir kullanıcı komut dosyası yöneticim var, kurmama izin verin!)

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.

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

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

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

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

(Zateb bir user-style yöneticim var, yükleyeyim!)

// ==UserScript==
// @name         DeepSeek UnFilter
// @namespace    http://tampermonkey.net/
// @version      2025-01-30
// @description  This copy the "thinking" process censored.
// @author       Fptbb (Made By DeepSeek R1)
// @license      MIT
// @match        https://chat.deepseek.com/*
// @icon         https://www.google.com/s2/favicons?sz=64&domain=deepseek.com
// @grant        none
// ==/UserScript==

(function() {
    'use strict';
    const observer2 = new MutationObserver(function(mutations) {
        const nodesToRestore = [];

        // First pass: Identify nodes to restore
        mutations.forEach((mutation) => {
            if (mutation.removedNodes.length > 0) {
                Array.from(mutation.removedNodes).forEach((node) => {
                    if (node.nodeType === Node.ELEMENT_NODE &&
                        node.classList.contains("edb250b1")) {
                        nodesToRestore.push({
                            node: node,
                            parent: mutation.target
                        });
                    }
                });
            }
        });

        // Second pass: Restore nodes if parent still exists
        if (nodesToRestore.length > 0) {
            // Temporarily disconnect observer to prevent infinite loop
            observer2.disconnect();

            nodesToRestore.forEach(({ node, parent }) => {
                if (parent.isConnected) {
                    parent.appendChild(node);
                }
            });

            // Reconnect observer after restoration
            observer2.observe(document.body, { childList: true, subtree: true });
        }
    });

    observer2.observe(document.body, { childList: true, subtree: true });
})();