Showing posts with label javascript. Show all posts
Showing posts with label javascript. Show all posts

Tuesday, July 29, 2014

Make a joke to your colleague

Basically I like to have fun and be funny in every possible way, expecially be fun through code.
As follows a joke you can make to a colleague who goes away from his desktop and leave the pc unlocked.

If your colleague was working with a browser you can leave him any kind of javascript joke, an alert, a confirm...
You can inject it through dev-console (F12) or url address bar typing for example javascript:confirm('Format your Hard Drive?').









But you can think about something more annoying...

Tuesday, December 13, 2011

Salta gli ostacoli in DHTML

Un pomeriggio di novembre: niente da fare, poca voglia di imparare cose nuove.. 'sicchè passo le mie 6 ore rimanenti nel fare un piccolo giochino stupido e insignificante in javascript :)

Descrizione del progetto:
Un personaggio stilizzato che cammina in un mondo a scorrimento orizzontale e che deve saltare delle buche che appaiono randomicamente sullo schermo.

N.B.
Come il 99% delle cose che posterò, non è niente di nuovo. Ma ai fini del blog, mi pare utile.

Ecco come si presenta all'inizio: