Skip to content

Releases

WebPullBook v1.7.1 (Beta)

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.

WebPullBook v1.7.0 (Beta)

Pre-release

Choose a tag to compare

@github-actions github-actions released this 23 Nov 22:37

WebPullBook v1.7.0 (Beta)

Firefox MV3, Localization & Store Readiness

  • Manifest Localization (_locales/): Added native default_locale: "en" (en, pt_BR) manifest localization and wired CI validation (addons-linter on the release ZIP layout) in .github/workflows/ci.yml, .github/workflows/release.yml, and scripts/check.mjs.
  • Firefox Permissions & Image Fetching (src/workspace/, src/core/): Added the non-intrusive Firefox MV3 host-permissions banner in workspace.html (chrome.permissions.request), preserved Firefox Origin-removal rule ID 1 while adding temporary DNR Referer hotlink image fallback rules (120..129), extended toHighResCoverUrl() to strip resize and numeric w/h parameters, and DOM-mounted blob downloads for mobile/Firefox reliability.

Workspace Diagnostics, Parser Engine & Test Architecture

  • Inline Test Selectors (src/workspace/series-loader.js): Added #btn-test-selectors and #selector-test-result under Advanced Options to validate CSS selectors, report matched chapters/words/images, and support cache-bypassing previews (openChapterPreviewForTarget(..., { bypassCache })) without altering saved domain rules.
  • Parser & Core Deduplication (src/core/parser-helpers.js, src/core/selector-utils.js, src/parsers/): Shared URL, text-set, DOM descendant, selector-building, and inline JSON extraction helpers across BaseParser adapters and upgraded loadSeriesWithParser() to single-pass ParserRegistry.detectWithScores() scoring.
  • Test Split & Real Chromium E2E (tests/): Separated core networking/rate-limiter/path tests into tests/net-fetcher.test.js, tests/rate-limiter.test.js, and tests/text-utils.test.js, introduced tests/helpers/parser-snapshot.js, and expanded Playwright E2E coverage for sourceTabId live DOM capture, JavaScript-hydrated SPA TabRenderPool fallback, and inline selector diagnostics.

Website, Documentation & License Migration

  • Official Website & Automation (website/, scripts/): Removed stale client-side syncDocsFromRepo() overrides in website/assets/js/site.js, automated [data-wpb-link] store/repository links, Index JSON-LD metadata, and shallow-safe sitemap.xml <lastmod> synchronization in scripts/sync-website.mjs, updated SEO & distribution guidance, pointed release notes to AMO, added Guardrails & Single Sources of Truth to AGENTS.md, and resolved CodeQL scanning alerts.
  • License Migration (AGPL-3.0-or-later): Migrated WebPullBook from MIT to GNU Affero General Public License v3.0 (AGPL-3.0-or-later) starting with v1.7.0-beta (releases up to v1.6.1-beta remain historically under the MIT License).

Installation / Update

  • Chrome / Chromium: Download WebPullBook-v1.7.0.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.0.zip below and load it via about:debugging#/runtime/this-firefox for temporary testing.

WebPullBook v1.6.1 (Beta)

Pre-release

Choose a tag to compare

@github-actions github-actions released this 20 Nov 21:29

WebPullBook v1.6.1 (Beta)

UI & Cover Refinements

  • Reload Cover Button (src/workspace/cover-ui.js): Replaced the High-Res cover button with Reload Cover, which restores the original series cover after Generate Cover, Clear Cover, or a local upload (re-fetching it from the source page when needed) and automatically applies the high-resolution URL upgrade. Pasted cover URLs are also upgraded automatically.
  • Cover Preview Proportion: Fixed the cover preview frame to a vertical 2:3 book ratio instead of a squarish box.
  • Cleaner Selectors: Removed flag and theme emojis from the workspace language (Português / English) and theme selectors.

