reilly-downloader/index.html
Joey Yakimowich-Payne 7a44902433 feat: surface detailed download progress
Changelog:
- forward download progress from background/offscreen workers to content frames
- add progress UI and button state management in Safari Books page script
- emit structured progress callbacks and faster image fetching in SafariBooksDownloader
- sync Firefox bundle with progress plumbing and concurrency improvements
- ignore packaged extension archives

Description:
Expose progress events through the downloader so the content script can present real-time status, including chapter and asset fetching milestones. Added concurrency controls, page detection, and packaging telemetry, while keeping Firefox build behavior in sync and ignoring generated .xpi bundles.
2025-10-16 10:30:18 -06:00

45 lines
1.5 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>SafariBooks Downloader</title>
<link rel="stylesheet" href="index.css" />
</head>
<body>
<main>
<header>
<h1>SafariBooks Downloader</h1>
<p>Port of <code>safaribooks.py</code> for Chrome. Make sure you are signed in to O'Reilly in this profile.</p>
</header>
<section class="controls">
<form id="download-form">
<label class="field">
<span>Book ID</span>
<input id="book-id" name="bookId" type="text" required placeholder="9780135262047" />
</label>
<label class="field">
<span>Theme</span>
<select id="theme" name="theme">
<option value="none">Native</option>
<option value="white">White</option>
<option value="sepia">Sepia</option>
<option value="black">Black</option>
</select>
</label>
<label class="field checkbox">
<input id="kindle" type="checkbox" />
<span>Add Kindle compatibility tweaks</span>
</label>
<div class="actions">
<button id="start-download" type="submit">Verify Session &amp; Download</button>
</div>
</form>
</section>
<section class="log-container">
<h2>Activity</h2>
<pre id="log"></pre>
</section>
</main>
<script type="module" src="index.js"></script>
</body>
</html>