This initially was a suggestion but has been shared by Royalgamer06


[Userscript] - Group Info Hover

It simply adds the list of groups that a giveaway belongs to when hovering over the group icon on the main giveaway pages.


Download:

Greasyfork | (direct)


Updates:

v0.2 now supports endless scrolling
v0.4 Added a variable "pos_above_cursor". If you edit the userscript and set this to true, the hover box will be displayed above cursor.


Related Links:

Sighery's SG Add-Ons Registry - List of all scripts for SG
Royalgamer06's [UserScript] SteamGifts Trades - Have List Filter


Full credit of this script belongs to: Royalgamer06 - Thank You Very Much!


In Action GIF:

View attached image.
7 years ago*

Comment has been collapsed.

Do you find this to be a useful script for yourself or others?

View Results
Yes
No

I would love it too. :)

7 years ago
Permalink

Comment has been collapsed.

now it exists, just fyi ;)

7 years ago
Permalink

Comment has been collapsed.

Nice, thanks! :)

7 years ago
Permalink

Comment has been collapsed.

it depends on how many groups you are a part of? even then would it be worth it.

why is your steamgifts page black and retro?

7 years ago
Permalink

Comment has been collapsed.

several pretty active groups personally, but the thing about it is, i avoid joining some of their GAs so that other peoples odd's increase.. particularly i commonly see Unlucky7 GAs that are multi-grouped with a group i am involved in, and i purposely skip the majority of those GAs in hopes a unlucky7 member wins it instead... additionally i am currently a guest only gifter in another group and am only allowed to join GAs that i would of otherwise been able to join if i were not a guest gifter.. so in both those instances a script like this would come in very handy..

and its black/retro from this style script xD

7 years ago*
Permalink

Comment has been collapsed.

That sounds complicated :P luckily i dont enter many giveaways and so dont have that problem :P

7 years ago
Permalink

Comment has been collapsed.

i personally have the opposite mentality of this site as most people. if it's a good game that i TRULY want, i buy it. period.. this site for me is a place to collect extra games that i wasn't quite so sure i'd enjoy, so i join most still.. however if i see a game that truly is desired by most people or AAA and un-bundled, i skip it (99% of the time, not gonna lie, occasionally ill still try). but i try and pickup the un-bundled $0.49-$0.99 games few people want, or the bundled games i missed because i owned most of the bundle.

i try to give back 2-3x what i receive at all times too as well to stay "fair" about it, but that's what this site is to me. not a place to try and win AAA's, but a place to pickup those undesired by most people type of games.

7 years ago
Permalink

Comment has been collapsed.

whereas i'm poor/cheap so will only enter gibs for games that i actually wanna play :P

but if i really want it i'll probably buy it (and then probs give away like superhot :P)

7 years ago
Permalink

Comment has been collapsed.

that's how most people feel and use the site, and there is nothing wrong with that mentality what so ever. in fact it's a more desired mindset for most other users here as well, and they want somebody more like you to win their games rather then somebody like me. but i do at least giveback in larger quantity then what i take to make up for my theiving existance here. :D lol

7 years ago
Permalink

Comment has been collapsed.

Yeah, that'd be useful. I made similar suggestion in the past. I also added the request to modify the color of that green icon into some other color, for specific groups.

So you'd have the groups A, B and C, with similar rules or something else they have in common, being represented by blue, for example.
D and E, which have something else in common, could be red and the rest remains green.

7 years ago
Permalink

Comment has been collapsed.

It's been an official feature but was later removed because apparently people started to frequently beg for invites to private groups. I don't really see a point in creating scripts for something that has been disapproved by the staff.

7 years ago
Permalink

Comment has been collapsed.

I knew too that it has been removed due to these problems :s

7 years ago
Permalink

Comment has been collapsed.

Deleted

This comment was deleted 3 years ago.

7 years ago
Permalink

Comment has been collapsed.

Wasn't the estimated win thing simply related to the storage? Anyway, I don't think that the reason behind its removal was related to it being thought of as potentially harmful.

7 years ago
Permalink

Comment has been collapsed.

Deleted

This comment was deleted 3 years ago.

7 years ago
Permalink

Comment has been collapsed.

Oh that's why it disappeared :\

7 years ago
Permalink

Comment has been collapsed.

You can only see giveaways for groups you are in, so I don't think it's even possible to make a script that shows other groups.

