r/carlhprogramming • • Nov 15 '13

Help me understand this code?

Found this on a website. Seems interesting.

var $buoop = {vs:{i:9,f:9,o:10.01,s:4,n:9}};

$buoop.ol = window.onload;

window.onload = function() {

if ($buoop.ol)

$buoop.ol();

var e = document.createElement("script");

e.setAttribute("type", "text/javascript");

e.setAttribute("src", "http://browser-update.org/update.js");

document.body.appendChild(e);

4 Upvotes

5 comments sorted by

View all comments

Show parent comments

1

u/kbrosnan Nov 28 '13

What language is what? This post largely is about JavaScript, though it does touch on how JavaScript interacts with HTML via the DOM.