Comment has been collapsed.
You've read my mind. This is great. I tried to work around this (saving in bookmarks and making my browser ugly) but the fact you came up with this suits so perfectly. Thanks!
Comment has been collapsed.
Update 2017-06-04:
I've been sitting on some new features for a while now, but it needed crazoter to come along with some even greater new features (see below) to get me off my ass and release the new version. If you don't like any of the new features, you can disable most of them on the Settings page.
Changelog:
v1.0.0 (2017-06-04)
Comment has been collapsed.
The script doesn't work for me. It doesn't execute itself at all. I use Tampermonkey.
ERROR: Execution of script 'SG Bookmarks' failed! Failed to set the 'sgapi__settings_SGBookmarks' property on 'Storage': Setting the value of 'sgapi__settings_SGBookmarks' exceeded the quota.
(anonymous)
(unknown) Error: Failed to set the 'sgapi__settings_SGBookmarks' property on 'Storage': Setting the value of 'sgapi__settings_SGBookmarks' exceeded the quota.
at LocalStorage.save (eval at E_c (:3:221), <anonymous>:2050:31)
at save (eval at E_c (:3:221), <anonymous>:1984:12)
at initSettings (eval at E_c (:3:221), <anonymous>:2352:5)
at Object.init (eval at E_c (:3:221), <anonymous>:2371:5)
at initSettings (eval at E_c (:3:221), <anonymous>:2982:10)
at main (eval at E_c (:3:221), <anonymous>:2633:2)
at Window.tms_77d95a6e_8a2f_477c_82ad_a1f1079fa0a5 (eval at E_c (:3:221), <anonymous>:3138:1)
at <anonymous>:2:398
at eval (eval at E_c (:3:221), <anonymous>:3:1)
at eval (eval at E_c (:3:221), <anonymous>:4:3)
Comment has been collapsed.
Looks like your localStorage is full. LocalStorage is a the space most userscripts save their data and it is is restricted to 5-10MB per origin (=domain) in most browser. Meaning if you use a script that uses a lot of data then at one point the space for ALL Userscripts on this page is exhausted. I don't know which script is causing this for you, but it is not a SG Bookmarks issue.
If you are not afraid to lose all data of your userscipts you can purge your localStorage by calling
delete localStorage
on your javascript console. This will purge your localStorage for the current domain.
Some scripts (like SG Usernotes for example) don't use localStorage but GM_Storage for persistence, so these would be unaffected by that measure.
Alternatievely, to inspect the content of your localStorage, you can call
localStorage
in your JS console. This way you might be able to find out which script uses all the space and only delete that data.
Comment has been collapsed.
Unfortunately not. It seems for some brwosers you can increase the localStorage though.
Comment has been collapsed.
Just installed it, thanks a lot. If only I'd have known earlier about it :D
edit) I wish I could bookmark a certain game/search results for a term or steamappid, for e.g. this page:
https://www.steamgifts.com/giveaways/search?app=507490
I think a way to make it work could be, if it displayed the 5 or maybe 10 earliest ending giveaways of that game.
Comment has been collapsed.
Thanks for the free update. Really useful features.
Comment has been collapsed.
1,796 Comments - Last post 32 minutes ago by BlazeHaze
22 Comments - Last post 45 minutes ago by Chris76de
493 Comments - Last post 1 hour ago by sallachim
205 Comments - Last post 2 hours ago by carlica
381 Comments - Last post 2 hours ago by OsManiaC
54 Comments - Last post 3 hours ago by sensualshakti
1,015 Comments - Last post 3 hours ago by sensualshakti
50 Comments - Last post 6 minutes ago by cheeki7
43 Comments - Last post 6 minutes ago by 9389998
20 Comments - Last post 9 minutes ago by UnknownDepth
1,867 Comments - Last post 45 minutes ago by MeguminShiro
797 Comments - Last post 49 minutes ago by MayoSlice
8 Comments - Last post 1 hour ago by cheeki7
15 Comments - Last post 1 hour ago by LupoSilente
You know that moment when you've hit 0P and there are still so much GAs to enter? I always leave the tabs open until my points recover. Depending on the amount of GAs to go this can take a while which is really annoying. That's why I wrote a little Userscript that adds a bookmarking function to SG. It adds a little bookmark icon right next to the game title in the header. If you click it, the GA gets added to your bookmark list. The list can be accessed via the bookmark menu item in the top menu. The list shows all active GAs on the top, ordered by expriation date. After that, all ended GAs are listed grayed out, also ordered by expiration date.
The source code is available on Github. If you find a bug, please open an issue there and bump this thread.
I wrote the script for myself and according to my needs, so I wont add any new features, but contributions are always welcome. Just open a pull request on Github.
TL;DR
Install
You'll need a scriptmanager like Tampermonkey in Chrome or Greasemonkey in Firefox to install this script
PS: Have a look at my other SG Userscripts:
and if you are a coder my SG Userscript API
Update 2017-06-04:
I've been sitting on some new features for a while now, but it needed crazoter to come along with some even greater new features (see below) to get me off my ass and release the new version. If you don't like any of the new features, you can disable most of them on the Settings page.
Changelog:
v1.0.0 (2017-06-04)
There is a new option on the Settings page called "Remove ended Giveaways automatically", which cleans up your GA list automatically and removes all GAs once they ended. Note that when you activate this option it is active immediately and instantly deletes all ended GAs from your list.
Alternatively, there is a Button "Clean up" below that option, which deletes all ended GAs once without enabling the "Auto-Remove" feature.
CAUTION: This feature may cause some issues if you bookmark GAs that have not started yet. Due to a bug in SgApi, the script thinks these GAs have already ended, which makes the script remove them immediately. I hope to find the time to tackle this issue some time soon.
Thanks to the amazing effort of crazoter, the script now keeps track of your giveaway state. This means that GAs that you have entered are slightly faded in the list. This feature can be disabled at on the Settings page (named "Show giveaway status"). Note that this also disables highlighting owned games in the list.
Also as part of the state-tracking, games that you already own are highlighted with a slighly red background. This feature can be disabled at on the Settings page (named "Show giveaway status"). Note that this also disables highlighting entered giveaways in the list.
Also by crazoter comes this great feature: games that are part of a train are now grouped in the bookmark list. GAs are considered part of a train when they are created by the same user and end about the same time. It may not cover every train there is, but it should help keeping you bookmark list a little bit more organized. This feature can be disabled at on the Settings page (named "Group giveaways in a train").
Until now, if you had two tabs open and bookmarked a GA in one, you needed to reload the other tab to see the changes there. This has changed now, since your bookmark list is synced between all open tabs, so you have a consistent browsing experience while using SG Bookmarks.
Comment has been collapsed.