mirror of
https://github.com/andwati/kget-capture.git
synced 2026-10-23 05:22:19 +00:00
Chrome's own "Ask where to save each file" setting shows a native picker before the extension can ever intercept the download, and no extension API can read or suppress it -- surface this clearly in install.sh, the README, and a popup shortcut instead of leaving it buried as a footnote. Also fixes silently missing "download complete" notifications: KGet only fires its own finished-notification if a transfer was observed in a non-finished state at least once, so small/fast downloads that complete before that first observation never get one. The native host now drives its own notification via notify-send, polling actual transfer progress instead of relying on KGet's internal check, and install.sh disables KGet's own notification to avoid duplicates.
23 lines
747 B
HTML
23 lines
747 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<link rel="stylesheet" href="popup.css">
|
|
</head>
|
|
<body>
|
|
<h1>KGet Capture</h1>
|
|
<label class="toggle-row">
|
|
<input type="checkbox" id="auto-capture-toggle">
|
|
<span>Auto-capture all downloads</span>
|
|
</label>
|
|
<p class="status" id="status-line"></p>
|
|
<p class="hint">Right-click any link, image, video, or audio and choose
|
|
"Download with KGet" to send it to KGet on demand.</p>
|
|
<p class="hint">Downloads still prompting for a location? Chrome shows that
|
|
dialog itself, before this extension can intercept anything.
|
|
<button id="open-download-settings" type="button">Turn off Chrome's download prompt</button>
|
|
</p>
|
|
<script src="popup.js"></script>
|
|
</body>
|
|
</html>
|