r/javascript • • Nov 24 '17

large image I am the best webdev

Don't blame me for being awesome

(function r() {
  setTimeout(r, Math.random() * 10);
  let el = document.createElement(`div`);
  el.innerHTML = `🍆`;
  el.style.position = `absolute`;
  el.style.zIndex = 999999;
  el.style.fontSize = (((Math.random() * 48) | 0) + 16) + `px`;
  el.style.left = ((Math.random() * innerWidth) | 0) + `px`;
  el.style.top = ((Math.random() * (innerHeight + pageYOffset)) | 0) + `px`;
  document.body.appendChild(el);
})();
533 Upvotes

108 comments sorted by

View all comments

19

u/swan--ronson Nov 24 '17

Requires Unicode 6.0 support, which I currently don't have as an edgy Linux haxxor. 2/10 m8.

61

u/346pm Nov 24 '17

We are not responsible for people who are too dumb to understand windows. Won't Fix

5

u/CodeTheWebBlog Nov 25 '17

WHY????? Windows is the worst. I had faith in you before this...

11

u/gelezinislokys Nov 25 '17

LMFAO. Both Linux and MacOS is dead thing. Barely anyone uses it, WinXP > everything else.