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

×
Thank you very much, it works nicely. Have a +1

It also works as an ignore user button in the main page, but it does not work inside a thread. Would it be possible to make the script work inside threads also?

I know the main hurdle is that you will then start to hide posts which uses normal words in normal conversation (for example someone saying "don't look a gift horse in the mouth" would be hidden) if this is set up to do so, and don't ask why I would like this :)
@grimwerk

Please let me know if I'm on the right track here or not.

I logged off from GOG and then back in and all the changes I made trhough the options in prefs were reverted back to the "default" settings.

I guess I have to make the changes within the script?
Help?
I've updated my own copy of the script to include the changes Hypersomniac (thanks!) suggested:
It should work with both gog.com and secure.gog.com by default.
Also, the keyword matching is less clumsy.

Before, "win" would match topics including "windows", "wing", "FreedomWings", "wine".
Now, it only matches topics containing the exact word "win".
It's still case insensitive. "Win" matches "win", "WIN", "Win", etc.

I'll test it more fully this evening, and upload the new version if all goes well.


avatar
amok: It also works as an ignore user button in the main page, but it does not work inside a thread. Would it be possible to make the script work inside threads also?
It's possible. I haven't tinkered with thread pages yet, though. A large keyword list matched against a long thread page could result in clunky performance. (I'm guessing.) Matching only usernames would be fast, though. I probably wouldn't hide other users myself. I might highlight them, though.
avatar
grimwerk: I've updated my own copy of the script to include the changes Hypersomniac (thanks!) suggested:
It should work with both gog.com and secure.gog.com by default.
Also, the keyword matching is less clumsy.

Before, "win" would match topics including "windows", "wing", "FreedomWings", "wine".
Now, it only matches topics containing the exact word "win".
It's still case insensitive. "Win" matches "win", "WIN", "Win", etc.

I'll test it more fully this evening, and upload the new version if all goes well.

avatar
amok: It also works as an ignore user button in the main page, but it does not work inside a thread. Would it be possible to make the script work inside threads also?
avatar
grimwerk: It's possible. I haven't tinkered with thread pages yet, though. A large keyword list matched against a long thread page could result in clunky performance. (I'm guessing.) Matching only usernames would be fast, though. I probably wouldn't hide other users myself. I might highlight them, though.
That was my thinking also. you have a nice red colour on one of the selections there, and I can base my reading on my aggravation levels. When I am mellow I can also read red posts, when I am already stressed I can just skip them. But it will highlight them for me, which can be helpful
avatar
HypersomniacLive: @grimwerk

Please let me know if I'm on the right track here or not.

I logged off from GOG and then back in and all the changes I made trhough the options in prefs were reverted back to the "default" settings.

I guess I have to make the changes within the script?
Help?
Hyper, that's not by design. I have a suspicion:
When you are logged in, the forum address is https://secure.gog.com/etc.
When you log out, it reverts to http://www.gog.com/etc.

The preferences data is stored on your machine and automatically associated with the URL. That is, google.com can't access your gog.com data and vice versa. Likewise, secure.gog.com can't touch data associated with www.gog.com and vice versa. That's my best first guess.

Ahh.

I have another guess, if that doesn't apply. Gog.com actually stores its own info in localStorage, too. When you log out, maybe they blank everything they find in localStorage, including your gognix preferences. I hope not.

I'll poke around. Please let me know if my first guess is correct. Does logging back in recover the preferences?
avatar
HypersomniacLive: @grimwerk

Please let me know if I'm on the right track here or not.

I logged off from GOG and then back in and all the changes I made trhough the options in prefs were reverted back to the "default" settings.

I guess I have to make the changes within the script?
Help?
avatar
grimwerk: Hyper, that's not by design. I have a suspicion:
When you are logged in, the forum address is https://secure.gog.com/etc.
When you log out, it reverts to http://www.gog.com/etc.

The preferences data is stored on your machine and automatically associated with the URL. That is, google.com can't access your gog.com data and vice versa. Likewise, secure.gog.com can't touch data associated with www.gog.com and vice versa. That's my best first guess.

Ahh.

I have another guess, if that doesn't apply. Gog.com actually stores its own info in localStorage, too. When you log out, maybe they blank everything they find in localStorage, including your gognix preferences. I hope not.

I'll poke around. Please let me know if my first guess is correct. Does logging back in recover the preferences?
Sorry for the late reply, I had already gone ahead and stored my changes in the script, so I had to install your original script to do some testing before reporting back.

You first guess is not the case - the HTTPS Everywhere add-on makes sure that any GOG url address is always ttps://secure.gog.com/*, regardless of logged in or out.
Besides, I kept both sets of includes, so it shouldn't be an issue to begin with, right?

I did some testing and I can report the following:
1. As long as I keep Firefox running:
1.1 I can log out, clear my cookies & disable javascript and then log in back to GOG, after allowing cookies and javascript, and my settings stick.
1.2 If I stay logged out, the default settings "overwrite" my own.
2. But if I close/ exit Firefox, start it up again and log in to GOG then all my settings are gone.

I think it's got to do with my Firefox setting in "Clear history when Firefox closes" (Options>Privacy). I have everything ticked there, except for "Site Preferences". I guess it's got something to with either Cache or Offline Website Data?

As I said, I went ahead and put all my settings in the script.
I also keep a back up so I can relatively easily restore those lines in the case of an update.

Hope this helps a bit.
Any advice?
Thanks, Hyper! That's super helpful.

I installed https-everywhere to test and found that it doesn't seem to force, maintain, or even attempt an https gog connection for me at all. Maybe my expectations were wrong. Anyway, it does sound like a particular privacy setting could be the culprit instead. I'll tinker with them and narrow it down.

As an aside, if you type about:config into the address bar, you can see a more expansive list of all your firefox preferences than you get under the options menu. If you search for "privacy.clearOnShutdown" within that page, one of those settings may be the cause. I'll try toggling each one when I get a moment. (I only mention this as you sound like one who enjoys tinkering.)

Thanks again!
avatar
grimwerk: Thanks, Hyper! That's super helpful.

I installed https-everywhere to test and found that it doesn't seem to force, maintain, or even attempt an https gog connection for me at all. Maybe my expectations were wrong. Anyway, it does sound like a particular privacy setting could be the culprit instead. I'll tinker with them and narrow it down.

As an aside, if you type about:config into the address bar, you can see a more expansive list of all your firefox preferences than you get under the options menu. If you search for "privacy.clearOnShutdown" within that page, one of those settings may be the cause. I'll try toggling each one when I get a moment. (I only mention this as you sound like one who enjoys tinkering.)

Thanks again!
Regarding the add-on - if you have any older http://gog.com/* links stored in any way on your system (like bookmarks), you need to clear them or rename them to https://secure.gog.com/* and then test the add-on's behavior.

Thanks for reminding me about about:config - silly me, didn't think of checking in there, will go and do so now and report back if I come up with anything else that might be helpful. XD
Bump for great justice, this is awesome

Thanks grimwerk!
I've tried it now for a few minutes and it works great. To avoid cutting off all threads with the word "game" I used the entire thread title as there wasn't an exception list which would also be handy if it's not too much trouble to make.
I love this script! I can hide threads and highlight others -- it makes the forum so much more manageable, especially when you don't have a lot of time to browse. Thank you for writing it and sharing. =)

EDIT: Does this not work with 'private browsing'? Every time I leave the forum, the preferences end up reset to default.
Post edited August 05, 2013 by JaqFrost
Any chance ignore user will be possible in a thread? An exception list would be good too like this very thread we're typing in.
avatar
grimwerk: Thanks, Hyper! That's super helpful.

I installed https-everywhere to test and found that it doesn't seem to force, maintain, or even attempt an https gog connection for me at all. Maybe my expectations were wrong.
I just realized that you need a custom ruleset for GOG - you can find one here.
You need to create a HTTPSEverywhereUserRules folder in your browser profile and save the ruleset as Gog.com.xml.
Clearing any http://gog.com/* bookmarks still stands.

---
In the meantime, I've discovered that if I'm not logged in and allow javascript for gog.com, then if I click on prefs and then save, my settings apply. But I have to do this for every page I open or refresh.

---
So, how are things on the progress/ update front?
I'm trying to use the "https://secure.gog.com/forum" view which works but it breaks the filter. Any ideas? I copied the include parameters in the script and added the change but it apparently wasn't enough or I made a mistake.
That’s a very useful user script. :) I wish there was a thanks button, but nevermind: thanks to the author. :)