一个强大的脚本,可以将网页转换为 PDF,支持阅读模式、编辑模式和多语言。
功能特点
- 🔍 智能提取网页主要内容
- 📖 阅读模式,去除广告和干扰元素
- ✏️ 编辑模式,支持文本编辑和图片调整
- 🖨️ 一键导出 PDF
- 🌐 支持中英文界面
- 🎯 可拖动的悬浮按钮
- 💾 记忆按钮位置
- 🖼️ 智能处理LazyLoad图片
- 🎨 丰富的文本编辑工具
- 📏 自动分页和图片布局优化
- 🔄 保持图片完整性,避免分页切割
Chrome可以直接使用我的Chrome插件版本,保持A4/100%缩放就能防止图片截断:https://github.com/martjay/Web2Pdf-Chrome-Extension
Firefox打印PDF时可以使用“简化版本”格式,应该能防止图片截断,可能网页看起来字体不好看,但是实际上保存后在pdf阅读器挺好看的。
A powerful script that can convert web pages to PDF, supports reading mode, editing mode, and multiple languages.
Functional features
- 🔍 intelligently extract the main content of the webpage
- 📖 reading mode, remove ads and distractions
- ✏️ editing mode, supports text editing and image adjustment
- 🖨️ one click to export PDF
- 🌐 support Chinese and English interface
- 🎯 draggable floating buttons
- 💾 memory button position
- 🖼️ intelligently process LazyLoad images
- 🎨 rich text editing tools
- 📏 automatic pagination and image layout optimization
- 🔄 maintain picture integrity and avoid page cutting
Chrome can use my Chrome plugin version directly, keep A4/100% zoom to prevent image truncation: https://github.com/martjay/Web2Pdf-Chrome-Extension
Firefox can use the "simplified version" format when printing PDFs, which should prevent pictures from being truncated. Maybe the webpage looks bad, but it actually looks good in a pdf reader after saving.