• Improved display in Google Groups

    From Rick C@21:1/5 to All on Sat Apr 8 15:05:25 2023
    I found this browser extension to let you apply formatting codes to any page. It can be used to apply a monospaced font to Google Groups, which will help viewing tables and even ASCII art that people post.

    I had always thought GG stripped excess white space, like tabs, multiple spaces, blank lines. But it seems that's not correct, they are all there, just not shown naturally. I changed my font to Liberation Mono and posted a test case, and all the spaces,
    tabs and new lines show up.

    If you are interested, the extension is called Style and here is some sample code to use.

    /* ==UserStyle==
    @name groups.google.com - 4/8/2023, 5:16:24 PM
    @namespace github.com/openstyles/stylus
    @version 1.0.0
    @description A new userstyle
    @author Me
    ==/UserStyle== */

    @-moz-document url-prefix("https://groups.google.com/g/") {

    div[role=region] {
    font-family: Liberation Mono;
    display: block;
    max-width: 50em;
    white-space: pre-wrap;
    }
    div[role="region"] br {
    display: none;
    }

    }

    To use this with Chrome, I had to strip off the line

    @-moz-document url-prefix("https://groups.google.com/g/") {

    and the terminating }

    I hope this works for you.

    --

    Rick C.

    - Get 1,000 miles of free Supercharging
    - Tesla referral code - https://ts.la/richard11209

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From boB@21:1/5 to gnuarm.deletethisbit@gmail.com on Sat Apr 8 17:18:38 2023
    On Sat, 8 Apr 2023 15:05:25 -0700 (PDT), Rick C <gnuarm.deletethisbit@gmail.com> wrote:

    I found this browser extension to let you apply formatting codes to any page. It can be used to apply a monospaced font to Google Groups, which will help viewing tables and even ASCII art that people post.

    I had always thought GG stripped excess white space, like tabs, multiple spaces, blank lines. But it seems that's not correct, they are all there, just not shown naturally. I changed my font to Liberation Mono and posted a test case, and all the
    spaces, tabs and new lines show up.

    If you are interested, the extension is called Style and here is some sample code to use.

    /* ==UserStyle==
    @name groups.google.com - 4/8/2023, 5:16:24 PM
    @namespace github.com/openstyles/stylus
    @version 1.0.0
    @description A new userstyle
    @author Me
    ==/UserStyle== */

    @-moz-document url-prefix("https://groups.google.com/g/") {

    div[role=region] {
    font-family: Liberation Mono;
    display: block;
    max-width: 50em;
    white-space: pre-wrap;
    }
    div[role="region"] br {
    display: none;
    }

    }

    To use this with Chrome, I had to strip off the line

    @-moz-document url-prefix("https://groups.google.com/g/") {

    and the terminating }

    I hope this works for you.


    Interesting..

    boB

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)