1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-09-14 23:12:28 +02:00
This commit is contained in:
Raymond Hill 2020-08-16 13:24:10 -04:00
parent 110e474a91
commit a546a5e1ba
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2

View File

@ -59,7 +59,7 @@
}
const rePattern = new RegExp(pattern);
const createDecoy = function(tag, urlProp, url) {
const decoy = document.createElement('iframe');
const decoy = document.createElement(tag);
decoy[urlProp] = url;
decoy.style.setProperty('height','1px', 'important');
decoy.style.setProperty('position','fixed', 'important');