Tuesday, 22 January 2013

Clever snippet of javascript

First day of work at, I learnt a very cool snippet of javascript.This is basically is a bookmarklet, which add a particular javascript element to the page on the fly , and this js file (add.js) , searches the page for a video file and adds it to your playlist.

Pretty cool right ?

Here is a snippet of that code, ( beautfied by )

1 comment:

Jimmy said...

Why post it as an image, why not use text instead ?