Ho do I hide iframes on a web page
Apr 03, 2019
asked by anonymous
Question / Issue:
Is there a simple way to hide annoying videos in iframes on a web page?
Responses:
Date: April 3, 2019
Author: Mind Chasers
Comment:
Open up your browser's developer console and paste the following:
document.querySelectorAll('iframe').forEach(function(e){ e.style.display="none"; })
or if you prefer arrow functions
document.querySelectorAll('iframe').forEach(e => e.style.display="none")