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
Sammy McSam
Posts: 83
Joined: 07 April 2021, 20:02

Re: Google Chrome Extension

Post by Sammy McSam »

Really nice that /gameinprogress and /welcome pages update instantly on toggle :)

Settings > Home page settings:
Rename toggle label "Recent games hidden" -> "New games hidden" to match the page's section title "New" ?
----

/forum
I'd like to show or hide selected forums e.g. Hanabi (/forum/viewforum.php?f=102)

Custom CSS in an <iframe> doesn't work:

Code: Select all

#bgaforum_102 { display:none; }
Is this something that can be done in the extension?
Maybe even using the Hidden games list to remove the corresponding forums from view?
User avatar
Tof63
Posts: 582
Joined: 24 March 2020, 20:25

Re: Google Chrome Extension

Post by Tof63 »

Sammy McSam wrote: 30 July 2024, 17:47 Really nice that /gameinprogress and /welcome pages update instantly on toggle :)
To be honest, I think it's cool too :D
Unnecessary, therefore indispensable
Sammy McSam wrote: 30 July 2024, 17:47 Settings > Home page settings:
Rename toggle label "Recent games hidden" -> "New games hidden" to match the page's section title "New" ?
You are right!
Sammy McSam wrote: 30 July 2024, 17:47 /forum
I'd like to show or hide selected forums e.g. Hanabi (/forum/viewforum.php?f=102)

Custom CSS in an <iframe> doesn't work:

Code: Select all

#bgaforum_102 { display:none; }
Is this something that can be done in the extension?
Maybe even using the Hidden games list to remove the corresponding forums from view?
I don't seem to be able to determine which game a section of the forum corresponds to (apart from the name of the game, but I don't even have that information when I hide a game).
However, I can make sure that the custom css you define in the extension is also applied to the forum. I'll do that in the next version.
User avatar
Tof63
Posts: 582
Joined: 24 March 2020, 20:25

Re: Google Chrome Extension

Post by Tof63 »

BGA displays the event calendar in the “new games” section of the home page.
I've just published a version in which this section is necessarily visible, so that nobody misses the calendar.
It's temporary, I'll add an option tomorrow ...
User avatar
buu441
Posts: 147
Joined: 12 March 2022, 06:52

Re: Google Chrome Extension

Post by buu441 »

The new summer of games banner in the homepage looks so cursed right now :'D waiting for the update you mentioned.
User avatar
Tof63
Posts: 582
Joined: 24 March 2020, 20:25

Re: Google Chrome Extension

Post by Tof63 »

:oops:

Should be better in a few hours now :(

(In version 1.9.35)

Edit : it's available :)
User avatar
Sammy McSam
Posts: 83
Joined: 07 April 2021, 20:02

Re: Google Chrome Extension

Post by Sammy McSam »

Thanks for the forum CSS update!
How I Hide BGA Forums with CSS:
e.g. Hanabi
  1. Find Hanabi
  2. Copy hide cell

    Code: Select all

    #bgaforum_102{display:none !important;}/*hide Hanabi forum*/
  3. Right-click extension icon > Options > Custom CSS tab
  4. Paste & Save
Alternatively hide all and show only select forums:

Code: Select all

.bgaforum{display:none !important;}/*Hide all forums*/

#bgaforum_102{display:block !important;}/*show Hanabi forum*/
User avatar
Tof63
Posts: 582
Joined: 24 March 2020, 20:25

Re: Google Chrome Extension

Post by Tof63 »

Nice work McSam!

I'm hesitating to integrate all this into the extension in the end.
What would be needed is a file indicating for each game name (the name you can find in its url, like for example https://boardgamearena.com/gamepanel?ga ... reflection) its forum section.

Something like this:

{
“laserreflection": 609,
“regicide": 593,
(...)
}

What I need is a little time, or some help, @McSam would you be willing to create and maintain this file?
User avatar
Jellby
Posts: 3549
Joined: 31 December 2013, 12:22

Re: Google Chrome Extension

Post by Jellby »

If it helps, in each game page (e.g. https://boardgamearena.com/gamepanel?game=hanabi) you should find a link to the forum as either "See all topics" or "Create a new topic!", which should have the forum number (i.e. https://boardgamearena.com/forum/viewforum.php?f=102).
User avatar
Tof63
Posts: 582
Joined: 24 March 2020, 20:25

Re: Google Chrome Extension

Post by Tof63 »

Actually it gives me an idea to automatize this ...
I will try something!

Edit: nope, I can't find an easy way to find automatically this info
User avatar
GTSchemer
Posts: 1130
Joined: 09 August 2013, 03:26

Re: Google Chrome Extension

Post by GTSchemer »

I agree it might not be an ideal feature for a few reasons, including complexity and the possibility of extra server load or processing time. If it can be hidden via custom CSS that might be sufficient for most users unless it's an extremely popular request.
Post Reply

Return to “Discussions”