The current script only shows what you can already see if you go to the giveaway.

7 years ago
Permalink

Comment has been collapsed.

Some people were visiting various user's profiles, seeing that they have a bunch of quality group GAs, checking the group's name by hovering over the green sign and then begging for invites to these groups. That's the official reason iirc.

7 years ago
Permalink

Comment has been collapsed.

then it makes perfect sense why they would kill that feature. luckily this script won't allow that sort of thing at all, like others said they have to be a member of at least one of the groups already. as well as at least unedited, this script only works on giveaway pages, not user pages.

7 years ago
Permalink

Comment has been collapsed.

Oh, nice to hear that. Haven't had the time to test out the script yet.

7 years ago
Permalink

Comment has been collapsed.

How would it look if there are 25 groups? You can make a giveaway for up to 25 groups at the same time

7 years ago
Permalink

Comment has been collapsed.

if more then 5 groups make it just list the first 5 and at the bottom in red text "Click here to see the remainder of the groups" and it takes you to the groups page in those instances.

7 years ago
Permalink

Comment has been collapsed.

Something like this?

$("body").append("<div id='groupTooltip' style='border:1px solid #d6d6d6;background-color:#f3f3f3;display:none;position:absolute;'></div>"); $(".giveaway__column--group").mousemove(function(e) { $('#groupTooltip').css({ left: e.pageX + 10, top: e.pageY + 10, display: "block" }); if (!$(this).hasClass("tooltipShowing")) { $(this).addClass("tooltipShowing"); $.get(this.href, function(data) { $('#groupTooltip').html($(".sidebar+ div", data).html()); }); } }).mouseleave(function() { $('#groupTooltip').css({ display: "none" }); $(this).removeClass("tooltipShowing"); });

7 years ago
Permalink

Comment has been collapsed.

Congrats, I just tried it for the fun, and it works well :)

7 years ago
Permalink

Comment has been collapsed.

:)

7 years ago
Permalink

Comment has been collapsed.

terribly sorry, but how do i go about using this? i tried creating a new script and pasted all that into it and it looks to me like correct formatting and its working, but hovering isn't actually working for me (and i disabled all other scripts to insure it wasn't a conflict).

or does it need to be added to an existing script and that was my issue?

7 years ago
Permalink

Comment has been collapsed.

Deleted

This comment was deleted 3 years ago.

7 years ago
Permalink

Comment has been collapsed.

unsure tbh.. current header:

// ==UserScript==
// @name         Group Identifier
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  try to take over the world!
// @author       You
// @match        https://www.steamgifts.com/giveaways/
// @grant        none
// ==/UserScript==

then line 10 = blank
line 11 = the code snippet above
line 12 = blank (didn't know if it needed a return line after the code snippet)

7 years ago
Permalink

Comment has been collapsed.

ahhhhh got it...

// @match        https://www.steamgifts.com/giveaways/*

that * was missing

7 years ago
Permalink

Comment has been collapsed.

Deleted

This comment was deleted 3 years ago.

7 years ago
Permalink

Comment has been collapsed.

thanks for your help xD

7 years ago
Permalink

Comment has been collapsed.

Thank You very much, added link to OP as well. Of course you are welcome to open your own clean thread on it as well, for requests or bug fixes or whatnot on it.

7 years ago
Permalink

Comment has been collapsed.

Nice!
Sadly it doesn't support endless scrolling. Only functions for the first page.

7 years ago
Permalink

Comment has been collapsed.

Yup, you would have to implement my javascript in the userscript that does the endless scrolling.

7 years ago
Permalink

Comment has been collapsed.

No need, you just need to replace the 2 following lines

    $(".giveaway__column--group").mousemove(function(e) {
    }).mouseleave(function() {

by those

    $("body").on("mousemove", ".giveaway__column--group", function(e) {
    }).on("mouseleave", ".giveaway__column--group", function() {

Also, if you grab the content from ".table__heading+ div" instead of ".sidebar+ div", you do away with the two useless group headers.

7 years ago
Permalink

Comment has been collapsed.

Oh nice, forgot about that.

7 years ago
Permalink

Comment has been collapsed.

Could you add some option to switch the position of the box?

View attached image.
7 years ago
Permalink

Comment has been collapsed.

Released an update :)
Added a variable "pos_above_cursor". If you edit the usersript and set this to true, the hover box will be displayed above cursor.

7 years ago
Permalink

Comment has been collapsed.

Thank you! :)

7 years ago
Permalink

Comment has been collapsed.

No problem :)

7 years ago
Permalink

Comment has been collapsed.

Thanks for script and fix !

7 years ago
Permalink

Comment has been collapsed.

thank you, works perfectly now that i know how the script header functions ^^

7 years ago
Permalink

Comment has been collapsed.

Thank you for your awesome work!

7 years ago
Permalink

Comment has been collapsed.

Bump :)

7 years ago
Permalink

Comment has been collapsed.

Bump!

7 years ago
Permalink

Comment has been collapsed.

Wouldn't mind that.

Bump.

7 years ago
Permalink

Comment has been collapsed.

bump :-)

