Probably the same thing that's happening with Discussions Highlighter for you. Same thing was happening to me when testing Firefox. 9 out of 10 times I opened a page and Comment Tracker was nowhere to be found. I don't think I can fix that, or at least I don't know how to. It seems to only happen on Firefox.
Comment has been collapsed.
It happened randomly for me. Yesterday I tried testing on Firefox again and it seemed to be working fine.
Well, yeah, since you use many tabs, unfortunately Tampermonkey is a no-go for you.
Comment has been collapsed.
Yeah, that's what I felt like. And which features don't work is completely random. If you notice the "can't convert to string" errors, every time you reload the page, they happen on a different line. And it's not even this script, I made a test script that only contained the following:
for (i = 0; i < 50; ++i) {
GM_setValue(`test`, JSON.stringify({
a: 2,
b: {
c: 3
}
});
}
And this test script gave the same errors (each time you load the page it happens a different amount of times). All I know is the errors happen because of GM_setValue
, but why exactly I don't know.
Comment has been collapsed.
There's nothing different about how I write it, even the test I just showed you throws the error. Do the other scripts you use have GM_setValue
? And do they use that function frequently?
Comment has been collapsed.
Depends on the browser, I don't control the color of the emojis.
Comment has been collapsed.
it actually depends even more on font type that the browser uses. i can change my font type to where i have colored emojis, or black and white only. depending on "noto serif" = black n' white, or "noto sans" = color for me personally inside of linux anyways.
Comment has been collapsed.
Version v6.Beta.21.0 seems to have broken many things for me. No filters, no Enter/Leave button. no "chance to win %", etc. Any ideas how to get these back (assuming this is not caused by a bug)?
Comment has been collapsed.
OK, what do I look for?
Error in parsing value for ‘display’. Declaration dropped. minified_v23.css:1:3914
Error in parsing value for ‘-webkit-box-align’. Declaration dropped. minified_v23.css:1:12184
Error in parsing value for ‘-webkit-box-align’. Declaration dropped. minified_v23.css:1:15274
Error in parsing value for ‘-webkit-box-align’. Declaration dropped. minified_v23.css:1:21244
Unknown property ‘-moz-osx-font-smoothing’. Declaration dropped. font-awesome.min.css:4:660
Expected color but found ‘undefined’. Error in parsing value for ‘color’. Declaration dropped. www.steamgifts.com:3:7
Expected color but found ‘undefined’. Error in parsing value for ‘background-color’. Declaration dropped. www.steamgifts.com:4:18
Error in parsing value for ‘word-break’. Declaration dropped. www.steamgifts.com:1:27
Comment has been collapsed.
Not sure what I am looking for, but this line was pink and mentioned ESGST:
TypeError: context.getElementsByClassName(...)[1] is undefined[Learn More] ESGST.user.js:26394:34
Comment has been collapsed.
I did see that after doing a shift-reload of the main page, but now when i do it I don't see that error.
If I shift-reload the page with Greasemonkey enabled, and then do the same with it disabled, the front page of steamgifts looks the same (except for the ESGST button at the top), so it is like it is not working on the front page.
If I go to individual GAs I can see all the ESGTS stuff, so it is working there.
Comment has been collapsed.
I'm thinking it could be related to the new Old Active Discussions Design feature, but I tested with it disabled and got no errors. Do you have that enabled?
Comment has been collapsed.
Only on the main page? Also no errors on Ctrl + Shift + J?
Comment has been collapsed.
How do you do that? If I run an audit I don't get the circles at the top with that information below them.
Comment has been collapsed.
First I got 0 performance with ESGST enabled, then disabled it and got 78 performance, then enabled it again and got 69 performance. The performance count seems to be related simply to how long it takes the page to load.
Comment has been collapsed.
Just finished rewritting Unsent Gifts Sender. Tested it a lot, but I could still have missed some bug, let me know if it's working fine. :)
Comment has been collapsed.
Ok, also let me know about the Inbox Winners Highlighter bug. :)
Comment has been collapsed.
Do you remember what settings you had enabled when you send the gifts to that winner?
Comment has been collapsed.
Ok, I'll check the code again, I thought I had implemented it perfectly. :/
Comment has been collapsed.
sounds good.. just thought of a feature enhancement or kinda a side feature. not sure it could be considered an enhancement since it would be on a separate page then the feature it would enhance. but..
"ignore this users infractions prior to this date" (for the unsent sender purposes) -- it would be good for those few users who have old infractions that i'm in group/groups with, they get a pass if their only rulebreak(s) are prior to me toggling that on, on their profile page. similar to the way the whitelist toggle option gets a free pass, but it would be on a per chosen user basis.
Comment has been collapsed.
+1 to marlop's report. You add a
margin-top: 2px;
to
giveaway__summary esgst-gv-popout global__image-outer-wrap
which creates the gap. Can't fix it per css as that screws up placement of the boxes on the lower screen part.
E: actually it seems thumbnail size is wrong and causing this
E2: ah no, time/level is positioned too low
Comment has been collapsed.
How else would you explain why there's no more gap for me?
Comment has been collapsed.
Oh boy, don't tell me I'm gonna have to open Firefox to fix this. :/
Comment has been collapsed.
That would mess up Chrome then. And I cannot locate anywhere on the script where a 2px margin is added, so that's probably related to Firefox as well.
Comment has been collapsed.
? If I move stuff 2px to the top, the gap will be gone from Firefox, but now there will be a gap on Chrome.
Exactly, but it only goes lower on Firefox.
Comment has been collapsed.
Like I said, they are not low on Chrome. They're perfectly aligned with the image. I'll open Firefox later to see what I can do.
Comment has been collapsed.
It's done by CSS. There is a margin: -18px 0 0 !important;
rule on .esgst-gv-icons
. See if adding height: 18px;
or max-height: 18px;
or line-height: 18px;
to it corrects the gap.
Comment has been collapsed.
Ah, thanks for not making me open Firefox. :P Will add the fix to the next version.
Comment has been collapsed.
Actually not that strange, if you notice the heading buttons, I think they're a bit larger on Firefox as well. Added the fix.
Comment has been collapsed.
Also, nowhere on my script is there a margin-top: 2px;
added to that popout.
Comment has been collapsed.
Can you add a class on the stuff that the image borders get applied to so i can target them without messing up the regular ones 😀
Comment has been collapsed.
Sure, added. .esgst-ib-user
to user avatars and .esgst-ib-game
to game avatars. :)
Comment has been collapsed.
Suggestion: Estimate the chance of winning based on the amount of time left and the number of entries already entered.
This will keep the brand new ones from shooting to the top when sorting by chance.
chance = entries > 0 ? Math.round(giveaway.copies / (entries / (Date.now()-giveaway.startTime) * (giveaway.endTime-giveaway.startTime)) * 10000 ) / 100 : 100;
This works well on the main page. I haven't checked all pages to see if it breaks anything.
Comment has been collapsed.
I have a feature tweak to suggest, regarding Giveaway Filters. Is it possible for the script to fetch the selected giveaways from filters from the following pages, instead of one specific page, up to a cap of 50 per page? To make this seem more clear since my explanation might be inaccurate. Let's suppose I only allow Package Giveaways to be shown, but the ones that are shown are from the same giveaway page and may be let's say 2-3, but what I would suggest is that giveaways are brought up from next pages(maybe have an option to set pages or even a time period) and the maximum number of them shown would be 50 per each page. I hope I didn't make this any more complicated than it may sound and also the frequent updates and useful features that come with them are really appreciated!
Comment has been collapsed.
I plan on removing pages from Endless Scrolling, so this suggestion would be quite simple to implement with that. :)
Comment has been collapsed.
I mean simply removing the "Page X" heading at the beginning of each page to make the contents blend, so it would "remove the pages" just visually, to make it appear as it if you were actually endlessly scrolling (the contents blending and stuff). Would that be a problem for you?
I also think that would be nice for the refresh function and the Discussions Sorter, since they currently work on a page-by-page basis. It's a bit pointless to open 3 pages, for example, and when asking to refresh only the current one refreshes, in my opinion. I would prefer if all open pages were refreshed.
I'm still thinking about it though, so if you have any arguments that keeping it as pages for the forums is better, I'm happy to hear them. :)
Comment has been collapsed.
I'm actually going through bigger threads page by page to use the mark all read button per page as it can be too much to read through everything in one go and clicking each comment is too bothersome.
(A mark-read-till-here button would be nice)
Same goes for the page reload, though I can see that loading all pages being useful in cases too. 2 buttons can be a solution here.
Last point is visual orientation that those headers give. I guess I'll need to try the new variant to see if it works out fine.
Comment has been collapsed.
Adding two buttons would be fairly simple, I like that idea.
You would still have the pagination changing as you scroll down the page at the top, so you could use that for orientation. I'd just like to blend the pages because a lot of features would benefit from that.
Comment has been collapsed.
There already is a filter for that, it's called "Created".
Comment has been collapsed.
Some people might like seeing that data. Also if they entered a giveaway and didn't win it, for example, they might want to see what were they chances when the giveaway ended.
Comment has been collapsed.
Yeah, giveaway features aren't loaded if there isn't a link to the giveaway. I should change that for some of them later.
Comment has been collapsed.
Yeah, I have to think a bit about how the formula for that would be. :P
Since for chance the default one was
copies / entries
and the advanced one was
copies / (entries / (currentTime - startTime) * (endTime - startTime))
and for ratio the default one is
entries / copies
would it be simply the opposite of the chance one?
(entries / (currentTime - startTime) * (endTime - startTime)) / copies
I'm not good at coming up with formulas for stuff. xD
Comment has been collapsed.
Hey, did you delete all your data or just your user data when you were testing the crash bug before? I'm starting to think it's really related to the storage size. Either the storage size or the use of GM_setValue
/GM_getValue
. Do you get any can't convert to string
errors when using the script on Firefox (these errors are only visible through Ctrl + Shift + J)?
Wish I could switch to localStorage
to test, but unfortunately that doesn't work cross-domain, so the data wouldn't be available between SG and ST.
Comment has been collapsed.
i strongly think it's storage size related tbh. cause after some updates my export is smaller and at those times, it's not nearly as bad at crashes. and other updates my export is larger, and those times it can't handle near as many tabs before crashing.
currently it's a little lower that normal.
Comment has been collapsed.
Yeah, I think so too, I intentionally caused my storage to increase and had to restart my computer because everything froze as soon as I opened any SG tab. And my storage is currently less than 2 MB, so that would explain why I've never experienced crashes. I'll have to think of something to reduce the size.
Comment has been collapsed.
The simplified version of Comment Tracker now counts all comments as read if the discussion hasn't been visited yet.
I, for one, kinda liked it better when it said 9 (+9) so I know I hadn't seen it.
Oh, and great work btw. I really appreciate it =)
Comment has been collapsed.
latest updates unsent gift sender seems flawless on all i know to test so far. ^^
only thing i still haven't tested is group+whitelist GAs wl entries rather than group, but i setup a few of those to end in 48hr. will let you know on that one then. ;)
Comment has been collapsed.
With 4.2.7.2 (Automatically mark comments as read in the inbox when clicking on the "Mark as Read" button.) enabled, the submit comment button is overlaid with the mark as read button, so I can't actually submit anything (in GA's if that's not clear anyway).
And would it be possible to add the hide button to the train extractor or is there any reason it was left out?
Comment has been collapsed.
Ah, thanks for noticing that. Will fix it in the next version.
No particular reason, I just have to implement my own button because SG's doesn't work if I bring it from the loaded giveaways. Will do it later.
Comment has been collapsed.
Ah, the way you took the screenshot made me feel like you were focusing on the white space. :P Do you have advanced formula enabled?
Comment has been collapsed.
Well, then the chance is correct. It uses the start/end time of the giveaway to estimate what your chance will be when it ends.
Comment has been collapsed.
You're welcome! :)
Did you ever suggest it before? I have a feeling someone did, but I never got around to doing it, and I often forget suggestions if they're not posted on GitHub. :P
Comment has been collapsed.
Lately I've been on top of suggestions in this thread though, so it's no problem if you can't use GitHub. :)
Comment has been collapsed.
Indicate if there are unentered wishlist giveaways open.
Is it possible to add an sub option like:
"Ignore giveaways that you did visit but didn't enter."
Reason: Some wishlisted giveaways I won't enter because group restrictions and some others I can't because levels.
Comment has been collapsed.
Yes, will do it later. I also plan on enhancing the feature to look for unhidden/unfiltered giveaways from Giveaway Filters.
Comment has been collapsed.
Thanks! What is the frequency that ESGST reads the wishlist to identify a new giveaway?
Comment has been collapsed.
It's the Header Refresher frequency, every 60 seconds.
Comment has been collapsed.
How about link the:
"Giveaways Filters > Enable the option to hide giveaways"
or
"Giveaways/Discussions/Tickets/Trades Tracker > Fade visited giveaways"
to the
"Header Refresher > Indicate if there are unentered wishlist giveaways open."
to make the wishlist heart disappear when you did already visit the giveaway?
Comment has been collapsed.
Yes, that's what I had in mind, just haven't had the time to do it yet.
Comment has been collapsed.
It is probably not necessary to check if items are "Bundled" when looking at The Bundle List.
Comment has been collapsed.
It appears fine for me. That feature is not related to Endless Scrolling though, it's Comments.5 Reply Box Popup.
Comment has been collapsed.
There was actually a bug that was making the feature load even when disabled, so that's why you were able to see it even with it disabled.
Comment has been collapsed.
for anyone that wants it....
a fresh bundlelist export ^^
Comment has been collapsed.
Nice, thanks. ^^ I'm currently working on the Google Sheet sync thing and it will be up in the next version. :)
Comment has been collapsed.
Request: can you use css variables on the level progress visualizer css so themes can change it ;)
Example
.esgst-lpv-container {
background-image: linear-gradient(to right, var(--level-bar, #609f60) ${fullBar}, transparent ${fullBar}), var(--nav-button, linear-gradient(#8a92a1 0px, #757e8f 8px, #4e5666 100%)) !important;
}
Comment has been collapsed.
That's what I added you on Steam to discuss, I wasn't sure how it would be possible to make themes work with the new changes, but wow, you can use variables in CSS? You learn something new every day. :P Will add it to the next version.
Comment has been collapsed.
Will have to test later but i don't see a problem in the code. Would be good practice to have variable names unique to your script though to eliminate the chance somebody else uses the same name.
Edit: tested and works as expected.
Comment has been collapsed.
Ah, I thought the variables only worked under .esgst-lpv-container
, or at least that's what I got from my testing. I'll add a esgst-lpv-
prefix in the next version.
Comment has been collapsed.
450 Comments - Last post 20 minutes ago by klingki
29 Comments - Last post 2 hours ago by adam1224
7 Comments - Last post 4 hours ago by xXSAFOXx
16,297 Comments - Last post 6 hours ago by SebastianCrenshaw
52 Comments - Last post 7 hours ago by adam1224
206 Comments - Last post 10 hours ago by Joey2741
31 Comments - Last post 11 hours ago by Pika8
43 Comments - Last post 9 minutes ago by venturercatt
13 Comments - Last post 22 minutes ago by Azaltir
7,978 Comments - Last post 23 minutes ago by hbarkas
727 Comments - Last post 32 minutes ago by eeev
104 Comments - Last post 53 minutes ago by Axelflox
23 Comments - Last post 1 hour ago by FateOfOne
43 Comments - Last post 2 hours ago by Vincer
Enhanced SteamGifts & SteamTrades (ESGST)
An extension / userscript that adds some cool features to SteamGifts and SteamTrades.
If you find any bugs or have any feature requests, please file an issue here.
Compatibility
Tested and confirmed as working:
Not tested but should be working:
Not supported:
Installation
There are two different ways to use ESGST: extension or userscript. You can choose which one you want to use, but the extension is a lot faster and has a better peformance than the userscript, so I recommend it, although there is no major difference between them, except for a few options that are only available in the extension because of limitations in the userscript.
Option 1 - Extension
It should be possible to install the extension in any Chromium-based browser from the Chrome store (such as Opera, Vivaldi, etc...), any Firefox-based browser from the Firefox store (such as Waterfox, etc...), and any browser that uses the Phoebus system from the Pale Moon store (such as Basilik, etc...).
You can also use the extension on Android through Firefox for Android, but some features might not work or not be optimized enough for mobile.
Option 2 - Userscript
To install the userscript, you must install Violentmonkey, Tampermonkey, Greasemonkey or some other userscript manager first. Then click here and you should be prompted to install it. I recommend Violentmonkey or Tampermonkey, because the userscript uses the GM_addValueChangeListener API to communicate changes in the storage between tabs, and that API is not available on Greasemonkey, so a polyfill is used for Greasemonkey, which is not very effective and can affect the performance.
You can also use the userscript on Android through Firefox with Violentmonkey or USI, but some features might not work or not be optimized enough for mobile.
Beta Versions
The latest beta version for both the extension and the userscript is always available in the latest pre-release in the releases page.
Comment has been collapsed.