This image is also a valid Javascript file

This Image Is Also a Valid Javascript File

Images are usually stored as binary files, while a Javascript file is basically just text. I wondered: Can I create an image file that has valid Javascript syntax, so it is also executable?

Screen Recording in Javascript

Screen Recording in 10 lines of Vanilla JS

Let’s have a look at how we can capture and record your users screen. Not just your page, but also other tabs of the users browser, the desktop and even other applications. And we will do that without browser plugins or huge libraries. Instead, we just need 10 lines of Vanilla Javascript.

You can make the HEAD element visible

This blog post is written entirely in the <head>

If you open the dev tools on the page of this article, you will see that the body tag is completely empty. Still there is text on the page. How can this be?

Impressum