DeepSeek UnFilter

This copy the "thinking" process censored.

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 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         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 });
})();