Greasy Fork

Greasy Fork is available in English.

DeepSeek UnFilter

This copy the "thinking" process censored.

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 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 });
})();