Tag: uglify

Using Bookmarklets for Simple Browser Tasks

Bookmarklets provide a way to add small customized tools to your browser. They look like regular bookmarks, but instead of having a “http:” address to a page on the web, they contain Javascript code that runs whenever the bookmarklet is clicked. Here’s the obligatory “Hello World” demonstration of a bookmarklet: create a new bookmark in

Command line uglify-js

Recently I was working on a small project where I wanted to get some jquery-like functionality in an javascript application but I wanted to keep the downloads as slim as possible. I used zepto.js for the query features: the minified copy of zepto is about 1/4 the size of recent versions of jquery 1.x. But