Make Vencord Extension run in iframes (#914)

Fixes support for https://github.com/NeverDecaf/discord-PWA
This commit is contained in:
dimden 2023-04-15 15:49:48 +03:00 committed by GitHub
parent 9e6d3459e3
commit 7a98f1dfcb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -21,7 +21,8 @@
{
"run_at": "document_start",
"matches": ["*://*.discord.com/*"],
"js": ["content.js"]
"js": ["content.js"],
"all_frames": true
}
],

View File

@ -15,7 +15,7 @@
]
},
"condition": {
"resourceTypes": ["main_frame"]
"resourceTypes": ["main_frame", "sub_frame"]
}
},
{