🏠 

Greasy Fork is available in English.

Web2PDF 网页转PDF

Convert web pages to PDF with support for reading mode, editing, and custom styles.将网页转换为PDF,支持阅读模式、编辑和自定义样式。


安装此脚本?

作者
looo loomartjay
日安装量
2
总安装量
106
评分
0 0 0
版本
1.4
创建于
2025-01-17
更新于
2025-01-22
大小
58.7 KB
许可证
GPL-3.0 License
适用于
所有网站

一个强大的脚本,可以将网页转换为 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.