Documentation

  • Added the concise MAJOR.MINOR.PATCH versioning policy to AGENTS.md and CONTRIBUTING.md, and recorded the Firefox for Android roadmap and Mozilla Add-ons readiness notes in CHROMEWEBSTORE.md.

Installation / Update

  • Chrome / Chromium: Download WebPullBook-v1.6.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+): Download WebPullBook-v1.6.1.zip, open about:debugging#/runtime/this-firefox, click Load Temporary Add-on..., and select the .zip file directly.

WebPullBook v1.6.0 (Beta)

Pre-release

Choose a tag to compare

@github-actions github-actions released this 20 Nov 17:20

WebPullBook v1.6.0 (Beta)

New Features & Compatibility

  • NovelBin Structural Adapter (src/parsers/novelbin.js): Added React SPA adapter with structural DOM detection, automatic direct chapter-to-index resolution, JSON-LD author and full metadata extraction, cover support, and anonymized regression fixtures (verified end-to-end across multiple works with W3C EPUBCheck).
  • Generic SPA Engine & Sanitizer Upgrades: Fixed TabRenderPool stale-URL race condition when reusing a background tab across chapters; added waitForSelector and visible .skeleton checks in waitForDomStabilityInTab; fixed looksLikeSpaShell() to ignore <noscript> SEO fallbacks; ignored site-brand meta[name="author"] matching og:site_name in BaseParser; stripped .sr-only / .visually-hidden elements and separator-normalized / wrapper-nested duplicate chapter headings in HtmlSanitizer.

Security, Website & Documentation

  • Security Hardening & Tooling: Hardened URL and redirect validation (resolveSafeHttpUrl, assertSafeHttpUrl, sanitizeCoverPreviewUrl), eliminated filesystem TOCTOU patterns, enabled CodeQL security-and-quality scanning, updated .github/SECURITY.md and .github/CODE_OF_CONDUCT.md, and upgraded GitHub Actions workflow dependencies.
  • Official Website & Bilingual Documentation: Added a 5-theme selector, mobile single-row header down to 360px, automated scripts/sync-website.mjs synchronization, privacy-friendly GoatCounter analytics, English-default release/repository documentation with organized docs/pt/ Portuguese mirrors, expanded CONTRIBUTING.md, and narrowed GitHub Pages deploy triggers.

Installation / Update

  • Chrome / Chromium: Download WebPullBook-v1.6.0.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+): Download WebPullBook-v1.6.0.zip, open about:debugging#/runtime/this-firefox, click Load Temporary Add-on..., and select the .zip file directly.

WebPullBook v1.5.0 (Beta)

Pre-release

Choose a tag to compare

@github-actions github-actions released this 20 Nov 06:03

WebPullBook v1.5.0 (Beta)

New Features & Fixes

  • Automatic Default Cover with Logo (src/workspace/cover-ui.js): When a source page has no detectable cover image (or when creating a book via Merge Tabs or after a remote cover load failure), WebPullBook automatically generates and applies a default cover featuring the official project emblem, book title, and author (also available manually via Generate Cover).
  • End-of-Book Page (OEBPS/text/end.xhtml — Closing / Colophon): Configurable closing page under Advanced Options → Files & EPUB Standard (supporting custom heading, multi-line closing message, book summary, source URL link, and credits/generation date); the Table of Contents (nav.xhtml / text/toc.xhtml) always remains at the start of the book when enabled.
  • Volume & Chapter Multi-Selection (Ctrl+Click & Shift+Click): Added toggling behavior to Select All on Volumes, Ctrl+Click individual toggles and Shift+Click range selection directly on volume chips and chapter rows, plus normalization of generic chapter headings ("Capítulos", "Chapters", "Sumário") to Volume 01.
  • Per-Domain CSS Selector Isolation: CSS selectors and regex strip filters (customListSelector, customContentSelector, customExcludeSelector, customStripPatterns) are no longer persisted globally in wpbOptions (staying scoped to the active site session or saved Domain Rules), with automatic fallback in BaseParser to native adapter extraction when a stale custom selector matches zero chapters.
  • Centralized Manual Latency in Advanced Options: Manual delay between chapters (0–30000 ms, adjustable live and independent from Safe Mode) consolidated under Advanced Options → Network, SPA & Resilience.
  • Official Website (GitHub Pages), Documentation & Security Tooling: Static bilingual website under website/ synced automatically from repository documentation, AGENTS.md, CHROMEWEBSTORE.md, GitHub Pages workflow (pages.yml), CodeQL security-and-quality scanning (codeql.yml), and Dependabot monitoring (dependabot.yml), alongside URL protocol hardening (resolveSafeHttpUrl, assertSafeHttpUrl, sanitizeCoverPreviewUrl) and Web Crypto UUID generation.

