Alright, using the main topic like you said.
You should totally have this one match the other one with the icons in the front of the link/title (and use the same icons) just for consistency. It also makes more sense to have it in the front because the length of the titles can get fairly long - having them all in one uniform row is much easier to read.
My only other suggestion (for both) would be to have a per-user file where you can omit certain games (aka I'm never going to want Absconding Zatwor, having a like gray minus sign or something for not interested would help a lot. That being said, this seems quite different from what you're currently doing, not sure how feasible it is.
(I actually really love these scripts, don't take my suggestions as criticism)
Comment has been collapsed.
personally i didn't care for it checking every page on the internet i went to. so i dropped the @include and added 3 @match's instead.
// @match https://www.steamgifts.com/*
// @match https://www.steamtrades.com/*
// @match http://www.dailyindiegame.com/*
it should be noted this script works well with DIG stores page though xD
Comment has been collapsed.
Hmm, does http://store.steampowered.com/dynamicstore/userdata/ include 402710?
Comment has been collapsed.
That's odd. And the error occurs to a link pointed to http://store.steampowered.com/app/402710?
Comment has been collapsed.
I added a short :not(:has('img')) to disable it on linked images, but apart from that it's a really nice and well coded script :)
Comment has been collapsed.
I prefer to also check images. Sometimes image link is the only one available.
I could make a case distinction for it though and maybe add a green or red border to the image or something.
I am planning on updating this anyway. I want to remember the data from dynamic store user data, for when it's not available.
Comment has been collapsed.
Happy SG Birthday!
Yeah, I just started my comp and as a tab messy I just had to click through tons of confirms/alerts to be able to disable the userscript. That was... fun...
Comment has been collapsed.
Just wanted to say that this script is amazing at what it does before I forget again. Very much a time saver for me. Thank you very much for sharing.
Edit: Now we just have to force everyone to include actual Steam store links on their store pages. I really don't understand why so many doesn't do this already.
Comment has been collapsed.
Yeah :P
Also, a problem is content that is dynamically loaded (e.g. html that is added after page has been loaded by javascript). My script only checks for steam links once the page is fully loaded. I might be able to build in a listener for it, though. Anyway I am glad you enjoy it! It's been helpful to me as well. :)
Comment has been collapsed.
No it should work. Visit http://store.steampowered.com/dynamicstore/userdata/ and tell me what you see.
Comment has been collapsed.
I don't think that would be possible. I'd have to evaluate the content for every page you visit and check for potential steam titles and then I wouldn't able to check if owned for every app, as api.steampowered.com/ISteamApps/GetAppList/v2 doesn't list all apps.
Comment has been collapsed.
Cant seem to go to it http://i.imgur.com/FwAKRCi.png
Comment has been collapsed.
Suggestion: make the forced updating of userdata from v 1.3.3 configurable, with three options:
Comment has been collapsed.
Suggestion:
also show "not interested" games from "rgIgnoredApps" in the userdata JSON
make it configurable whether
Note to readers: userdata does not list 'followed' apps, so they can't have an extra icon.
(I assume this will only be implemented if there are interested users, so if you make use of 'not interested', reply!)
Comment has been collapsed.
Dear Royalgamer06, thanks for such life easing script and being so productive.
Since "Luckz" also asked for similar and not got answered, I examined your code a bit with my basic programming knowledge to how to implement Not Interested like others since it is in userdata and come up with these additions for a local copy: (dots are skipped codes to not clutter modified lines).
...
const ignoredIcon = "&#ICONNUMBER;"; // HTML entity code for ...
...
function init(jsonText) {
var json = JSON.parse(jsonText);
var ignoredApps = json.rgIgnoredApps;
var ownedApps = json.rgOwnedApps;
...
if (ownedApps.length === 0 && ownedPackages.length && ignoredApps.length === 0 && wishlist.length === 0 && cachedJson === null && !GM_info.isIncognito) {
...
if (ownedApps.length === 0 && ownedPackages.length === 0 && ignoredApps.length === 0 && wishlist.length === 0) {
var parsedCachedJson = JSON.parse(cachedJson);
ignoredApps = parsedCachedJson.rgIgnoredApps;
ownedApps = parsedCachedJson.rgOwnedApps;
...
$(document).on("DOMSubtreeModified", appSelector, function() {
doApp(this, wishlist, ownedApps, ignoredApps, lcs);
...
$(appSelector).each(function() {
doApp(this, wishlist, ownedApps, ignoredApps, lcs);
...
function doApp(elem, wishlist, ownedApps, ignoredApps, lcs) {
...
if ($.inArray(appID, wishlist) > -1) { //if wishlisted
html = "<span style='color: WISHCOLOR; cursor: help' title='Game or DLC wishlisted on Steam\nLast cached: " + lcs + "'> " + wishlistIcon + "</span>"; //?
} else { //else not wishlisted
if ($.inArray(appID, ignoredApps) > -1) { //if ignored
html = "<span style='color: IGNOREDCOLOR; cursor: help' title='Game or DLC ignored on Steam\nLast cached: " + lcs + "'> " + ignoredIcon + "</span>"; //?
} else { // else not interested
html = "<span style='color: NOTINTCOLOR; cursor: help' title='Game or DLC not owned on Steam\nLast cached: " + lcs + "'> " + unownedIcon + "</span>"; //?
}
}
And to my luck and your good written code, it works as I tried in https://steamdb.info/sales/ page with lots of entries.
So I wrote this here if you are interested adding it for v1.4.6 and didn't pastebin since code is yours. If you do not like these to be posted here either, drop a comment so I'll edit (delete) from here.
Thanks again for great code.
Comment has been collapsed.
Times like these I wish all my userscripts were on GitHub, which can handle these type of stuff better. Anyway, good job on adding functionality to the code! However, I already discussed this with Luckz, uses of IgnoredApps can vary. For example, you took for granted that ignored apps can not be also wishlisted, but actually they can. Same goes for owned and unowned apps. Ignored apps is kinda its own separate thing, whereas a game can either be owned, unowned, or wishlisted (and unowned). So, then we have to add a second icon for ignored apps. Finally I think there should be an option to not consider ignored apps at all, like it was before. Anyway, if you considered these things, I'd be glad to use your code and thanks for the interests!
Comment has been collapsed.
Thanks for pointing those out. Well it was a continuation of your code which I skipped to think of precedence or mutual existence. And GitHub really would be great for you at least for collecting and having a page of your own for your codes.
But considering what they meant, using "Ignored" in combination with 'Wishlist' is pointless since I use that temporarily to remind myself, 'I should unwish that game later'. Also extending that logic, Ignored + Owned can mean 'remove this game from library later'. But those combinations are not normally used by most since unless there is a special meaning, it would be useless to mark a game that is either owned or wishlisted by "Not Interested" too. Even if there would be something else I couldn't foresee than precedence can take over like Own > Ignored > Wishlist considering script helps us about buying a game or not.
So like many, I also use Ignored as a 'stand-alone' tag without any combinations and that may explain why the modifications didn't give an error so far. I will look at the modifications again with no guarantee since while I know programming from C and Pascal, being unfamiliar with Javascript can shut me down.
Thanks.
Comment has been collapsed.
Changing as you requested to consider ignored as a separate instance:
if ($.inArray(appID, ownedApps) > -1) { //if owned
html = "<span style='color: green; cursor: help' title='Game or DLC owned on Steam\nLast cached: " + lcs + "'> " + ownedIcon + "</span>"; //?
if ($.inArray(appID, ignoredApps) > -1) { //if also ignored
html = html + "<span style='color: red; cursor: help' title='Game or DLC ignored on Steam\nLast cached: " + lcs + "'> " + ignoredIcon + "</span>"; //?
}
} else { //else not owned
if ($.inArray(appID, wishlist) > -1) { //if wishlisted
html = "<span style='color: blue; cursor: help' title='Game or DLC wishlisted on Steam\nLast cached: " + lcs + "'> " + wishlistIcon + "</span>"; //?
if ($.inArray(appID, ignoredApps) > -1) { //if also ignored
html = html + "<span style='color: red; cursor: help' title='Game or DLC ignored on Steam\nLast cached: " + lcs + "'> " + ignoredIcon + "</span>"; //?
}
} else { //else not wishlisted
if ($.inArray(appID, ignoredApps) > -1) { //if ignored
html = "<span style='color: red; cursor: help' title='Game or DLC ignored on Steam\nLast cached: " + lcs + "'> " + ignoredIcon + "</span>"; //?
} else { // else not interested
html = "<span style='color: orange; cursor: help' title='Game or DLC not owned on Steam\nLast cached: " + lcs + "'> " + unownedIcon + "</span>"; //?
}
}
}
is showing ignored as stand alone or owned+ignored and wishlist+ignored by two icons next to each other for those who marked it that way. If ignored apps wanted to be eliminated all together like you said, then there can be another boolean const for indicating such like:
const wantIgnores = True
...
if ($.inArray(appID, ignoredApps) > -1 && wantIgnores) { //if also ignored and ignores wanted (FOR ALL INSTANCES)
to let user change all settings at once only by editing the top most const.
Comment has been collapsed.
Great work! Works nice on steamtrades, DIG, IndieGala, Groupees and eve on TremorGames, but for some reason on BundleStars and chrono it doesn't work unless i manually update the line with steamstore url.
What can be the cause?
Comment has been collapsed.
any line containing http://store.steampowered.com/
Comment has been collapsed.
250 Comments - Last post 35 minutes ago by provista
497 Comments - Last post 3 hours ago by Almostn33t
832 Comments - Last post 3 hours ago by KjaerBeto
184 Comments - Last post 3 hours ago by DeliberateTaco
9 Comments - Last post 3 hours ago by AKFalcon
64 Comments - Last post 8 hours ago by Fragy
47,177 Comments - Last post 11 hours ago by drschnell
1,417 Comments - Last post 1 minute ago by Vasharal
48 Comments - Last post 3 minutes ago by drabit642
30 Comments - Last post 4 minutes ago by artion33
32 Comments - Last post 11 minutes ago by Eefrit
905 Comments - Last post 15 minutes ago by GameOverGiveAways
125 Comments - Last post 21 minutes ago by eldonar
28,778 Comments - Last post 24 minutes ago by Reimaishere
Steam Web Integration
GitHub
FireFox
Chrome
Comment has been collapsed.