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