7 years ago
Permalink

Comment has been collapsed.

great!

7 years ago
Permalink

Comment has been collapsed.

Bump :P

7 years ago
Permalink

Comment has been collapsed.

do some z-index or your popup goes under "Active Discussions" header :)

question I can't answer here

7 years ago
Permalink

Comment has been collapsed.

I suggested this within the first week of SGv2. Nice to see someone finally tackling the issue! ;D

7 years ago
Permalink

Comment has been collapsed.

No problem ;)
Love creating little scripts.

7 years ago
Permalink

Comment has been collapsed.

Wow, thanks!
Another "show on hover" I would want is for giveaway description! I have the "enter button" to enter without having to open the page, but I would like to know if the ga creator said something. If this appears when I hover the "enter giveaway" that I have for "Extended Steamgifts" button would be perfect for me! :)

7 years ago
Permalink

Comment has been collapsed.

this is great I was sure that someone will do it!
You did it, great!

7 years ago
Permalink

Comment has been collapsed.

no, not mine.. was just my suggestion (and I wasn't the first), and topic.. full credit of the actual script goes to Royalgamer06 🙂

7 years ago
Permalink

Comment has been collapsed.

ho yes, sorry, so thanks Royalgamer06 ;)
and you for the suggestion too.

7 years ago
Permalink

Comment has been collapsed.

No problem ;)

7 years ago
Permalink

Comment has been collapsed.

do some z-index or your popup goes under "Active Discussions" header :)

7 years ago
Permalink

Comment has been collapsed.

Done

7 years ago
Permalink

Comment has been collapsed.

So nice! Thank you! :D

7 years ago
Permalink

Comment has been collapsed.

cred goes to Royalgamer06 ^^ his creation, just my measly suggestion.

7 years ago
Permalink

Comment has been collapsed.

Cheers :)

7 years ago
Permalink

Comment has been collapsed.

This is wonderful. Thanks!

7 years ago
Permalink

Comment has been collapsed.

Glad you like it :)

7 years ago
Permalink

Comment has been collapsed.

pilda has a question below. xD


that does happen for me too fairly often tho ;)

7 years ago
Permalink

Comment has been collapsed.

Will release update.

7 years ago
Permalink

Comment has been collapsed.

Game Key ?? =
Terra Lander XFJWV-X4?JD-R8II9 123456x890
7 years ago
Permalink

Comment has been collapsed.

This is handy for group management ^^ Thanks for sharing d3m4n and Royalgamer06!

7 years ago
Permalink

Comment has been collapsed.

Hello,
the info often doesn't close after I move mouse cursor away. Then it is quite hard to close it. Could you add a condition that would close the info after I move the cursor out of the icon?

7 years ago
Permalink

Comment has been collapsed.

I am already using the mouseleave event. I guess something cause it not to trigger. I released an update where you can also close it by clicking anywhere else. I hope this is sufficient.

7 years ago
Permalink

Comment has been collapsed.

that's enough for me. thanks. ^^

it only happened 1 outta ~10 times really. but when it did it was kinda hard to get it to go away. had to try and make it popup elsewhere to make it stop.. but a click out of it is easy enough for a fix. xD

7 years ago
Permalink

Comment has been collapsed.

It works, thanks. :)

BTW: how about highlighting groups I am a member of? It would be very handy. Could you implement it?

View attached image.
7 years ago*
Permalink

Comment has been collapsed.

Yeah, that should be possible.

7 years ago
Permalink

Comment has been collapsed.

Sign in through Steam to add a comment.