Repository navigation
WebPullBook v1.7.1 (Beta)
Pre-release
Pre-release
WebPullBook v1.7.1 (Beta)
Security, Integrity & EPUB/Export Reliability
- Sanitization, XHTML & EPUB 2/3 Compliance (
src/core/sanitizer.js,src/core/xhtml-serializer.js,src/core/epub-builder.js,src/core/epub-templates.js): Stripped XML 1.0 illegal control chars and unpaired surrogates (stripInvalidXmlChars), madeserializeChapterXhtmlidempotent via node cloning, normalized EPUB 2 markup (<figure>,<figcaption>,<blockquote>), guarded pop-up footnotes, decoded UTF-8__cf_email__, parsed comma-safesrcset, mapped<u>/<s>towpb-*spans, pruned dangling#fragmentlinks, normalized BCP-47 languages, convertedimage/bmpcovers/images, and localized generated book labels (Cover,Author,Synopsis,Table of Contents,Start,Information,End of Book) across EPUB, HTML, Markdown, and TXT exporters. - Image & Archive Hardening (
src/core/image-processor.js,src/core/zip.js,src/exporters/html-exporter.js): Expanded 512-byte magic-byte MIME sniffing (skipping UTF-8 BOM/comments and rejecting SVG/HTML payloads), added white#ffffffJPEG canvas flattening, enforced ZIP32 bounds/path-traversal/duplicate-entry checks withdeflate-rawerror fallback, escaped</styleinHtmlExporter, scoped per-chapter HTML IDs, and embedded chapter images as offlinedata:URIs. - Storage, Workspace & Import Security (
src/workspace/,src/core/text-utils.js): AddedsanitizeImportedOptions(),sanitizeDomainRules(),sanitizeCoverPreviewUrl(), and path-traversal guards insanitizePathSegment(),buildOutputPath(), andwriteBlobToDirectoryHandle(); fixed Blob URL lifecycle revocation viachrome.downloads.onChanged.
Concurrency, Networking, Parsers & CI
- DNR, SPA & Cache Concurrency (
src/core/dnr-rules.js,src/core/net-fetcher.js,src/core/cache-store.js,src/core/rate-limiter.js,src/background/service-worker.js): Serialized DNR mutations withwithDnrLockand ref-counted image slots (120..129) while preserving Firefox rule ID1and cleaning orphaned workspace rules; added 30s HTTP timeouts, RFC 9110 HTTP-dateRetry-After, post-redirect URL verification inTabRenderPool, query-awarePageDomCache, single-flightenforceStorageCap(),<parsererror>cache rejection, and monotonic UI sequence guards. - Parser & Selector Fixes (
src/core/base-parser.js,src/core/parser-helpers.js,src/core/selector-utils.js,src/parsers/): AddedMadaraThemeParserPOST /ajax/chapters/pre-SPA extraction, RoyalRoadexpectedFictionIdvalidation, ScribbleHub?toc=NaNguards, NovelMania<dl>& pagination cap fixes, image-only chapter support, and prefix-safe multi-digit chapter ordering (ensureAscendingChapterOrder). - UI Hygiene, Test Shims & CI Hardening: Removed emojis across docs, website, and extension UI; improved
data-i18n-aria/data-i18n-altparity; strengtheneddom-shimandidb-shimfidelity; and pinnedaddons-linter+ EPUBCheck SHA-256 verification in CI/Release workflows.
Installation / Update
- Chrome / Chromium: Download
WebPullBook-v1.7.1.zipbelow, extract it to a folder, openchrome://extensions/with Developer mode enabled, and click Load unpacked (or Reload (↻) if already installed). - Mozilla Firefox (128+): Install directly from Firefox Add-ons (AMO) for signed packages and automatic updates, or download
WebPullBook-v1.7.1.zipbelow and load it viaabout:debugging#/runtime/this-firefoxfor temporary testing.