“No amount of observations of white swans can allow the inference that all swans are white, but the observation of a single black swan is sufficient to refute that conclusion.”
by David Hume

HypeMachine Chrome Extension HotFix

Ninja Update

I haven’t been using my HypeMachine Extension lately, which has caused me to fall behind in maintaining the extension. Someone had just e-mailed me recently regarding how the extension is no longer working.

I should really integrate a settings option for the extension that points people to the GitHub EPR system.

I’ve updated the Extension on my GitHub and you can follow these steps for installing the extension:

  1. Download the extension.
  2. Unzip the extension.
  3. Go to your Chrome’s Extension page: chrome://extensions, and make sure the page is in Developer mode.
    • If Developer mode has a + by it, click the + to add developer information to the page. The + changes to a -, and more buttons and information appear.
  4. Click the Load unpacked extension button. A file dialog appears
  5. In the file dialog, navigate to your extension’s folder and click OK.
  6. Enjoy!

For the curious

For those that are curious what had caused the extension to break, HypeMachine had changed from using Prototype and started using jQuery instead.

This change had caused all the instances of referring to Prototype’s selector $$ to no longer work. The hook into Prototype’s Ajax responder was also rendered useless.

I had decided to change the code to support Prototype rather than other options available, such as including myself the prototype.js file. This was done because I’m not sure if Prototype can still hook into Ajax requests done via jQuery. Once all the selector’s and event handlers had been moved to jQuery, the extension worked again!

As an aside: Sometimes Very rarely the download arrows are not fully renered and I’m unsure why. If you know the reason and/or fix, please let me know. Here is an example:

Be Sociable, Share!

No Trackbacks

You can leave a trackback using this URL: http://www.fzakaria.com/2011/08/hypemachine-chrome-extension-hotfix/trackback/

19 Comments

  1. Joe

    you rock! thanks for updating this!

    Posted August 22, 2011 at 10:12 am | Permalink
  2. @Joe:
    Np

    Posted August 22, 2011 at 10:25 am | Permalink
  3. es

    Ditto. Thanks for the update! The Firefox hypem download extension hasn’t been working for a while (perhaps because of this same issue?), but it’s great to at least be able to use Chrome.

    Posted August 22, 2011 at 11:40 am | Permalink
  4. @es:
    I’ve been meaning to abstract the Javascript that injects the button for a while and redistribute the extension to work for Safari/Firefox and Chrome..

    But i’m kind of lazy ! :)

    Posted August 22, 2011 at 11:44 am | Permalink
  5. needmusic

    I downloaded this extension successfully, but when I click the arrows I am brought to a page that plays the song in a quicktime extension? How are you supposed to save the mp3 to your computer?

    Posted October 21, 2011 at 2:21 am | Permalink
  6. @needmusic:
    You have to right click the arrow and select “Save As..”

    Its not as awesome as just clicking the arrow but better than nothing.

    Posted October 21, 2011 at 1:27 pm | Permalink
  7. remisko

    you sir are a living god, jesus has got nothing on you. let your loins be fruitful and your computer never crash.
    from the bottom of my heart thank you.

    Posted December 13, 2011 at 5:44 am | Permalink
  8. @remisko:
    Thanks! Always lovely to hear that <3

    Posted December 13, 2011 at 9:55 am | Permalink
  9. Steven Curran

    Hey there this extension is great! I was just wondering if the .mp3 links are stored anywhere? I was going to whip up a java app to auto download the songs to my music folder from my profile url. But i cant seem to strip out the mp3 links even after installing your add on.

    Thanks again!

    Posted January 25, 2012 at 5:14 pm | Permalink
  10. Steven Curran

    @Steven Curran: Apologies seem to have found this in the jscipt just beside it!

    Posted January 25, 2012 at 5:19 pm | Permalink
  11. Steven Curran

    @Steven Curran: Ooops this seems to be a dom change after the page is loaded, so again im back to sqaure one, and help would be great.

    Posted January 25, 2012 at 6:29 pm | Permalink
  12. Posted January 25, 2012 at 9:57 pm | Permalink
  13. steph

    Hey, that’s an amazing extension and I can’t wait to start using it. I followed all the steps and now have the unpacked extension in chrome but when I’m on hypem I can’t find where to download the songs from. The arrow only allows me to save the links…?! Have I missed a step?

    Posted February 8, 2012 at 11:13 am | Permalink
  14. Right click and chose ‘Save As.” that should save the actual MP3.

    Posted February 8, 2012 at 1:14 pm | Permalink
  15. steph

    I only get the option “save link as”. No Save As option when I click on the “Download arrow”.

    Posted February 8, 2012 at 1:16 pm | Permalink
  16. @steph: I’ll take a look tonight at it. Maybe HypeMachine recently changed something…

    Don’t click on the download arrow, just hover over it and right click perhaps.

    Posted February 8, 2012 at 1:18 pm | Permalink
  17. steph

    That’s what I do, like in other nusic blogs and so forth. But while I hover over it I do not get the option.. :(

    Posted February 8, 2012 at 1:20 pm | Permalink
  18. I’ll look at it tonight. No one has complained about it yet (I know a lot of people are using it). I’ll let you know shortly.

    Posted February 8, 2012 at 1:24 pm | Permalink
  19. AWESOME. I have been using Hypem for many years now and THIS is the best addition for the site. Thanks so much! Great Work

    Posted March 17, 2012 at 1:56 pm | Permalink

Post a Comment

Your email is never shared. Required fields are marked *

*
*