InFrame - Dynamic iFrame creation with jQuery

A really cool tool that I am excited to continue working with

jQuery spends a lot of time impressing the life out of me, one example of it doing it recently is with Vile Work's inFrame (one person has reported an issue with this site and viruses, I cannot replicate though.).

What this plugin does is capture any links containing a certain class and instead of having them display in the current window it will create an iFrame on the fly for the content to display into.

We all know that iFrames are bad because they hide stuff from crawlers and different accessibility tools, however one of the really smart things about this is that because it looks for links of a certain class anyone coming along without JavaScript installed (say, a search engine for example) will just follow the link as normal with no negative effect.

I can see loads of potential uses for this tool and look forward to playing with it in an actual project.


Recent posts View all

Web Dev

Creating Docker images with M1 Macs

I ran into an issue with my Dockerfile when using it on a Linux machine, setting a platform fixed the issue

Web Dev

What does --no-owner mean in Postgres?

You have read a guide to doing Postgres exports or imports and seen --no-owner, this is what it means