Vanity Flair 1.0

Spot-the-difference

1 Attachment

24 Responses

  1. Pro 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

    12 months 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

    12 months ago

  3. Pro Dennis Covent Dennis Covent

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

    likes

    12 months ago

  4. Pro 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

    12 months ago

  5. Pro Thom Thom

    This. Is. Awesome. :D

    likes

    12 months 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.

    12 months ago

  7. Pro Joe Barber Joe Barber

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

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

    12 months 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.

    12 months ago

  9. Floris Voorveld Floris Voorveld

    Dude, you seriously rock!

    12 months ago

  10. Pro Alex Pankratov Alex Pankratov

    @Chris - :)

    @Joe - Duh, I always miss something.

    @Thom, @Floris - thank you, gentlemen.

    likes

    12 months ago

  11. Pro Thom Thom

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

    likes

    12 months ago

  12. Pro Ced Funches Ced Funches

    Ummm. Freaking Dope.

    likes

    12 months ago

  13. Pro Mitchell Bernstein Mitchell Bernstein

    No Safari Version? :( Looks great though!

    12 months ago

  14. Pro 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.

    12 months 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

    12 months ago

  16. Sven Read Sven Read

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

    likes

    12 months ago

  17. Pro Jason Mayo Jason Mayo

    12th / 13th ***

    Really nice idea though.

    likes

    12 months ago

  18. Pro 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)

    12 months ago

  19. Pro Maxwell Barvian Maxwell Barvian

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

    likes

    12 months ago

  20. Nikolay Verin Nikolay Verin

    Just unbelievable!

    likes

    12 months 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!

    12 months ago

  22. Pro 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?

    12 months 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.

    12 months ago

  24. Pro Yura Yarokhovich Yura Yarokhovich

    Thumbs up!

    11 months ago

keyboard shortcuts: previous shot next shot L or F like