Private Island Networks Inc.

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?
X-ray Engineering Services

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