1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-09-01 16:49:39 +02:00

help generate better suggested cosmetic filters for iframes

This commit is contained in:
gorhill 2016-08-21 09:49:11 -04:00
parent 3ea58979d5
commit 6000adb751

View File

@ -569,6 +569,7 @@ var cosmeticFilterFromElement = function(elem) {
} }
} }
break; break;
case 'iframe':
case 'img': case 'img':
v = elem.getAttribute('src'); v = elem.getAttribute('src');
if ( v && v.length !== 0 ) { if ( v && v.length !== 0 ) {