deviant art

Deviant Login Shop
 Join deviantART for FREE Take the Tour
[x]
Download Image
PNG, 1236×686
more ▶

More from `electricjonny

Featured in Groups:

Details

December 21, 2011
438 KB
1236×686
Sta.sh
Link
Thumb

Statistics

Comments: 44
Favourites: 38 [who?]

Views: 1,397 (0 today)
Downloads: 142 (0 today)
[x]
:iconelectricjonny:
This is a script that gives you information when you hold shift and hover over a username, avatar, or deviation.

If it's a username or avatar, you'll get the info shown on the left of this preview, with the avatar, username, tagline, then links to their gallery, journal page, and activity page. So you hold shift, then hover the username or avatar. You can't hover, then press shift. The information box will fade up, and then go away after a half second or so after unhovering it if you don't move your cursor onto the box.

You can also hold shift and hover a deviation link to get a 300 pixel wide preview. I've been wanting that for a while, since I sometimes forget the things people fav :slow: Anyway, this will work on any deviation link, and also thumbnails (if you want a bigger preview before clicking the deviation.

The deviation previews will also work in the chats, although usernames won't. The way the site's HTML is set up makes it harder to work in the chats.

To Install


This should work in Firefox (with Greasemonkey) and Chrome, and you can get it here:

http://electricjonny.com/code/da_-_hover_helper.user.js





Let me know if you have any questions or problems :)
Add a Comment:
 

The Artist has requested Critique on this Artwork

Please sign up or login to post a critique.

:iconelectricjonny:
`electricjonny Dec 21, 2011  Hobbyist Photographer
Yeah my code tends to be odd. I don't know js that well =P I copy/paste things I manage to get working a lot of times. Hence the $.ajax() and not $.getJSON :slow:

But, it works, so that's my main concern.
Reply
:icondeviant-garde:
Well, since the code isn't in the content page, you wouldn't have access to the DiFi object anyway. :paranoid:

Reminds me that I have a certain userscript which I practically stopped working on altogether July of this year...
Reply
:iconelectricjonny:
`electricjonny Dec 21, 2011  Hobbyist Photographer
Yeah I usually stick the whole js into the head of the page, so I can leach off dA's jQuery and get all it's vars. But I didn't need any of dA's js, and plopping jQuery in was simple, so I just went that route.
Reply
:iconneurotype:
^neurotype Dec 21, 2011  Hobbyist General Artist
holy batman that is fancy :omfg:

:lol: I try to make sure there isn't enough in my gallery to cause that kind of confusion.
Reply
:iconelectricjonny:
`electricjonny Dec 21, 2011  Hobbyist Photographer
Haha :giggle:

Hope you like it :)
Reply
:iconneurotype:
^neurotype Dec 24, 2011  Hobbyist General Artist
Fact, it's awesome. :O
Reply
:iconcypher-neo:
`cypher-neo Dec 21, 2011  Professional Photographer
THAT IS SWEET!!!!!!!!!!!!!!!!!!!!!!!!!!!
(and I think that is the most punctuation I've ever used in one sentence before)
Reply
:iconelectricjonny:
`electricjonny Dec 21, 2011  Hobbyist Photographer
Haha, thanks man :D
Reply
:iconelectricjonny:
`electricjonny Dec 21, 2011  Hobbyist Photographer
I don't know about you, but I often like to see avatars when I'm on the main forum pages. This helps =P
Reply
Add a Comment: