Google Chrome, Firefox & Opera Extension

Discussions about BGA (all languages)
Forum rules
Warning: challenging a moderation in Forum = 10 days ban
More info & details about how to challenge a moderation: viewtopic.php?p=119756
User avatar
Tof63
Posts: 582
Joined: 24 March 2020, 20:25

Re: Google Chrome and Firefox Extension

Post by Tof63 »

Infi220 wrote: 03 March 2025, 20:26 Thanks again for your excellent work. I'm so impressed with your extension that I posted a review in the Google store, which is something I almost never do.

Btw, there are a couple of inconsistencies in the chat window between the dark and light mode. I marked them with red arrows:
https://ibb.co/cjXJ1KN
https://ibb.co/LLN0ypZ
Thanks a lot!
It's a real pleasure to read this 😊
For the smileys I don't have choice, bga smileys doesn't displayed well in a dark background.

Image

I will have a look on the other thing 😉
User avatar
Tof63
Posts: 582
Joined: 24 March 2020, 20:25

Re: Google Chrome and Firefox Extension

Post by Tof63 »

I've released version 1.11.6 with:
- Fixed dark mode for “Setup” and “Regicide” games.
- Added a setting in the “Game in progress page settings” section to make tables a bit more colorful (feature provided by wdspider).
- Added a setting to show/hide player names in chat (by default bga hides names when they are obvious, e.g. in private chats, but the option allows them to be shown all the time). (This one is for you @Infi220)
- Fixed new setting to display only group messages in the newsfeed (yes, another fix ... but I hope it's the last one this time!)
User avatar
Infi220
Posts: 83
Joined: 19 June 2016, 04:28

Re: Google Chrome and Firefox Extension

Post by Infi220 »

Woohoo! Another update! Thank you.

I have a new feature suggestion: would it be possible to add a toggle: "Auto restrict created tables to your skill and below" which would automatically uncheck skill levels above the skill of the table creator? It's not fun to create a table as a beginner, forget to manually restrict the table, and have an ELO 200+ player join who completely annihilates everyone else at the table.
User avatar
Tof63
Posts: 582
Joined: 24 March 2020, 20:25

Re: Google Chrome and Firefox Extension

Post by Tof63 »

Unfortunately, we've reached the limits of what the extension can do, I have no idea what the player's level is for each game. I think this is a feature that should be implemented on the server side ... and therefore by bga.
User avatar
nik592
Posts: 1390
Joined: 16 October 2022, 13:54

Re: Google Chrome and Firefox Extension

Post by nik592 »

No, I think they are just talking about the checkboxes you can choose as part of the game options when setting up a table based on this dialog:

Image

I was thinking that was already carried through when you setup new tables, but I think only for games you've setup tables for before. I think this suggestion is about having the same default restrictions for all games - eg. certain karma threshhold, restrict to a group, restrict by level.
User avatar
Tof63
Posts: 582
Joined: 24 March 2020, 20:25

Re: Google Chrome and Firefox Extension

Post by Tof63 »

I understood that, but how do you know which boxes to check without knowing the player's level?
I think it's very complicated.
User avatar
Infi220
Posts: 83
Joined: 19 June 2016, 04:28

Re: Google Chrome and Firefox Extension

Post by Infi220 »

There is a DIV with a class indicating the player's level. For example, when I create a table from the lobby it takes me to a configuration page with the code below showing I'm at the Apprentice level. Could your extension extract this and use to automatically set the table restriction up to my level? Right now it takes me 7 clicks in each game to do it manually.

<div class="progressbar_with_info">
<div class="progressbar_inner">
<div id="elobar_53284393" class="progressbar progressbar_elo elo_apprentice">
(...)
User avatar
Jellby
Posts: 3546
Joined: 31 December 2013, 12:22

Re: Google Chrome and Firefox Extension

Post by Jellby »

When you try to uncheck your level, you can't, and you get a red message. Perhaps that could be a way to figure out what your level is :D
User avatar
nik592
Posts: 1390
Joined: 16 October 2022, 13:54

Re: Google Chrome and Firefox Extension

Post by nik592 »

Tof63 wrote: 05 March 2025, 14:46 I understood that, but how do you know which boxes to check without knowing the player's level?
I think it's very complicated.
I mean, that dialog doesn't know the players levels either (ok, well, based on Jellby's comment it actually does, but I was assuming it didn't necessarily), but I was more thinking you'd just define what levels you want to check by default, and the extension would attempt to do that. The site should be enforcing that you check your own level anyway, though if it's doing that check on ticking the box, that might be trickier to handle. Just a thought anyway. As Infi (and Jellby) mentions, there might be other options. But if it's not workable, that's fair.
User avatar
Infi220
Posts: 83
Joined: 19 June 2016, 04:28

Re: Google Chrome and Firefox Extension

Post by Infi220 »

nik592 wrote: 06 March 2025, 02:28 I mean, that dialog doesn't know the players levels either (ok, well, based on Jellby's comment it actually does, but I was assuming it didn't necessarily), but I was more thinking you'd just define what levels you want to check by default, and the extension would attempt to do that. The site should be enforcing that you check your own level anyway, though if it's doing that check on ticking the box, that might be trickier to handle. Just a thought anyway. As Infi (and Jellby) mentions, there might be other options. But if it's not workable, that's fair.
The dialog should have access to the HTML for the parent page which is still active while the dialog is open, and it may be defined in javascript too. May be worth looking into it.

Bonus suggestion: if this is going to be implemented please also consider adding a setting to restrict by reputation by default.
Post Reply

Return to “Discussions”