Webpage to Markdown

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

Yazar
Feiyt
Günlük kurulumlar
0
Toplam kurulumlar
0
Değerlendirmeler
0 0 0
Versiyon
1.0
Oluşturulma
13.04.2025
Güncellenme
13.04.2025
Size
15,3 KB
Lisans
MIT
Geçerli
Tüm siteler

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) 文件。