This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Not sure if Steam will give you multiple pages as my collection isn't large enough to warrant multiple pages | |
/* | |
* Run on the following page https://steamcommunity.com/id/USERNAME/games/?tab=all | |
*/ | |
var game_list = document.querySelectorAll('[class^="gameslistitems_GameNameContainer_"] > a'); | |
var games = Array.from(game_list, game => game.innerHTML).sort(); | |
console.log(games); | |
// You will have to run on all game pages, pending how large your collection is | |
/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name GOG Menu Dot | |
// @namespace https://gist.github.com/NZDev0/ | |
// @author Dev0 NZ | |
// @description Clear Notifications button on the community drop down menu | |
// @updateURL https://gist.github.com/NZDev0/3c0986163492fd50603d1415ad80d367/raw/ | |
// @downloadURL https://gist.github.com/NZDev0/3c0986163492fd50603d1415ad80d367/raw/ | |
// @match https://www.gog.com/* | |
// @run-at document-start | |
// @version 1.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Hide | |
// @match https://www.gog.com/en | |
// @run-at document-end | |
// @version 1.0 | |
// ==/UserScript== | |
/* | |
* Titles must be in quotes, seperated by a comma | |
* ie "Cyberpunk 2077", "Sleeping Dogs: Definitive Edition" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Bookmarklets for GoG, to install you have to create a bookmark and use the URLs as needed | |
//Removes tracker query params from embedded page urls | |
javascript:(function(){var links=document.querySelectorAll('a');links.forEach(link=>{if(link.href.includes("?source=news")){link.href=link.href.split('?')[0];}});})(); | |
//Clears the purple dot notification | |
javascript:(function(){angular.element(document.body).injector().get('menuNotificationsRepository').deleteAllNotifications();})(); | |
//Sorts wishlist by price, lowest to highest, highest to lowest etc | |
javascript:(function(){var%20elems=document.querySelectorAll('.list-inner');elems=elems[elems.length-1];var%20prices=Array.prototype.slice.call(document.querySelectorAll('.product-row-wrapper'),0);prices.sort(function(a,b){if(elems.classList.contains('sorted')){return%20parseFloat(b.querySelector('._price.product-state__price').textContent)-parseFloat(a.querySelector('._price.product-state__price').textContent);}return%20parseFloat(a.querySelector('._price.product-s |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* ==UserScript== | |
// @name GoG.com - Hide known Demos & Prologue Button | |
// @namespace https://gist.github.com/NZDev0/ | |
// @author Dev0 NZ | |
// @description Adds a button to hide known Demos & Prologue | |
// @match https://www.gog.com/en/games* | |
// @run-at document-end | |
// @version 1.0.0 | |
==/UserScript== */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* ==UserStyle== | |
@name GoG.com - Dark Theme port to userStyle | |
@namespace https://gist.github.com/NZDev0/ | |
@author Dev0 NZ | |
@description Adds dark mode to GoG.com | |
@include https://www.gog.com/* | |
@exclude https://www.gog.com/forum* * | |
@version 1.0.1 | |
==/UserStyle== */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name GoG game page dark mode | |
// @namespace https://gist.github.com/NZDev0/ | |
// @author Dev0 NZ | |
// @description Adds dark mode on game pages | |
// @updateURL https://gist.github.com/NZDev0/00555bda2dca3ce00413edd4155b56d4/raw/ | |
// @downloadURL https://gist.github.com/NZDev0/00555bda2dca3ce00413edd4155b56d4/raw/ | |
// @match https://www.gog.com/*/game/* | |
// @match https://www.gog.com/game/* | |
// @run-at document-end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Add GOG Site Adjustments | |
// @namespace https://gist.github.com/NZDev0/ | |
// @author Dev0 NZ | |
// @description Items currently added: Button for sorting wishlists by price | |
// @updateURL https://gist.github.com/NZDev0/b5ad52cb35435625dd814cd18de9c0f7/raw/ | |
// @downloadURL https://gist.github.com/NZDev0/b5ad52cb35435625dd814cd18de9c0f7/raw/ | |
// @match https://www.gog.com/* | |
// @run-at document-end | |
// @version 1.3 |