fix: use blob URL for Firefox downloads (data: URLs are access-denied)
build-extension / build (pull_request) Successful in 33s

Firefox rejects data: URLs in browser.downloads.download with
"Access denied for URL data:...", breaking the PDF export. Build the
download URL per-browser: a blob: object URL where URL.createObjectURL
exists (Firefox background page), falling back to the base64 data: URL
for Chrome MV3 service workers (no createObjectURL).

Bump version to 1.3.0.
This commit is contained in:
2026-08-19 04:11:45 +08:00
parent d08b1d75aa
commit 68603584e1
2 changed files with 17 additions and 9 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
{
"manifest_version": 3,
"name": "ISMIS Helper",
"version": "1.2.0",
"version": "1.3.0",
"description": "Auto-login, auto-accept privacy policy, and Study Load PDF for the USC ISMIS portal.",
"permissions": ["storage", "downloads"],
"host_permissions": ["https://ismis.usc.edu.ph/*"],