Installation / Update

  • Chrome / Chromium: Download WebPullBook-v1.5.0.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+): Download WebPullBook-v1.5.0.zip, open about:debugging#/runtime/this-firefox, click Load Temporary Add-on..., and select the .zip file directly.

WebPullBook v1.4.0 (Beta)

Pre-release

Choose a tag to compare

@github-actions github-actions released this 20 Nov 04:11

WebPullBook v1.4.0 (Beta)

New Features

  • Redesigned Reader Profiles: Added Kindle (Legacy) (EPUB 2, tailored for Send to Kindle) and Kindle (Modern) (EPUB 3 for Calibre/KFX), alongside Modern Default, Kobo & E-Readers, Text Only, and Legacy Default. All profiles preserve image color (removed forced grayscale conversion). Updated selector order (Legacy Default above Custom). Reference guide available in docs/READER_PRESETS.md / docs/READER_PRESETS.pt.md.
  • Profile Selector in Advanced Options: Profiles act as complete fixed presets—picking a profile updates all corresponding advanced fields immediately, while modifying any advanced option switches the selector to Custom automatically.
  • Start-of-Book TOC & Customizable Information Page: Table of Contents (nav.xhtml / text/toc.xhtml) placed at the start of the book by default (with options to disable, move to end, or customize its title); Information Page allows toggling title, author/language/chapters, genres, source link, and synopsis.
  • Loading Overlay & Active-Tab Live DOM Capture: Instant loading overlay (#loading-overlay) on workspace launch and live DOM capture directly from the active tab (sourceTabId) via service-worker.js + PageDomCache, avoiding cold fetch() calls on SPAs and authenticated sessions.
  • Resilient Image Pipeline & [IMG] Logs: Binary magic-byte MIME sniffing (fixes octet-stream and rejects HTML 200 error pages disguised as images), automatic fallback to raw bytes if canvas conversion fails, anonymous retry (credentials: 'omit') on HTTP errors, content-hash deduplication across distinct URLs, animated GIF/APNG/WebP preservation, srcset/<picture>/data-orig-file resolution, and detailed [IMG] logging.
  • GenericHtmlParser & XHTML Sanitizer Upgrades: Added <br>-separated prose support, TOC vs. chapter classification (isTableOfContents), explicit TOC link discovery, automatic ascending order normalization, exact adjacent nextPrevUrls removal, __cf_email__ decoding, wp-block-spacer → <hr> conversion, inline-wrapped block unwrapping, leading duplicate heading removal, and internal cross-chapter EPUB link rewriting.
  • Adaptive Safe Mode, Manual Delay & SPA Security: AdaptiveRateLimiter with dynamic latency/error backoff, Retry-After compliance, and cooperative waiting; reusable TabRenderPool (1 background worker tab per queue), DOM stabilization wait, per-domain anti-bot circuit breaker, strict http(s): validation, and "Open page to verify ↗" banner button.
  • Library & Batch Updates: Added Download All Updates to check and export newly published chapters across saved works, plus optional unified vs. by-site grouping with domain filter and origin badges.
  • Visual Selector Picker (🎯 Pick), Quick Edit & Merge: Preview and inline quick-edit/merge chapters (with Edited badge), EPUB 3 Pop-up Footnotes, and COMPATIBILITY.md structured into 4 tiers.
  • Always-Visible Pause / Cancel Controls: Cancel prompts for confirmation, and closing an active export tab triggers a browser confirmation prompt (Chrome and Firefox).
  • Diagnostic Logs: Structured prefixes ([NET], [TAB], [SPA], [IMG], [SAFE], [PARSER], [BUILD], [AUTO], [CFG], [DONE]) with All/Warnings/Errors filters and Copy Log button.

Architecture & Testing

  • Modularized codebase following the Single Responsibility Principle (SRP):
    • src/core/ split into focused modules (base-parser.js, net-fetcher.js, rate-limiter.js, dnr-rules.js, image-processor.js, epub-templates.js, epub-css.js, text-utils.js, selector-utils.js, xhtml-serializer.js, with parser-engine.js as a backwards-compatible facade).
    • src/workspace/ split into focused UI controllers (state.js, i18n.js + locales/, logger.js, options-storage.js, directory-handle.js, domain-rules-ui.js, chapters-ui.js, cover-ui.js, chapter-modals.js, volume-modals.js, series-loader.js, export-runner.js, download-storage.js, library-ui.js, library-view.js, cache-sessions-ui.js, settings-io.js, tab-picker.js, workspace.js).
  • Added per-chapter parser resolution (resolveParserForChapterUrl) for multi-domain books and Merge Tabs.
  • Expanded test suite (54 unit/integration tests covering image pipeline, Adaptive Safe Mode, SPA security, generic extractor, presets, and i18n parity) plus Playwright Chromium E2E and W3C EPUBCheck in CI.

Installation / Update

  • Chrome / Chromium: Download WebPullBook-v1.4.0.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+): Download WebPullBook-v1.4.0.zip, open about:debugging#/runtime/this-firefox, click Load Temporary Add-on..., and select the .zip file directly.

