1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-09-15 07:22:28 +02:00

no picker for behind-the-scene resources

This commit is contained in:
gorhill 2015-05-27 17:23:45 -04:00
parent d332298f40
commit a48574dd1b

View File

@ -808,7 +808,9 @@ var urlFilteringDialog = (function() {
uDom(dialog).descendants('.picker').toggleClass(
'hide',
type !== 'image' || /(?:^| )[dlsu]b(?: |$)/.test(tr.className)
tr.classList.contains('tab_bts') ||
type !== 'image' ||
/(?:^| )[dlsu]b(?: |$)/.test(tr.className)
);
// Shortest URL which for a valid URL filtering rule