This commit is contained in:
collector
2026-12-06 12:41:22 +01:00
commit 53d31572a1
49 changed files with 8546 additions and 0 deletions

50
ext/manifest.json Normal file
View File

@@ -0,0 +1,50 @@
{
"manifest_version": 3,
"name": "ofsaver",
"description": "Personal OnlyFans downloader \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"
}