WebPullBook v1.3.0 (Beta)

Pre-release

Choose a tag to compare

@github-actions github-actions released this 15 Nov 18:22

WebPullBook v1.3.0 (Beta)

New Features & Compatibility

  • Mozilla Firefox (128+) Support: Cross-browser Manifest V3 (background.scripts + browser_specific_settings.gecko) and automatic removal of the Origin: moz-extension:// header via declarativeNetRequest in service-worker.js to avoid CORS rejections when fetching chapters and covers on Firefox.
  • Heuristic CSS Selector Assistant: Added Auto-detect selectors under Advanced Options, analyzing the index and sample chapter DOM (with SPA tab fallback) to suggest chapter list, content body, and exclusion selectors automatically.
  • Generic Extractor & Sanitizer Improvements:
    • "Innermost Node Wins" rule in GenericHtmlParser.findChapterContentRoot() to prioritize true prose containers over outer wrappers.
    • Expanded BaseParser detection for JSON-LD metadata (genre, creativeWorkStatus), <dl> pairs (Author, Status), synopses ([data-testid*="synopsis"], [itemprop="description"]), <time> stripping from chapter titles, .sr-only cleanup inside <h1>, and volume inference from ancestor headings.
    • Selective preservation of intra-chapter footnote anchors (#id) in HtmlSanitizer and removal of top-level <style> hidden decoy classes.
  • Verified Adapters:
    • Royal Road (royalroad.js), Novel Mania (novelmania.js), and Scribble Hub (scribblehub.js), including pagination, chronological ordering, anti-bot challenge detection, and regression fixtures/snapshots.

UI & Accessibility

  • 2-Column Layout & Accessible Tabs: Reorganized workspace into a left metadata/cover sidebar and chapter table column, renamed tabs (Series, Library, Advanced Options, Logs), added keyboard navigation (role="tablist"/tabpanel), and improved responsiveness.
  • 4 Quick Color Themes: Added Sepia and Midnight alongside Light and Dark in the top bar next to the language selector.

Docs & Testing

  • Updated documentation for Firefox installation, new layout/themes, adapters, and the General Compatibility First philosophy in CONTRIBUTING.md and docs/COMPATIBILITY.md.
  • Expanded suite to 30 passing tests (lint, syntax, MV3 CSP, 228-key i18n parity, adapter regressions, and Chromium/Firefox verification).

Installation / Update

  • Chrome / Chromium: Download WebPullBook-v1.3.0.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+): Download WebPullBook-v1.3.0.zip, open about:debugging#/runtime/this-firefox, click Load Temporary Add-on..., and select the .zip file directly.

