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

×
Currently just playing around with it, more for my own customization since this site tends to lack some modern day UX & UI..

So far I've made 1 userscript & 1 port of a darkmode stylus script to userStyle that can be run in firemonkey, tampermonkey etc

Found here: Github
Post edited January 07, 2023 by Dev0_NZ
I think you should check your darkmode script .

It makes unreadable some text ( white letters on a white background )

example:

https://www.gog.com/en/game/bioshock_infinite
Post edited January 01, 2023 by DD & Ji Ji
avatar
DD & Ji Ji: I think you should check your darkmode script .

It makes unreadable some text ( white letters on a white background )

example:

https://www.gog.com/en/game/bioshock_infinite
Thanks have made an update
avatar
Dev0_NZ: Thanks have made an update
Thank you .
Hey, you changed your username and I didn't recognize you at first.

gog-gamepage-darkmode.user.js
Why is this user style a user script? I would immediately avoid something like this just on principle (though there's nothing inappropriate there at the moment).

gog-site-adjustment.user.js
I prefer your bookmarklet solution for price sorting, but I can see how others would prefer the convenience of having that applied automatically.

The Firemonkey combo user script / user style manager is also new to me, so overall thanks again.
avatar
Ice_Mage: gog-gamepage-darkmode.user.js
Why is this user style a user script? I would immediately avoid something like this just on principle (though there's nothing inappropriate there at the moment).

The Firemonkey combo user script / user style manager is also new to me, so overall thanks again.
I'd quite happily make the dark mode as a bookmark, however GoG has a few different layouts and features on certain pages so it has expanded in size, so i might start expanding it to other pages
avatar
Dev0_NZ: I'd quite happily make the dark mode as a bookmark
I was asking why is the user style isn't a user style. Why is it a script instead of a stylesheet?

Edit: If further explanation is required, here's a link (I don't know if this style from 2 years ago still works, but that's besides the point)
https://userstyles.world/style/180/gog-com-dark-theme
Post edited January 02, 2023 by Ice_Mage
avatar
Ice_Mage: I was asking why is the user style isn't a user style. Why is it a script instead of a stylesheet?

Edit: If further explanation is required, here's a link (I don't know if this style from 2 years ago still works, but that's besides the point)
https://userstyles.world/style/180/gog-com-dark-theme
misunderstood it, i had it intercept with js instead of just rewriting the css class. I also hadnt come across stylus or userStyles before this.

That darkmode link is excellent and was updated 2-3 months back, i made a port to userStyles so i didnt have to install stylus just for this one thing.

ive since used google to search the forum over to get other userscripts off it (since the forum search isnt great and didnt yield any results when i last tried it)
avatar
Dev0_NZ: so i didnt have to install stylus just for this one thing.
Firefox users can just use the userContent.css file to style web pages. That's a big plus for me, since I don't allow add-ons on sensitive sites. Plus, I want to minimize the number of add-ons that run on all sites in general.
avatar
Dev0_NZ: ive since used google to search the forum
In-thread search is pretty handy. Otherwise, I find it almost useless. For example, our usernames aren't searchable because of the underscore. If you search for other usernames, you only get posts where they're mentioned, not posts from that user. Other keywords seem to yield results from many years ago instead of prioritizing recent threads. And many more issues.
Here's one a friend did for me, that colors the IN LIBRARY buttons LIME green. Makes games and DLC you don't own stand out more. Especially good on GOG's Free games pages. I use this script with Stylus.

.product-label--owned {
background: var(--gradient-button-primary-body) !important;
}
I use that with URLs starting with - https://www.gog.com/en
and - https://www.gog.com/games
Or you could use - https://www.gog.com/en/games

And here's another if you find some images are a bit dark. I switch it ON or OFF at need. Adjusting the percent value to suit my circumstances.

img {
filter: brightness(150%) !important;
}
Post edited January 08, 2023 by Timboli
avatar
Timboli: Here's one a friend did for me, that colors the IN LIBRARY buttons LIME green. Makes games and DLC you don't own stand out more. Especially good on GOG's Free games pages. I use this script with Stylus.

.product-label--owned {
background: var(--gradient-button-primary-body) !important;
}
avatar
Timboli: I use that with URLs starting with - https://www.gog.com/en
and - https://www.gog.com/games
Or you could use - https://www.gog.com/en/games

And here's another if you find some images are a bit dark. I switch it ON or OFF at need. Adjusting the percent value to suit my circumstances.

img {
filter: brightness(150%) !important;
}
avatar
Timboli:
Nice little additions, I have the darkmode script set to just match https://www.gog.com/* so it covers everything, I might push those on to the main script later.

i still have to sort the forum background out on it as it hides a few things
avatar
Dev0_NZ: Currently just playing around with it, more for my own customization since this site tends to lack some modern day UX & UI..

So far I've made 1 userscript & 1 port of a darkmode stylus script to userStyle that can be run in firemonkey, tampermonkey etc

Found here: Github
Thanks for sharing Dev0_NZ!

My insignificant contribution,
A uBlock filter to remove the "source" tracker:

$removeparam=source,domain=gog.com

A recent news post to test it:
gog.com/en/news/coming_soon_sludge_life_2_from_devolver_digital
(any link there)

Unfortunately, as far as I understand, its only cosmetic:
The page(s) visit(s) happen with the tracker enabled (goal achieved)
& its after loading it that uBlock removes the tracker from the address bar
That logic for security reasons:
If it would allow to alter original URLs before visiting them,
it could be used for evil purposes easily

My web programming knowledge is close to null,
I wonder if you or any fellow forum member could suggest an effective remedy

The priorities of this store are hilarious:
They work inserting fcking trackers but NOT to fix the discounts issue...
avatar
Dev0_NZ: Currently just playing around with it, more for my own customization since this site tends to lack some modern day UX & UI..

So far I've made 1 userscript & 1 port of a darkmode stylus script to userStyle that can be run in firemonkey, tampermonkey etc

Found here: Github
avatar
tag+: Thanks for sharing Dev0_NZ!

My insignificant contribution,
A uBlock filter to remove the "source" tracker:

$removeparam=source,domain=gog.com

A recent news post to test it:
gog.com/en/news/coming_soon_sludge_life_2_from_devolver_digital
(any link there)

Unfortunately, as far as I understand, its only cosmetic:
The page(s) visit(s) happen with the tracker enabled (goal achieved)
& its after loading it that uBlock removes the tracker from the address bar
That logic for security reasons:
If it would allow to alter original URLs before visiting them,
it could be used for evil purposes easily

My web programming knowledge is close to null,
I wonder if you or any fellow forum member could suggest an effective remedy

The priorities of this store are hilarious:
They work inserting fcking trackers but NOT to fix the discounts issue...
sorry i didnt 100% understand
avatar
Dev0_NZ: sorry i didnt 100% understand
Im sorry, let me try:

Starting 08-Feb, this store started to add a URL tracker on their news posts

Here the first news post I found:

gog.com/news/midweek_sale_hunt_awesome_deals_up_to_80

Once you open it, you will notice the Midweek Sale link is:

gog.com/promo/20230208_midweek_sale?source=news

(Screenshot attached)

Where "?source=news" (without the quotes)
is a way to track the origin of the visits on that page

And so forth, the rest of the links on that post have trackers:
gog.com/game/absolver_deluxe_edition?source=news
gog.com/game/enter_the_gungeon?source=news
Etcetera


I am looking for something to remove the tracker portion (?source=news)
from the URLs before visiting them. And the closest I found was the
uBlock filter

$removeparam=source,domain=gog.com

Which is cosmetic, because it removes the parameter -after- visiting the page

Please let me know if this try was clearer & Thanks in advance for your time Dev0_NZ!
Attachments:
tracker.png (280 Kb)
avatar
Dev0_NZ: sorry i didnt 100% understand
avatar
tag+: Im sorry, let me try:

Starting 08-Feb, this store started to add a URL tracker on their news posts

Here the first news post I found:

gog.com/news/midweek_sale_hunt_awesome_deals_up_to_80

Once you open it, you will notice the Midweek Sale link is:

gog.com/promo/20230208_midweek_sale?source=news

(Screenshot attached)

Where "?source=news" (without the quotes)
is a way to track the origin of the visits on that page

And so forth, the rest of the links on that post have trackers:
gog.com/game/absolver_deluxe_edition?source=news
gog.com/game/enter_the_gungeon?source=news
Etcetera

I am looking for something to remove the tracker portion (?source=news)
from the URLs before visiting them. And the closest I found was the
uBlock filter

$removeparam=source,domain=gog.com

Which is cosmetic, because it removes the parameter -after- visiting the page

Please let me know if this try was clearer & Thanks in advance for your time Dev0_NZ!
easy, goto the github gist link in first post find the gog bookmarklets and get the first linked code "Removes tracker query params from embedded page urls"

make that into a bookmarklet, then when your on a page that you want them to be removed from, click on the bookmarklet to remove it