Cool.
I just uploaded the HypeMachine extension I had been working on into the 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.
Let me know!