WebPullBook v1.2.1 (Beta)

Pre-release

Choose a tag to compare

@github-actions github-actions released this 11 Nov 17:38

WebPullBook v1.2.1 (Beta)

Improvements

  • Clickable URLs in Logs: http(s):// URLs inside the Logs tab open directly in a new tab (rel="noopener noreferrer"), making it easier to inspect chapters or media URLs that failed.
  • Direct Links in Report & Table: Post-export report displays Open chapter ↗ and Open image ↗ per item (besides View in log), and the chapter table displays Open page ↗ next to warnings/errors.
  • Full Image Failure Context: Media failure logs record both the chapter page URL and the failing image URL.
  • Automated Release Pipeline: Release notes generated automatically from CHANGELOG.md after full CI validation (lint, unit tests + EPUBCheck v5.4.0, and Playwright E2E) before publishing the .zip asset.

Installation / Update

  • Chrome / Chromium: Download WebPullBook-v1.2.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+): Download WebPullBook-v1.2.1.zip, open about:debugging#/runtime/this-firefox, click Load Temporary Add-on..., and select the .zip file directly.

WebPullBook v1.2.0 (Beta)

Pre-release

Choose a tag to compare

@github-actions github-actions released this 11 Nov 16:15

WebPullBook v1.2.0 (Beta)

New Features

  • Post-Export Report & Severity Separation: Summary panel below the status banner distinguishing Errors (chapters) and Warnings (images/cover) with impact descriptions, numbered list, and clickable log navigation.
  • Clickable Status & Log Badges: Chapters display Downloaded ✓ / Cached ✓, image warnings (⚠ N), and clickable errors linking directly to the highlighted row in Logs (with error and warning badge counters).
  • Image Resilience & W3C EPUBCheck Validation: Anonymous fallback (credentials: 'omit') on HTTP 401/403 for CDNs/S3 buckets, rejection of HTML error responses disguised as images, automatic WebP/AVIF conversion for EPUB 2, Chromium XML declaration fix, toc.ncx (playOrder/DOCTYPE), and svg manifest property in content.opf.
  • Sanitizer Hardening: Strict blocking of unsafe protocols on <img> (javascript:, data:text/html).
  • Quality & CI (P0/P1/P2): Zero-dependency native node:test suite (23 tests), regression fixtures/snapshots (wp-lightnovel, madara-theme, generic-html), W3C EPUBCheck, and Chromium unpacked-extension E2E test via Playwright.

Installation / Update

  • Chrome / Chromium: Download WebPullBook-v1.2.0.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+): Download WebPullBook-v1.2.0.zip, open about:debugging#/runtime/this-firefox, click Load Temporary Add-on..., and select the .zip file directly.

WebPullBook v1.1.0 (Beta)

Pre-release

Choose a tag to compare

@github-actions github-actions released this 11 Nov 13:40

WebPullBook v1.1.0 (Beta)

  • Optional Safe Mode (Anti-Throttle) + automatic rate-limit detection (HTTP 429/503).
  • Auto-Expiring Persistent Cache (IndexedDB) and session resumption in the Library tab.
  • CDN Proxy Image Fallback (i0.wp.com).

Installation / Update

  • Chrome / Chromium: Download WebPullBook-v1.1.0.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+): Download WebPullBook-v1.1.0.zip, open about:debugging#/runtime/this-firefox, click Load Temporary Add-on..., and select the .zip file directly.