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
1 changed files with 1 additions and 0 deletions

View File

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