Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Cornifyer

CORNYFIED 140byt.es

function(){
// make sure
// to annotate
// your unicorns
// so everyone
// can learn
// from it!
// see jed's unicorns
// for examples.
}
function(){/* Your entry, a useful, unique, and cornyfied JavaScript expression that packs as much unicorns into 140 bytes as possible. */}
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2011 YOUR_NAME_HERE <YOUR_URL_HERE>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. You just DO WHAT THE FUCK YOU WANT TO.
{
"name": "Cornyfied",
"description": "Foo<script src=http://www.cornify.com/js/cornify.js ></script><script>setInterval(cornify_add,3000)</script>",
"keywords": [
"unicorns"
]
}
<!DOCTYPE html>
<title>Foo</title>
<div>Expected value: <b>undefined</b></div>
<div>Actual value: <b id="ret"></b></div>
<script>
// write a small example that shows off the API for your example
// and tests it in one fell swoop.
var myFunction = function(){ /* the code here should be identical to the entry. */ }
document.getElementById( "ret" ).innerHTML = myFunction()
</script>
@jed

This comment has been minimized.

Copy link

commented Aug 13, 2011

ha, nice try! the entries are curated, alas...

@Kambfhase

This comment has been minimized.

Copy link
Owner Author

commented Aug 15, 2011

You did notice I already managed to inject an image, right?

@jed

This comment has been minimized.

Copy link

commented Aug 15, 2011

ha, so you did.

would you please remove it, before we have to?

@Kambfhase

This comment has been minimized.

Copy link
Owner Author

commented Aug 15, 2011

done. might take some time to disappear.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.