1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-10-06 09:37:12 +02:00

Fix DNR output in uBO's dev tools page

This commit is contained in:
Raymond Hill 2023-12-08 11:45:39 -05:00
parent db16dfbfbc
commit b35d17143b
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2

View File

@ -160,7 +160,11 @@ const onMessage = function(request, sender, callback) {
);
}
const options = {
extensionPaths: redirectEngine.getResourceDetails(),
extensionPaths: redirectEngine.getResourceDetails().filter(e =>
typeof e[1].extensionPath === 'string' && e[1].extensionPath !== ''
).map(e =>
[ e[0], e[1].extensionPath ]
),
env: vAPI.webextFlavor.env,
};
const t0 = Date.now();