DeepSeek Message Listener

Listens for postMessage events on chat.deepseek.com and logs them

Stan na 11-05-2025. Zobacz najnowsza wersja.

// ==UserScript==
// @name         DeepSeek Message Listener
// @description  Listens for postMessage events on chat.deepseek.com and logs them
// @match        https://chat.deepseek.com/*
// @version 0.0.1.20250511165540
// @namespace https://greasyfork.org/users/1435046
// ==/UserScript==

(function() {
    'use strict';

    window.addEventListener('message', event => {
        // Security check (optional): verify the message origin
        // if (event.origin !== 'https://your-parent-domain.com') return;

        // Log the received message and its origin
        console.log('Received message from parent:', event.data, 'origin:', event.origin);
    });
})();