Copy selected link(s) on any page to the clipboard as Markdown in the form [text](url). Supports single or multiple anchors inside selection, URL text detection, and page fallback. Includes a keyboard shortcut and a menu command.
- Copies selected link(s) as Markdown
[text](url) - Single or multiple anchors; for multiple links outputs a Markdown bullet list
- Detects URL in selected text when no anchor is present
- Fallback to
[document.title](location.href)when nothing is selected - Keyboard shortcut:
Cmd/Ctrl + Shift + M - Menu command via
GM_registerMenuCommand
- All sites:
*://*/*
- Install a user script manager:
- Install the script:
- Select link(s) or text on the page
- Trigger one of the following:
- Press
Cmd/Ctrl + Shift + M - Use the menu command “复制选中链接为 Markdown”
- Press
- Clipboard will contain Markdown; multiple links produce a Markdown bullet list
- Finds anchors that intersect the current selection range and parent anchor when cursor is inside a link
- Builds absolute URLs via
new URL(anchor.href, location.origin) - Uses Clipboard API with
document.execCommand('copy')fallback
Works on modern browsers with Tampermonkey/Violentmonkey.
- Initial release: selection parsing, multi‑link output, shortcut and menu
- Link: Greasy Fork · Greasy Fork · ScriptCat · GitHub
- Features: Add custom tags and notes to user, post, video and other links
- Highlights: Support special tag filtering (like spam, block, clickbait, etc.), data export/import, auto-mark viewed posts
- Supported Sites: V2EX, X(Twitter), Reddit, GitHub, Bilibili, Zhihu, Linux.do, Youtube and 50+ websites
- Description: Super useful tag management tool for adding tags to forum users or posts, making it easy to identify or block low-quality content
- Link: Greasy Fork · ScriptCat · GitHub
- Features: Real-time filtering and hiding of scripts on GreasyFork
- Highlights: Available as both a userscript and a browser extension
- Supported Sites: Greasy Fork
- Description: A tool that supports real-time filtering and hiding on GreasyFork, available in userscript and browser extension versions
- Link: Greasy Fork · ScriptCat · GitHub
- Features: Per-site grouping, icon support, floating or sidebar navigation panel
- Highlights: Floating/Sidebar modes, URL/JS script support, visual editor, keyboard shortcuts
- Supported Sites: All websites
- Description: A powerful userscript that streamlines your browsing workflow with a customizable navigation panel for quick access to favorite links and scripts
- Link: Greasy Fork
- Features: Open third-party website links in new tabs, parse text links into hyperlinks
- Highlights: Support custom rules, parse Markdown and BBCode formats, convert image links to image tags
- Supported Sites: Universal for all websites, including Google, YouTube, GitHub, V2EX, etc.
- Description: Enhance link browsing experience, automatically process various link formats for more convenient web browsing
- Link: Greasy Fork · ScriptCat · GitHub
- Features: Quickly find scripts for the current site across multiple repositories
- Highlights: Settings dialog, real-time sync, smart domain extraction
- Supported Sites: All websites
- Description: A user script to quickly find scripts for the current site across multiple repositories, now with a settings dialog and real-time sync across tabs
MIT License — see the repository LICENSE file.
Issues and pull requests are welcome!