Posted May 12, 2015
mrkgnao
https://www.amazon.com/dp/B00HCZVCTO
mrkgnao Sorry, data for given user is currently unavailable. Please, try again later. View profile View wishlist Start conversation Invite to friends Invite to friends Accept invitation Accept invitation Pending invitation... Unblock chat Registered: Apr 2009
From United States
JaqFrost
Registered: Nov 2011
From Vietnam
moonshineshadow
Ghost
moonshineshadow Sorry, data for given user is currently unavailable. Please, try again later. View profile View wishlist Start conversation Invite to friends Invite to friends Accept invitation Accept invitation Pending invitation... Unblock chat Registered: Sep 2011
From Switzerland
Posted May 12, 2015
I did not want to open a new thread for this and I think it fits in here.
Anyone knows how to make a script to change the links from the library. Because I was annoyed that the gog downloader links only let me download the complete bundle of goodies. But then I realised that if I just take the url of the browser downloads and replace the first part with "gogdownloader", I can sent them directly to the downloader. So a script to do that would be neat since it also would get rid of always going to the subpage for the downloader link.
Example to explain more clearly:
The url for the browser download looks like this:
https://www.gog.com/downlink/file/game_name/file_name
If I change it to
gogdownloader://game_name/file_name
the file gets sent to the gog downloader.
So any way to make this into a script that automatically can do that?
Anyone knows how to make a script to change the links from the library. Because I was annoyed that the gog downloader links only let me download the complete bundle of goodies. But then I realised that if I just take the url of the browser downloads and replace the first part with "gogdownloader", I can sent them directly to the downloader. So a script to do that would be neat since it also would get rid of always going to the subpage for the downloader link.
Example to explain more clearly:
The url for the browser download looks like this:
https://www.gog.com/downlink/file/game_name/file_name
If I change it to
gogdownloader://game_name/file_name
the file gets sent to the gog downloader.
So any way to make this into a script that automatically can do that?
Ikarugamesh
Priestess Arcana
Ikarugamesh Sorry, data for given user is currently unavailable. Please, try again later. View profile View wishlist Start conversation Invite to friends Invite to friends Accept invitation Accept invitation Pending invitation... Unblock chat Registered: Oct 2011
From Spain
Posted May 12, 2015
Just installed this fine script. I love the Quick Post area!
Johny.GOG
☕️
Johny.GOG Sorry, data for given user is currently unavailable. Please, try again later. View profile View wishlist Start conversation Invite to friends Invite to friends Accept invitation Accept invitation Pending invitation... Unblock chat Registered: Dec 2014
From Poland
Posted May 12, 2015
The script would be:
setInterval(function() {
var gameLinks = document.querySelectorAll('.game-link');
for(i=0;i<gameLinks.length;i++) {
var hrefParts = gameLinks[i].href.split('/downlink/file/');
if( hrefParts.length === 1 ) {
hrefParts = gameLinks[i].href.split('/downlink/');
}
if( hrefParts.length > 1 ) {
gameLinks[i].href = 'gogdownloader:\/\/' + hrefParts[1]
}
}
}, 1000)
You can run it in your browsers console. It's checking for URLs every second. Assuming what you have written is true. BUT! It is not. :) Downloader links for game files differ between website and downloader. For example Mount&Blade:
downloaderUrl: "gogdownloader://mount_blade/installer_win_en"
manualUrl: "/downlink/mount_blade/en1installer1"
It will work for extras though.
setInterval(function() {
var gameLinks = document.querySelectorAll('.game-link');
for(i=0;i<gameLinks.length;i++) {
var hrefParts = gameLinks[i].href.split('/downlink/file/');
if( hrefParts.length === 1 ) {
hrefParts = gameLinks[i].href.split('/downlink/');
}
if( hrefParts.length > 1 ) {
gameLinks[i].href = 'gogdownloader:\/\/' + hrefParts[1]
}
}
}, 1000)
You can run it in your browsers console. It's checking for URLs every second. Assuming what you have written is true. BUT! It is not. :) Downloader links for game files differ between website and downloader. For example Mount&Blade:
downloaderUrl: "gogdownloader://mount_blade/installer_win_en"
manualUrl: "/downlink/mount_blade/en1installer1"
It will work for extras though.
moonshineshadow
Ghost
moonshineshadow Sorry, data for given user is currently unavailable. Please, try again later. View profile View wishlist Start conversation Invite to friends Invite to friends Accept invitation Accept invitation Pending invitation... Unblock chat Registered: Sep 2011
From Switzerland
Posted May 12, 2015
jnowotny: You can run it in your browsers console. It's checking for URLs every second. Assuming what you have written is true. BUT! It is not. :) Downloader links for game files differ between website and downloader. For example Mount&Blade:
downloaderUrl: "gogdownloader://mount_blade/installer_win_en"
manualUrl: "/downlink/mount_blade/en1installer1"
It will work for extras though.
Thanks! downloaderUrl: "gogdownloader://mount_blade/installer_win_en"
manualUrl: "/downlink/mount_blade/en1installer1"
It will work for extras though.
Hmmm... interesting, I did not realise that the links for the game files differ, since I was downloading extras. I need to check that further :D
Post edited May 12, 2015 by moonshineshadow
IAmSinistar
Queso de Espacio
IAmSinistar Sorry, data for given user is currently unavailable. Please, try again later. View profile View wishlist Start conversation Invite to friends Invite to friends Accept invitation Accept invitation Pending invitation... Unblock chat Registered: May 2013
From United States
Posted May 12, 2015
I have to switch it off to respond to Friend requests. Doing so reveals how badly GOG has broken their site over the months. I had forgotten how many basic but useful things were due entirely to this script.
mrkgnao
https://www.amazon.com/dp/B00HCZVCTO
mrkgnao Sorry, data for given user is currently unavailable. Please, try again later. View profile View wishlist Start conversation Invite to friends Invite to friends Accept invitation Accept invitation Pending invitation... Unblock chat Registered: Apr 2009
From United States
IAmSinistar
Queso de Espacio
IAmSinistar Sorry, data for given user is currently unavailable. Please, try again later. View profile View wishlist Start conversation Invite to friends Invite to friends Accept invitation Accept invitation Pending invitation... Unblock chat Registered: May 2013
From United States
HypersomniacLive
The Reluctant Voter
HypersomniacLive Sorry, data for given user is currently unavailable. Please, try again later. View profile View wishlist Start conversation Invite to friends Invite to friends Accept invitation Accept invitation Pending invitation... Unblock chat Registered: Sep 2011
From Vatican City
Posted May 12, 2015
Post edited May 12, 2015 by HypersomniacLive
mrkgnao
https://www.amazon.com/dp/B00HCZVCTO
mrkgnao Sorry, data for given user is currently unavailable. Please, try again later. View profile View wishlist Start conversation Invite to friends Invite to friends Accept invitation Accept invitation Pending invitation... Unblock chat Registered: Apr 2009
From United States
Posted May 12, 2015
HypersomniacLive: Same for me.
And I just realised that with the Grid and List View not being separate urls anymore, Barefoot_Monkey may not be able to restore those two buttons in the BE menu. :(
He could. And I just realised that with the Grid and List View not being separate urls anymore, Barefoot_Monkey may not be able to restore those two buttons in the BE menu. :(
Under the assumption that the choice is kept in a LocalStorage variable, he could manipulate the variable before calling the common URL.
HypersomniacLive
The Reluctant Voter
HypersomniacLive Sorry, data for given user is currently unavailable. Please, try again later. View profile View wishlist Start conversation Invite to friends Invite to friends Accept invitation Accept invitation Pending invitation... Unblock chat Registered: Sep 2011
From Vatican City
Posted May 12, 2015
mrkgnao: He could.
Under the assumption that the choice is kept in a LocalStorage variable, he could manipulate the variable before calling the common URL.
I'm not that savvy in these matters. I hope he can do it, as I really liked having two distinct buttons for each view that I could click on and go to the respective page. It was very handy as I used a different order mode for each one. Now I not only can't have this, but the game collection page also keeps reverting to Grid between browser sessions, and it's pretty annoying. Under the assumption that the choice is kept in a LocalStorage variable, he could manipulate the variable before calling the common URL.
That is provided he's willing to update the script, looks a lot of work, and I'd totally understand if he drew the line.
mrkgnao
https://www.amazon.com/dp/B00HCZVCTO
mrkgnao Sorry, data for given user is currently unavailable. Please, try again later. View profile View wishlist Start conversation Invite to friends Invite to friends Accept invitation Accept invitation Pending invitation... Unblock chat Registered: Apr 2009
From United States
Johny.GOG
☕️
Johny.GOG Sorry, data for given user is currently unavailable. Please, try again later. View profile View wishlist Start conversation Invite to friends Invite to friends Accept invitation Accept invitation Pending invitation... Unblock chat Registered: Dec 2014
From Poland
HypersomniacLive
The Reluctant Voter
HypersomniacLive Sorry, data for given user is currently unavailable. Please, try again later. View profile View wishlist Start conversation Invite to friends Invite to friends Accept invitation Accept invitation Pending invitation... Unblock chat Registered: Sep 2011
From Vatican City