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 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.
@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.
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.
@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?
24 Responses
Pro
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.
12 months ago
This could be useful if I thought my shot's would get in the top 100 often enough
12 months ago
Pro
Dennis Covent
"If you are on IE - I'm sorry."
+1 :)
12 months ago
Pro
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.
12 months ago
Pro
Thom
This. Is. Awesome. :D
12 months ago
@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
Pro
Joe Barber
Shouldn't that say "12th" instead of "12nd" ?
I'll second what @Chris Beaumont said as well. :P
12 months ago
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
Dude, you seriously rock!
12 months ago
Pro
Alex Pankratov
@Chris - :)
@Joe - Duh, I always miss something.
@Thom, @Floris - thank you, gentlemen.
12 months ago
Pro
Thom
No problem sir! Your shot is currently "below 100". We should change this... ;)
12 months ago
Pro
Ced Funches
Ummm. Freaking Dope.
12 months ago
Pro
Mitchell Bernstein
No Safari Version? :( Looks great though!
12 months ago
Pro
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
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.
12 months ago
Cool Alex. I love it. Need to surf on Chrome more now :).
12 months ago
Pro
Jason Mayo
12th / 13th ***
Really nice idea though.
12 months ago
Pro
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
Pro
Maxwell Barvian
This would be a welcome addition to Dribbble, I think! I've always wished for something like this.
12 months ago
Just unbelievable!
12 months ago
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
Pro
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
@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
Pro
Yura Yarokhovich
Thumbs up!
11 months ago