Repository navigation
WebPullBook v1.4.0 (Beta)
Pre-release
Pre-release
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 DefaultaboveCustom). Reference guide available indocs/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) viaservice-worker.js+PageDomCache, avoiding coldfetch()calls on SPAs and authenticated sessions. - Resilient Image Pipeline &
[IMG]Logs: Binary magic-byte MIME sniffing (fixesoctet-streamand 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-fileresolution, 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 adjacentnextPrevUrlsremoval,__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:
AdaptiveRateLimiterwith dynamic latency/error backoff,Retry-Aftercompliance, and cooperative waiting; reusableTabRenderPool(1 background worker tab per queue), DOM stabilization wait, per-domain anti-bot circuit breaker, stricthttp(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 (withEditedbadge), EPUB 3 Pop-up Footnotes, andCOMPATIBILITY.mdstructured 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, withparser-engine.jsas 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 (
54unit/integration tests covering image pipeline, Adaptive Safe Mode, SPA security, generic extractor, presets, and i18n parity) plus Playwright Chromium E2E and W3CEPUBCheckin CI.
Installation / Update
- Chrome / Chromium: Download
WebPullBook-v1.4.0.zipbelow, extract it to a folder, openchrome://extensions/with Developer mode enabled, and click Load unpacked (or Reload (↻) if already installed). - Mozilla Firefox (128+): Download
WebPullBook-v1.4.0.zip, openabout:debugging#/runtime/this-firefox, click Load Temporary Add-on..., and select the.zipfile directly.