Mind Chasers Inc.
Mind Chasers Inc.

Note: Forum is in alpha testing. Please email us with any problems or issues you encounter. Thank you!

Ho do I hide iframes on a web page

Apr 03, 2019 asked by anonymous
share
subscribe to mailing list:

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")

Post your answer or comment:

your email address will be kept private
authenticate with a 3rd party for enhanced features, such as image upload
previous month
next month
Su
Mo
Tu
Wd
Th
Fr
Sa
loading