您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Export Perplexity.ai conversations as markdown with configurable citation styles
This script allows for downloading threads and pages from Perplexity as Markdown with citations included linked inline. Perplexity has since added export in the client itself, but this allows for inline linked citations and doesn't include the logo for a better experience.
This now uses the copy buttons on the page to get all of the citations. The previous method used the site content directly, but that results in citations with more than one source [Reddit +2]
only capturing the first link. This method gets every link properly and can export entire conversations at once. This should also (hopefully) result in this breaking less frequently due to html changes. Though this does result in clipboard permissions being requested, this is only to get the content, there is no networking in this script and it stays private.
Fallback methods exist if the copy button mode stops working.
Configure via the userscript menu (Tampermonkey/Greasemonkey icon):
[1](url)
- Clean inline citations([1](url))
- Inline citations wrapped in parentheses[1]
in text with sources listed at the end[source](url)
- Uses domain names like [wikipedia](url)
Configure these options through the userscript menu commands after installation.