mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-10 09:07:54 +01:00
Add "scriptlet" filter expression to logger
Related feedback: - https://github.com/uBlockOrigin/uBlock-issues/discussions/2636
This commit is contained in:
parent
a6b13e6b9c
commit
88fb6b153d
2 changed files with 2 additions and 3 deletions
|
@ -226,7 +226,7 @@ const logOne = function(tabId, url, filter) {
|
||||||
.duplicate()
|
.duplicate()
|
||||||
.fromTabId(tabId)
|
.fromTabId(tabId)
|
||||||
.setRealm('extended')
|
.setRealm('extended')
|
||||||
.setType('dom')
|
.setType('scriptlet')
|
||||||
.setURL(url)
|
.setURL(url)
|
||||||
.setDocOriginFromURL(url)
|
.setDocOriginFromURL(url)
|
||||||
.setFilter({ source: 'extended', raw: filter })
|
.setFilter({ source: 'extended', raw: filter })
|
||||||
|
|
|
@ -36,7 +36,6 @@
|
||||||
<div>
|
<div>
|
||||||
<button class="iconified notext vCompactToggler"><span class="fa-icon">double-angle-up</span><span class="hover"></span></button>
|
<button class="iconified notext vCompactToggler"><span class="fa-icon">double-angle-up</span><span class="hover"></span></button>
|
||||||
<button class="iconified notext hCompactToggler"><span class="fa-icon">double-angle-left</span><span class="hover"></span></button>
|
<button class="iconified notext hCompactToggler"><span class="fa-icon">double-angle-left</span><span class="hover"></span></button>
|
||||||
<!-- <span class="button fa highlightMode" style="display: none"></span> -->
|
|
||||||
<button class="iconified notext revert disabled"><span class="fa-icon">eraser</span><span class="hover"></span></button>
|
<button class="iconified notext revert disabled"><span class="fa-icon">eraser</span><span class="hover"></span></button>
|
||||||
<button class="iconified notext commit disabled"><span class="fa-icon">floppy-o</span><span class="hover"></span></button>
|
<button class="iconified notext commit disabled"><span class="fa-icon">floppy-o</span><span class="hover"></span></button>
|
||||||
</div>
|
</div>
|
||||||
|
@ -62,7 +61,7 @@
|
||||||
<div><span data-filtex="!" data-i18n="loggerRowFiltererBuiltinNot"></span>
|
<div><span data-filtex="!" data-i18n="loggerRowFiltererBuiltinNot"></span>
|
||||||
<span style="flex-direction: column;">
|
<span style="flex-direction: column;">
|
||||||
<div style="margin-bottom: 1px;"><span data-filtex="\t(?:css|(?:inline-)?font)\t">css/font</span><span data-filtex="\timage\t">image</span><span data-filtex="\tmedia\t">media</span><span data-filtex="\t(?:inline-)?script(?:ing)?\t">script</span></div>
|
<div style="margin-bottom: 1px;"><span data-filtex="\t(?:css|(?:inline-)?font)\t">css/font</span><span data-filtex="\timage\t">image</span><span data-filtex="\tmedia\t">media</span><span data-filtex="\t(?:inline-)?script(?:ing)?\t">script</span></div>
|
||||||
<div><span data-filtex="\t(?:websocket|xhr)\t">xhr</span><span data-filtex="\t(?:frame|object)\t">frame</span><span data-filtex="\t(?:dom|g(?:eneric)?hide|s(?:pecific)?hide)\t">dom</span><span data-filtex="\t(?:beacon|csp_report|doc|ping|popup|popunder|other)\t">other</span></div>
|
<div><span data-filtex="\t(?:websocket|xhr)\t">xhr</span><span data-filtex="\t(?:frame|object)\t">frame</span><span data-filtex="\t(?:dom|g(?:eneric)?hide|s(?:pecific)?hide)\t">dom</span><span data-filtex="\t(?:scriptlet)\t">scriptlet</span><span data-filtex="\t(?:beacon|csp_report|doc|ping|popup|popunder|other)\t">other</span></div>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div><span data-filtex="!" data-i18n="loggerRowFiltererBuiltinNot"></span><span data-filtex="\t(?:0,)?1\t" data-i18n="loggerRowFiltererBuiltin1p"></span><span data-filtex="\t(?:3(?:,\d)?|0,3)\t" data-i18n="loggerRowFiltererBuiltin3p"></span></div>
|
<div><span data-filtex="!" data-i18n="loggerRowFiltererBuiltinNot"></span><span data-filtex="\t(?:0,)?1\t" data-i18n="loggerRowFiltererBuiltin1p"></span><span data-filtex="\t(?:3(?:,\d)?|0,3)\t" data-i18n="loggerRowFiltererBuiltin3p"></span></div>
|
||||||
|
|
Loading…
Reference in a new issue