Last active
June 24, 2018 11:38
-
-
Save seonews-ru/b368a302112f6660764b9e249100db10 to your computer and use it in GitHub Desktop.
jQuery-код
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function($){ | |
setInterval(() => { | |
$.each($('iframe'), (arr,x) => { | |
let src = $(x).attr('src'); | |
if (src && src.match(/(ads-iframe)|(disqusads)/gi)) { | |
$(x).remove(); | |
} | |
}); | |
}, 300); | |
})(jQuery); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment