Skip to content

Instantly share code, notes, and snippets.

Forked from rodmcnew/iframe-killa.js
Created March 2, 2022 23:07
What would you like to do?
This is a bookmarklet that removes all iframes from the current page. Paste its code into a bookmark URL field. Click the bookmark to remove all iframes. Once started, it also removes newly spawned iframes every 100ms.
javascript:void(function(){setInterval(function(){document.querySelectorAll('iframe').forEach(function(element){console.log('Iframe Killa - Removing Element:', element);element.parentNode.removeChild(element)})},100)}());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment