HypeMachine Extension on Chrome Web Store

I fixed somewhat the issue of the script not being injected on different pages because the new pages are loaded with an AJAX call rather than reloading the whole page (which would cause the content script to be called).
I solved it by overloading the on_click event function…

Fingers crossed.

Things I still want to do…. can you help?

The script is obviously in by no means perfect and I’m looking for some help making it better overall.
The list of issues I’d like to tackle, polish and fix are:

Cleanup the code in general. My javascript to be honest, is horrendous and my understanding of jquery is subpar.

Create a CSS sprite for the download button so that it looks nicer.

Line up the download item nicer with the each song which just needs some CSS tuning.

Improve the means at which I inject the script as well as the download buttons or have someone look at it and tell me ways in which I can improve it.

nice extension, thanks. It doesn’t really need the page action button though, you can just remove that from your manifest and then the icon wont take up space. I made an icon which blends in with the hype machine ui a little more, you are welcome to use it for this if you wanthttp://www.eecs.tufts.edu/~asamps01/download.png

Clear video. I now understand the﻿ fetaher. What I don’t understand is why using these functions is better than inserting images in the articles. I usually have several images simply as illustration within each article. This offers the option of only one image at the start of the article. Why is it better?