1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-07-08 12:57:57 +02:00

Fix broken DOM inspector [regression]

Regression from:
- 0bcf04d3dd

Related feedback:
- https://github.com/gorhill/uBlock/commit/0bcf04d3dda2#commitcomment-38594585

The DOM inspector client code is injected as
content script, thus it must be categorized as
non-privileged code.
This commit is contained in:
Raymond Hill 2020-04-19 08:33:09 -04:00
parent 7adf1515ed
commit 7f999b759f
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2
2 changed files with 0 additions and 2 deletions

View File

@ -982,7 +982,6 @@ vAPI.messaging = {
break;
}
case 'extendClient':
if ( fromDetails.privileged !== true ) { break; }
vAPI.tabs.executeScript(tabId, {
file: '/js/vapi-client-extra.js',
}).then(( ) => {

View File

@ -28,7 +28,6 @@
background-color: #fee;
}
#domInspector li > * {
font-size: 0.8rem;
display: inline-block;
line-height: 1.2;
margin-right: 1em;