Skip to content

xem/32b

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

32b

This is a joke project by xem and bburky.

What if I told you that virtually every web app can fit in 32 bytes of code?

We dit it.

Here are the 32 bytes we're talking about:

<body onload=eval("'"+location)>

Yep, all it does is evaluating the URL.

But what do you do in the URL?

This:

http://xem.github.io/32b/#';INSERT_JAVASCRIPT_CODE_HERE;

or this:

http://xem.github.io/32b/#';document.write('INSERT_HTML_CODE_HERE');

Here's a builder to help you in your 32b quest:

http://xem.github.io/32b/builder.html

And here is a demo:


world1k by aemkei

Tested & working on Chrome, IE11, opera, safari... and Firefox finally!

About

32 bytes ought to be enough for all web apps

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages