MCPcopy Create free account

hub / github.com/blueberrycongee/DeepSeek-Chat-Exporter / functions

Functions19 in github.com/blueberrycongee/DeepSeek-Chat-Exporter

↓ 3 callersFunctiongetExportFilenameBase
* Builds a shared filename base for exports using the chat title when available * @returns {string} Filename base without an extension
deepseek_chat_exporter.user.js:283
↓ 2 callersFunctionesc
(s)
deepseek_chat_exporter.user.js:341
↓ 2 callersFunctiongenerateMdContent
* Generates the complete markdown content from all messages * @returns {string} Complete markdown formatted chat history
deepseek_chat_exporter.user.js:230
↓ 2 callersFunctiongetChatTitle
* Extracts the chat title from the page * @returns {string|null} The chat title if found, null otherwise
deepseek_chat_exporter.user.js:221
↓ 2 callersFunctionnavigateFiberPathFromElement
* Navigate a React fiber from a DOM element using a path string * Path format mirrors React DevTools output from __scanReact, e.g. "$0.return.child
deepseek_chat_exporter.user.js:98
↓ 1 callersFunctioncreateExportMenu
* Creates and attaches the export menu buttons to the page
deepseek_chat_exporter.user.js:452
↓ 1 callersFunctionextractFinalAnswer
* Extracts the final answer content from React fiber's memoizedProps * @param {HTMLElement} node - The DOM node containing the answer * @returns
deepseek_chat_exporter.user.js:153
↓ 1 callersFunctionextractSearchOrThinking
* Extracts search or thinking time information from a node * @param {HTMLElement} node - The DOM node to extract from * @returns {string|null} M
deepseek_chat_exporter.user.js:87
↓ 1 callersFunctionextractThinkingChain
* Extracts and formats the AI's thinking chain as blockquotes * @param {HTMLElement} node - The DOM node containing the thinking chain * @return
deepseek_chat_exporter.user.js:126
↓ 1 callersFunctiongetFormattedTimestamp
* Generates a filename-safe ISO 8601 timestamp * @returns {string} Formatted timestamp YYYY-MM-DD_HH_MM_SS
deepseek_chat_exporter.user.js:272
↓ 1 callersFunctiongetOrderedMessages
* Collects and formats all messages in the chat in chronological order * @returns {string[]} Array of markdown formatted messages
deepseek_chat_exporter.user.js:184
↓ 1 callersFunctiongetUserMessage
* Gets the message content if the node contains a user message, null otherwise * @param {HTMLElement} node - The DOM node to check * @returns {s
deepseek_chat_exporter.user.js:68
↓ 1 callersFunctioninit
* Initializes the exporter by waiting for the chat container to be ready * and then creating the export menu
deepseek_chat_exporter.user.js:645
↓ 1 callersFunctionisAIMessage
* Checks if a DOM node represents an AI message * @param {HTMLElement} node - The DOM node to check * @returns {boolean} True if the node is an
deepseek_chat_exporter.user.js:78
↓ 1 callersFunctionmakeFilenameSafe
* Creates a filename-safe version of a string * @param {string} str - The string to make filename-safe * @param {number} maxLength - Maximum len
deepseek_chat_exporter.user.js:258
↓ 1 callersFunctionwaitReady
()
deepseek_chat_exporter.user.js:417
FunctionexportMarkdown
* Exports the chat history as a markdown file * Handles math expressions and creates a downloadable .md file
deepseek_chat_exporter.user.js:297
FunctionexportPDF
* Exports the chat history as a PDF * Creates a styled HTML version and opens the browser's print dialog
deepseek_chat_exporter.user.js:317
FunctionexportPNG
* Exports the chat history as a PNG image * Creates a high-resolution screenshot of the chat content
deepseek_chat_exporter.user.js:363