It seems that you're using an outdated browser. Some things may not work as they should (or don't work at all).
We suggest you upgrade newer and better browser like: Chrome, Firefox, Internet Explorer or Opera

×
avatar
gbaz69: I used getelementbyid, worked better, and works in more browsers. Ty though :D
getElementById is nice in that it works on pretty much everything, but it is very specific in what it does: find EXACTLY one element whose id attribute EXACTLY matches a given string. If you want more flexibility then it would be better to rely either on querySelector and querySelectorAll or jQuery.

As you can see over here (very useful site) querySelector and querySelectorAll are supported on IE8+ and all other browsers, so its compatibility - while not perfect - is very good. Is your script a userscript like this one, or is it part of a website that you're making? I ask because if it's a userscript then lack of IE7- support doesn't matter because nobody will be using userscripts on those browsers anyway.

All-in-all I think the best thing would be to go and learn jQuery - it'll make this sort of thing extremely easy for you.

I'd be happy to help with any scripting-related questions you might have, and I'm sure that a few other people here would too. A good idea would be for you to create a new thread and ask your questions there - you'll get the most assistance that way, as everyone will be able to see what the discussion is about by looking at the thread title.
There's a new update. Version 1.9 adds options to suppress certain updates from adding an alert to the nav bar at the top of the page. For example, I can say that I don't need to be told when my games are updated, but still want to see when I receive forum replies and private messages.
I'm curious: Why is wishlist truncated to 50 entries?
And related, I don't remember exactly when it started, but lately that count is truncated further to 47 or 48.
Post edited November 04, 2013 by uchristensen
avatar
uchristensen: I'm curious: Why is wishlist truncated to 50 entries?
And related, I don't remember exactly when it started, but lately that count is truncated further to 47 or 48.
It shouldn't be. I'll investigate that. Thanks for letting me know.
Can I request a feature?

I'd like to have a GMT clock show on all non-forum pages of gog.com for me. (or have it indegraded on at least all game card url thingys).
Because sales end on GMT time, and I never figured that out (without google that is).

edit: perhaps on the top of page between my account and that green shoppy cart icon that shows when you have stuff in your cart.
Post edited November 12, 2013 by gbaz69
Quest, does barefoot essentials make it so my game count ###/new or updated ### icon on my shelf ALL WAYS show?
I noticed it only shows if a game is updated :(, but I want it to all way show.

If that is a no to my questio, I would also like to request this feature.
avatar
gbaz69: Quest, does barefoot essentials make it so my game count ###/new or updated ### icon on my shelf ALL WAYS show?
I noticed it only shows if a game is updated :(, but I want it to all way show.

If that is a no to my questio, I would also like to request this feature.
As far as I can tell, the "ALL"/"NEW & UPDATED" count is always visible on your shelf, whether or not a game is updated. It just takes a while to appear sometimes because it is loaded asynchronously once the rest of the page is ready.
Post edited November 16, 2013 by Barefoot_Monkey
avatar
Barefoot_Monkey: As far as I can tell, the "ALL"/"NEW & UPDATED" count is always visible on your shelf, whether or not a game is updated.
It's not. It appears only if you have a "Game Updated" notification, whether that flag is correct or not. In case of no game updated notifications, the count is not visible.

Unless the delay is more than a minute or two...
Attachments:
shelf.jpg (35 Kb)
avatar
JMich: It's not. It appears only if you have a "Game Updated" notification, whether that flag is correct or not. In case of no game updated notifications, the count is not visible.

Unless the delay is more than a minute or two...
Ah thanks. It must have still thought I had games updated even though the "New & Updated" was down to 0. Now it's hiding it for me too. I might just be able to add this feature...
high rated
avatar
Barefoot_Monkey: Ah thanks. It must have still thought I had games updated even though the "New & Updated" was down to 0. Now it's hiding it for me too. I might just be able to add this feature...
For better or for worse, I'm quite sure that you'll succeed long before GOG decide to add it themselves, if ever.
avatar
Barefoot_Monkey: Ah thanks. It must have still thought I had games updated even though the "New & Updated" was down to 0. Now it's hiding it for me too. I might just be able to add this feature...
avatar
HypersomniacLive: For better or for worse, I'm quite sure that you'll succeed long before GOG decide to add it themselves, if ever.
:D I agree. I'm happy enough that gog.com brings older games to us, and that they focus on that and the server hosting problems as priority above all else.
avatar
JMich: It's not. It appears only if you have a "Game Updated" notification, whether that flag is correct or not. In case of no game updated notifications, the count is not visible.

Unless the delay is more than a minute or two...
avatar
Barefoot_Monkey: Ah thanks. It must have still thought I had games updated even though the "New & Updated" was down to 0. Now it's hiding it for me too. I might just be able to add this feature...
Oh if you do end up fixing it, please make sure it works on both views of "games" screen.
https://secure.gog.com/account/games/shelf & https://secure.gog.com/account/games/list
Hopefully it uses the same element/script so you only have to alter one thing. (I tried viewing page info, didnt see anything.. most likely in javascript somewhere)
Updates! Just some bugfixing, no new features at the moment.
- as reported by uchristensen, wishlists sent to GOGWiki were truncated to 50 or fewer items. This has been fixed
- the feature to ignore certain notifications was not working on certain specific pages (i.e. those pages which delay the loading of the navigation bar on the top of the page). This has been fixed too.

avatar
gbaz69: Oh if you do end up fixing it, please make sure it works on both views of "games" screen.
https://secure.gog.com/account/games/shelf & https://secure.gog.com/account/games/list
Hopefully it uses the same element/script so you only have to alter one thing. (I tried viewing page info, didnt see anything.. most likely in javascript somewhere)
So far it's looking promising - the only difference between the two is that one has an element of class shelf_btn, while the other has an otherwise-identical element of class list_btn.
avatar
Barefoot_Monkey: So far it's looking promising - the only difference between the two is that one has an element of class shelf_btn, while the other has an otherwise-identical element of class list_btn.
ty for updated.
Yea, I was looking how to accomplish this myself, now just to enable/disable the "HIDE" of the thing via simple script :D

If you figure out how, and when/if you addit to your script, mind PM'ing me just the part for this feature so I can greasemonkey just that?
I dunno who the responsible party is, but I just got the new update and whoever made the feature to show the total games on the bookshelf always available deserves a case of beer or a free pizza or the Swedish bikini team for a free weekend or something. LOL Awesomesauce!
avatar
gbaz69: Can I request a feature?

I'd like to have a GMT clock show on all non-forum pages of gog.com for me. (or have it indegraded on at least all game card url thingys).
Because sales end on GMT time, and I never figured that out (without google that is).

edit: perhaps on the top of page between my account and that green shoppy cart icon that shows when you have stuff in your cart.
I used to have a web browser plugin for firefox that added an arbitrary number of clocks to be able to keep track of the current time in different time zones that plopped down in the status/addon bar. FoxClocks I think it was called, but I can't be sure. Depending on your browser you might want to search their addons site/marketplace/etc. to see if a similar addon is available, it can come in handy on other sites too. Hope this helps.
Post edited November 17, 2013 by skeletonbow