Webpage to Markdown

Convert webpage to Markdown via Tampermonkey menu. Significantly optimizes content selection logic, reducing content loss and useless elements.

作者
Feiyt
日安装量
0
总安装量
0
评分
0 0 0
版本
1.0
创建于
2025-04-13
更新于
2025-04-13
大小
15.3 KB
许可证
MIT
适用于
所有网站

This Tampermonkey userscript (v1.0) converts the main content of a webpage into Markdown format. It features logic for selecting the relevant content area, aiming to reduce unwanted elements like navigation, footers, and ads for a cleaner output. How to Use:

  1. Ensure you have the Tampermonkey (or a compatible) browser extension installed.
  2. Install this userscript (v1.0).
  3. Navigate to the webpage you want to convert.
  4. Click the Tampermonkey icon in your browser toolbar.
  5. Select "Convert Page to Markdown (v1.0)" from the menu.
  6. A dialog box should appear, prompting you to save the Markdown (.md) file.

这是一个 Tampermonkey 用户脚本 (v1.0),用于将网页的主要内容转换为 Markdown 格式。它包含用于选择相关内容区域的逻辑,旨在减少导航、页脚、广告等无关元素,以获得更整洁的输出。 使用方法:

  1. 确保已安装 Tampermonkey (或兼容的) 浏览器扩展。
  2. 安装此用户脚本 (v1.0)。
  3. 访问您想要转换的网页。
  4. 点击浏览器工具栏中的 Tampermonkey 图标。
  5. 从菜单中选择 “Convert Page to Markdown (v1.0)”。
  6. 浏览器应弹出对话框,提示您保存 Markdown (.md) 文件。

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址