Uses Ctrl+Shift+D to export a Gemini message to Google Docs, visually highlighting each interacted UI element. Handles UI variations.
当前为
This Tampermonkey UserScript provides a convenient keyboard shortcut (Ctrl + Shift + D) to streamline the process of exporting a specific message from a Google Gemini conversation directly to Google Docs.
The script automates a sequence of UI interactions:
Throughout this process, each UI element the script interacts with is briefly highlighted just before it's clicked, providing visual feedback of the automation steps.
More options, Export to... or Share & export, and Export to Docs) is briefly highlighted before being clicked, making the script's actions visible.https://gemini.google.com/app/* (specific conversations) and https://gemini.google.com/app (the main app page).https://gemini.google.com/app and have a conversation with at least one message displayed.Note: The script relies on specific data-test-id attributes and CSS classes present in Gemini's UI. Changes to Gemini's website structure may require updates to the script's selectors.
Takashi Sasaki
MIT