Note: this has been created with recent versions of Chrome in mind. It may not work with other browers.