Remove package.json/package-lock.json/.dockerignore (the extension is plain JS, no build), trim .gitignore to reality, and reword the manifest description for future multi-site coverage.
50 lines
1.0 KiB
JSON
50 lines
1.0 KiB
JSON
{
|
|
"manifest_version": 3,
|
|
"name": "ofsaver",
|
|
"description": "Personal media downloader for creator sites \u2014 DRM (Widevine) + plain media",
|
|
"version": "0.5.14",
|
|
"minimum_chrome_version": "116",
|
|
"permissions": [
|
|
"offscreen",
|
|
"downloads",
|
|
"storage",
|
|
"cookies",
|
|
"scripting"
|
|
],
|
|
"host_permissions": [
|
|
"https://onlyfans.com/*",
|
|
"https://*.onlyfans.com/*"
|
|
],
|
|
"background": {
|
|
"service_worker": "background.js",
|
|
"type": "module"
|
|
},
|
|
"action": {
|
|
"default_title": "ofsaver"
|
|
},
|
|
"content_scripts": [
|
|
{
|
|
"matches": [
|
|
"https://onlyfans.com/*"
|
|
],
|
|
"js": [
|
|
"lib/main-hook.js"
|
|
],
|
|
"run_at": "document_start",
|
|
"world": "MAIN"
|
|
},
|
|
{
|
|
"matches": [
|
|
"https://onlyfans.com/*"
|
|
],
|
|
"js": [
|
|
"content.js"
|
|
],
|
|
"run_at": "document_idle"
|
|
}
|
|
],
|
|
"content_security_policy": {
|
|
"extension_pages": "script-src 'self' 'wasm-unsafe-eval'; object-src 'self'"
|
|
},
|
|
"options_page": "options.html"
|
|
} |