Posted August 30, 2015
Perhaps you could integrate this into the script:
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)
It changes the download links for the extras from browser download to sending them to the gog downloader. So that you don't need to download anymore the extras bundle but can decide on your own which extras you want.
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)
It changes the download links for the extras from browser download to sending them to the gog downloader. So that you don't need to download anymore the extras bundle but can decide on your own which extras you want.