mirror of
https://github.com/gorhill/uBlock.git
synced 2024-09-04 01:59:38 +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:
parent
7adf1515ed
commit
7f999b759f
@ -982,7 +982,6 @@ vAPI.messaging = {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case 'extendClient':
|
case 'extendClient':
|
||||||
if ( fromDetails.privileged !== true ) { break; }
|
|
||||||
vAPI.tabs.executeScript(tabId, {
|
vAPI.tabs.executeScript(tabId, {
|
||||||
file: '/js/vapi-client-extra.js',
|
file: '/js/vapi-client-extra.js',
|
||||||
}).then(( ) => {
|
}).then(( ) => {
|
||||||
|
@ -28,7 +28,6 @@
|
|||||||
background-color: #fee;
|
background-color: #fee;
|
||||||
}
|
}
|
||||||
#domInspector li > * {
|
#domInspector li > * {
|
||||||
font-size: 0.8rem;
|
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
line-height: 1.2;
|
line-height: 1.2;
|
||||||
margin-right: 1em;
|
margin-right: 1em;
|
||||||
|
Loading…
Reference in New Issue
Block a user