I updated the previous example i showed you that targets the links instead of container order so any script that adds something won't mess things up.
Essentially it finds the links parent then traverses down to the .nav__absolute-dropdown and appends the content.
Original:
$(".nav__left-container .nav__button-container:nth-child(5) .nav__absolute-dropdown").append
Updated:
$(".nav__left-container .nav__button[href='/support']").parent().children(':first-child').children(':first-child').append
Comment has been collapsed.
Yup works good, just white text from '.sg-info-text' overriding '.nav__notification'
On another note i use '.footer__inner-wrap i' , because if CG disables notifications jquery won't be able to use that color since it is not found. Or if you don't have any notifications it won't be found as well.
Comment has been collapsed.
Comment has been collapsed.
- added "Master List of Ongoing Bundles" button;
- changed how elements are inserted (won't conflict with other scripts);
- changed css so it uses colors/backgrounds from sg styles (or any other userstyle than injects them);
- fixed FAQ-button and FAQ-dropdown-menu borders.
Comment has been collapsed.
Thanks. I was already using your stylish, but I didn't know this script yet. Thank you again.
Comment has been collapsed.
Thanks for this script as it is really awesome and useful.
Just a little suggestion: Now there is a new "Recommended" filter to browse the giveaways among the classics "Group", "Wishlist" and "New".
https://www.steamgifts.com/giveaways/search?type=recommended
It could be useful to add the "Recommended" link to Giveaways Menu for the next update.
Comment has been collapsed.
I've edited your script to add region restriction link inside giveaways dropdown.
https://codeshare.io/a1iT1 See line 114-120.
Can you please update it? I'm from region locked area, so that button will be great help :D
I have been a while using this edited script, but it maybe overwritten if you update the script in the future, so I ask you if you will add it :D
Thanks in advance.
And this is very useful script :D
Codeshare will expire in 14 days.
screenshot :
Comment has been collapsed.
Hello, what about adding the link to SG change log?
Comment has been collapsed.
31 Comments - Last post 1 hour ago by slurredprey
54 Comments - Last post 2 hours ago by sensualshakti
450 Comments - Last post 5 hours ago by klingki
7 Comments - Last post 9 hours ago by xXSAFOXx
16,297 Comments - Last post 11 hours ago by SebastianCrenshaw
206 Comments - Last post 15 hours ago by Joey2741
31 Comments - Last post 16 hours ago by Pika8
172 Comments - Last post 11 minutes ago by Fitz10024
54 Comments - Last post 11 minutes ago by MarvashMagalli
7,980 Comments - Last post 12 minutes ago by greddo
70 Comments - Last post 54 minutes ago by Tucs
44 Comments - Last post 1 hour ago by Tucs
690 Comments - Last post 1 hour ago by Fitz10024
128 Comments - Last post 1 hour ago by Swordoffury
SGLinkies
<< Adds handy links to steamgifts.com top-menu and footer >>
This scripts adds links pointing to pages and threads that unfortunately are hidden or buried in the forums.
INSTALL
(You can also check the source code there)
This script requires:
* Opera and Safari versions not tested.
It will add elements in these menu/places:
Giveaways Menu
Discussions Menu
Support Menu
Help Menu
User Menu
Footer Links
Changelog
1.6.4 - added DLC category; purged old thread links in discussions.
1.6.3 - added change log button under help menu.
1.6.2 - removed faq drop-down menu and extra buttons (added by default on steamgifts).
1.6.1 - updated bundles thread url.
1.6 - added "sg-bookmarks" to discussions menu; added author name to discussions items.
1.5.5 - changed add-on registry url (new thread).
1.5.4 - added "region restricted" category to giveaways menu.
1.5.3 - added "recommended" category to giveaways menu; reordered categories in giveaways menu.
1.5.2 - fixed script for https protocol.
1.5.1 - added "Master List of Ongoing Bundles" button; changed how elements are inserted (won't conflict with other scripts); changed css so it uses colors/backgrounds from sg styles (or any other userstyle than injects them); fixed FAQ-button and FAQ-dropdown-menu borders.
1.4.2 - fixed menu position after SG update.
1.4.1 - removed user list from FAQ menu (it's on the footer).
1.4 - added giveaway filters under giveaway menu; updated sgtools links with new domain.
1.3.2 - fixed discussion link.
1.3.1 - added How to Check Your GA Winners under Discussions.
1.3 - added drop-down menu to the FAQ button; moved User List to FAQ; added Guidelines and Comment Formatting under FAQ.
1.2 - added SGTools under Support; added Guide to Winning under Discussions; added User List under User Menu.
1.1.2 - fixed an issue with color tags
1.1.1 - added SG Group to the footer
Compatibility
"Should" be compatible with anything, since it just adds elements to the page.
It will get messy if another script adds buttons to the top menu (like putting these links inside another button). -_-fixed :3First userscript I ever made, took me almost the whole day since i had no idea what I was doing xD
Anyway, it's just a small tweak that adds convenient shortcuts.
If there are more links that should be added, discuss them here.
Just take into consideration we don't need every thread in a menu, and announcements have their own category so there's ne need for shortcuts (I think).
-v1.4 previews-
Comment has been collapsed.