Iframe Killa bookmarklet removes all iFrames from a loaded web-page

Iframe Killa bookmarklet by Rod McNew removes all iframes from the current page. Once added to the (Chrome, Edge) browser Bookmarks or Favorites bar, 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)}());

Besides iframe, the code can be adapted to removed any other pesky HTML element that is hindering your viewing experience.

Comments

Popular posts from this blog

30+ GitHub Products & Key Ecosystem Features You Should Know in 2026

Uncle Bob vs. Grady Booch: Rethinking Code Reviews in the Age of AI

This Week I Learned - Week 30 2026