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", "run_at": "document_start",
"matches": ["*://*.discord.com/*"], "matches": ["*://*.discord.com/*"],
"js": ["content.js"] "js": ["content.js"],
"all_frames": true
} }
], ],

View file

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