Skip to content

Commit 8574d71

Browse files
committed
[mv3] Allow custom cosmetic filters in embedded contexts
Related issue: uBlockOrigin/uAssets#32894
1 parent 4a738e2 commit 8574d71

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

platform/mv3/extension/js/filter-manager.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,8 @@ export async function registerCustomFilters(context) {
204204
id: 'css-user',
205205
js: [ '/js/scripting/css-user.js' ],
206206
matches: matchesFromHostnames(hostnames),
207+
allFrames: true,
208+
matchOriginAsFallback: true,
207209
runAt: 'document_start',
208210
};
209211
if ( excludeHostnames.length !== 0 ) {

0 commit comments

Comments
 (0)