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

×
Updating... thanks.
Chrome version is updated. The update to Opera will probably appear on Monday.

Maybe I should host the Opera extension on GOGWiki like I do for the Chrome one. It would save time and effort.
The scripts no longer seem to work on gamecard pages for me. I think the check for "My Account" is failing. It works on all other pages though.

Firefox 13.0.1
Windows 7 x64
Barefoot Essentials 1.2.3 (also had issue with 1.2.2 before updating)
Ubivis pointed the problem out to me yesterday. I suspect that the html behind the gamecard pages has changed somehow but haven't had a chance to sit down and look at it yet. I'll fix it up tonight (and add some exception handling to avoid having the script broken by website updates in future)
A thread bumping for this wonderful script and thanks!
avatar
adambiser: The scripts no longer seem to work on gamecard pages for me. I think the check for "My Account" is failing. It works on all other pages though.
Just want to mention that I've encountered this problem with the Chrome version of the script as well, any updates on this?
Thanks for the script! :)

I have a problem trying to create/update my user page:
When I choose the update option from the dropdown menu, the script gets stuck on "Reading games from wishlist" (see attachment).
I haven't created a user page for me manually, do I have to do that first?

I'm using BE 1.2.3 with Greasemonkey 0.9.20 in Firefox 14.0.1
Attachments:
stuck.png (29 Kb)
avatar
adambiser: The scripts no longer seem to work on gamecard pages for me. I think the check for "My Account" is failing. It works on all other pages though.
avatar
JMich: Just want to mention that I've encountered this problem with the Chrome version of the script as well, any updates on this?
Sorry, I didn't get the notification for this and just noticed your reply by accident.

No updates that I know about.
avatar
JMich:
OK, I looked into this and this is what I found:

OK the script file (131466.user.js) and go to the very last line. It looks like this;

}, (window.location.pathname == '/')?2000:0)

Change this to:

}, (window.location.pathname == '/')?2000:(window.location.pathname.indexOf('gamecard') != -1)?1000:0)

This delays the script for gamecard pages which allows them check your logged in status, which is needed for the script to work.

EDIT: At first I tried 400, then 500, now 1000 for the delay. I'm not sure if this is the best way to wait until the user validation occurs...
avatar
Barefoot_Monkey:
Found a fix for the gamecard problem... (see the code above in this post)

Addition fix:
Since the gamecards window titles have changed to include the price, this line:

var title_matches = document.title.match(/^(.*) - GOG.com/)

Needs replaced with:

var title_matches = document.title.match(/^(.*) for download \$(\d)+.\d\d - GOG.com/)
Post edited August 02, 2012 by adambiser
Hi. Sorry for... disappearing the last two weeks. A string of things kept me away from the forum, unfortunately.

I just updated the Greasemonkey version of the script. I'll see about doing all the other versions tomorrow night. There were actually quite a lot of changes all over the site that were breaking features of the script, but I think I got them all.

Install the update from https://userscripts.org/scripts/show/131466 and the script should work properly again.

I sincerely apologise for keeping everyone waiting for so long.

avatar
adambiser: ...
Hi adambiser. Thanks for putting the effort into looking at the script. I appreciate your suggestions, but I ended up taking some slightly different approaches. Instead of treating certain pages (the ones which load the menu with ajax instead of on page load) as special cases and adding a large delay before altering the menu, I now treat all pages equally and attempt to change the menu instantly. If the menu doesn't exist yet it schedules another attempt after a short delay and keeps trying until it succeeds. This is more robust and more responsive. On the gamecards I used to get game titles from the page title. As you noted, the page title works differently now. I found that the game titles are embedded in the metadata of the page, so that's a better place to get them.
Post edited August 02, 2012 by Barefoot_Monkey
avatar
Barefoot_Monkey:
No problem. I knew what I was doing was basically a hack job. I'm a bit rust on my javascript and don't really know jsquery or whatever, so I was just looking to get a temporary solution going until you could whip up an official update.
You sir, are a god.
avatar
Barefoot_Monkey:
I remember you mentioning that the approval process can be slow and a bit painful. Have you considered doing something like what the SteamGifts userscript does? I believe it refers to an external script that way updates are automatic.

Not that this would benefit me because I modify your script a little bit. :) I'll check the new one out now.

EDIT: Actually, I just made up my own script to modify your script's changes after they are made, so I'm set no matter what you update. :)
Post edited August 02, 2012 by adambiser
Absolutely immense. Works great in Scriptish!

Cheers
It has stopped working on Chrome.