Vanity Flair 1.0

Spot-the-difference

1 Attachment

24 Responses

  1. Alex Pankratov Alex Pankratov

    So this is done now.

    This is a bit of Javascript that pulls information about shot's presence on Dribbble's Top 100 list and displays it on the right side panel. See attached shot for various shot states that script understands.

    If you are on Chrome - vanityFlair.chrome.crx.

    If you are on Firefox - vanityFlair.user.js - make sure you have the GM add-on installed.

    If you are on something else - there's a bookmarklet to try (drag vanityFlair.js link to your bookmarks toolbar and then click on a shot page to activate) and there's a source code to hack. Pull requests are accepted and appreciated.

    If you are on IE - I'm sorry.

    ---

    There is a simple cron job (scheduled task) on my own server that pulls 5 x 20 pages of Dribbble's Popular list every minute and diligently records its contents in the database. The extension/bookmarklet then simply polls my server and gets back the data required. Very uncomplicated.

    Here's for example, the data for this shot - http://api.swapped.cc/dribbble/shots/579603/rank

    And here's the same for a popular one -
    http://api.swapped.cc/dribbble/shots/578960/rank

    ---

    This is a part of my Internet Improvement Project, which includes another Dribbble extension called Is A Follower.

    likes

    about 1 year ago

  2. Chris Beaumont Chris Beaumont

    This could be useful if I thought my shot's would get in the top 100 often enough

    likes

    about 1 year ago

  3. Dennis Covent Dennis Covent

    "If you are on IE - I'm sorry."
    +1 :)

    likes

    about 1 year ago

  4. Alex Pankratov Alex Pankratov

    @Chris - do you want an email alert for that? :)

    @Dennis - the bookmarklet might actually work, I just have no intention to do any IE testing.

    likes

    about 1 year ago

  5. Thom Thom

    This. Is. Awesome. :D

    likes

    about 1 year ago

  6. Chris Beaumont Chris Beaumont

    @Alex ha ha I think that's taking Vanity to the extreme. Email notifications every time some one views a shot though, that's where the money is.

    about 1 year ago

  7. Joe Barber Joe Barber

    Shouldn't that say "12th" instead of "12nd" ?

    I'll second what @Chris Beaumont said as well. :P

    about 1 year ago

  8. Chris Beaumont Chris Beaumont

    Just checked and my latest shot (which isn't one of my most popular shots) is 61st so I guess I'll have to take back my comment now.

    about 1 year ago

  9. Floris Voorveld Floris Voorveld

    Dude, you seriously rock!

    about 1 year ago

  10. Alex Pankratov Alex Pankratov

    @Chris - :)

    @Joe - Duh, I always miss something.

    @Thom, @Floris - thank you, gentlemen.

    likes

    about 1 year ago

  11. Thom Thom

    No problem sir! Your shot is currently "below 100". We should change this... ;)

    likes

    about 1 year ago

  12. Ced Funches Ced Funches

    Ummm. Freaking Dope.

    likes

    about 1 year ago

  13. Mitchell Bernstein Mitchell Bernstein

    No Safari Version? :( Looks great though!

    about 1 year ago

  14. Alex Pankratov Alex Pankratov

    @Mitchell - Don't have Safari, sorry. Just looked at what's involved and, frankly, I have no desire to register with Apple just to be able to author few lines of Javascript for their browser.

    about 1 year ago

  15. Claire Coullon Claire Coullon

    Somehow I hadn't tried out your previous script either, but added them now (nice presentation on your site by the way). Both work so well, very nice extra feature.

    likes

    about 1 year ago

  16. Sven Read Sven Read

    Cool Alex. I love it. Need to surf on Chrome more now :).

    likes

    about 1 year ago

  17. Jason Mayo Jason Mayo

    12th / 13th ***

    Really nice idea though.

    likes

    about 1 year ago

  18. Alex Pankratov Alex Pankratov

    @Sven - Thanks. And I need to learn how to do proper FF extensions :)

    @Jason - yeah, duh :) This should be fixed now (may need to reinstall the script/extension)

    about 1 year ago

  19. Maxwell Barvian Maxwell Barvian

    This would be a welcome addition to Dribbble, I think! I've always wished for something like this.

    likes

    about 1 year ago

  20. Nikolay Verin Nikolay Verin

    Just unbelievable!

    likes

    about 1 year ago

  21. Thomas Offinga Thomas Offinga

    Bummer that this isn't available for Safari. Can't get the Bookmarklet to work either.. :(

    Seems like a very nice plugin though, great job!

    about 1 year ago

  22. Alex Pankratov Alex Pankratov

    @Thomas, regarding the bookmarklet - I assume you dragged the vanityFlair.js link to your bookmark toolbar, then navigated to a Dribbble page with a shot, clicked on the bookmark and nothing happened? Or did you do something different?

    about 1 year ago

  23. Thomas Offinga Thomas Offinga

    @Alex Pankratov yeah that's exactly what I did, but it just bugs me with the error message that it can't use this javascipt code.

    about 1 year ago

  24. Yura Yarokhovich Yura Yarokhovich

    Thumbs up!

    12 months ago

keyboard shortcuts: previous shot next shot L or F like