Skip to content

WebPullBook v1.7.1 (Beta)

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 24 Nov 03:09

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), made serializeChapterXhtml idempotent via node cloning, normalized EPUB 2 markup (<figure>, <figcaption>, <blockquote>), guarded pop-up footnotes, decoded UTF-8 __cf_email__, parsed comma-safe srcset, mapped <u>/<s> to wpb-* spans, pruned dangling #fragment links, normalized BCP-47 languages, converted image/bmp covers/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 #ffffff JPEG canvas flattening, enforced ZIP32 bounds/path-traversal/duplicate-entry checks with deflate-raw error fallback, escaped </style in HtmlExporter, scoped per-chapter HTML IDs, and embedded chapter images as offline data: URIs.
  • Storage, Workspace & Import Security (src/workspace/, src/core/text-utils.js): Added sanitizeImportedOptions(), sanitizeDomainRules(), sanitizeCoverPreviewUrl(), and path-traversal guards in sanitizePathSegment(), buildOutputPath(), and writeBlobToDirectoryHandle(); fixed Blob URL lifecycle revocation via chrome.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 with withDnrLock and ref-counted image slots (120..129) while preserving Firefox rule ID 1 and cleaning orphaned workspace rules; added 30s HTTP timeouts, RFC 9110 HTTP-date Retry-After, post-redirect URL verification in TabRenderPool, query-aware PageDomCache, single-flight enforceStorageCap(), <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/): Added MadaraThemeParser POST /ajax/chapters/ pre-SPA extraction, RoyalRoad expectedFictionId validation, ScribbleHub ?toc= NaN guards, 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-alt parity; strengthened dom-shim and idb-shim fidelity; and pinned addons-linter + EPUBCheck SHA-256 verification in CI/Release workflows.

Installation / Update

  • Chrome / Chromium: Download WebPullBook-v1.7.1.zip below, extract it to a folder, open chrome://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.zip below and load it via about:debugging#/runtime/this-firefox for temporary testing.