Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #40081 > unrolled thread

Fixing Google Groups Styling

Started by"Michael Haufe (TNO)" <tno@thenewobjective.com>
First post2021-05-20 18:29 -0700
Last post2021-11-12 23:49 +0000
Articles 20 on this page of 25 — 9 participants

Back to article view | Back to comp.lang.javascript


Contents

  Fixing Google Groups Styling "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2021-05-20 18:29 -0700
    Re: Fixing Google Groups Styling Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2021-05-22 03:18 +0200
      Re: Fixing Google Groups Styling James Kirk <noneya.invalid@gmail.com> - 2021-05-21 23:59 -0400
        Re: Fixing Google Groups Styling Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2021-05-22 20:29 +0200
    Re: Fixing Google Groups Styling Arno Welzel <usenet@arnowelzel.de> - 2021-05-22 13:59 +0200
      Re: Fixing Google Groups Styling "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2021-05-22 08:42 -0700
        Re: Fixing Google Groups Styling Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2021-05-22 20:32 +0200
          Re: Fixing Google Groups Styling "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2021-05-22 12:01 -0700
            Re: Fixing Google Groups Styling Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2021-05-24 01:34 +0200
              Re: Fixing Google Groups Styling "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2021-05-24 10:23 -0700
              Re: Fixing Google Groups Styling Arno Welzel <usenet@arnowelzel.de> - 2021-05-24 22:21 +0200
            Re: Fixing Google Groups Styling Arno Welzel <usenet@arnowelzel.de> - 2021-05-22 23:37 +0200
    Re: Fixing Google Groups Styling Mostowski Collapse <janburse@fastmail.fm> - 2021-05-25 09:25 +0200
      Re: Fixing Google Groups Styling "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2021-05-25 06:03 -0700
        Re: Fixing Google Groups Styling Mostowski Collapse <janburse@fastmail.fm> - 2021-05-25 18:36 +0200
    Re: Fixing Google Groups Styling luserdroog <luser.droog@gmail.com> - 2021-05-23 23:31 -0700
      Re: Fixing Google Groups Styling luserdroog <luser.droog@gmail.com> - 2021-11-11 15:21 -0800
        Re: Fixing Google Groups Styling luserdroog <luser.droog@gmail.com> - 2021-11-11 15:26 -0800
          qapplaH (was Re: Fixing Google Groups Styling) luserdroog <luser.droog@gmail.com> - 2021-11-11 15:41 -0800
            Re: qapplaH (was Re: Fixing Google Groups Styling) luserdroog <luser.droog@gmail.com> - 2021-11-11 15:43 -0800
              Re: qapplaH (was Re: Fixing Google Groups Styling) denodster@gmail.com (Denodster) - 2021-11-12 00:15 -0500
                Re: qapplaH (was Re: Fixing Google Groups Styling) luserdroog <luser.droog@gmail.com> - 2021-11-12 17:12 -0800
                  Re: qapplaH (was Re: Fixing Google Groups Styling) The Natural Philosopher <tnp@invalid.invalid> - 2021-11-13 08:27 +0000
                [OT] tlhIngan Hol (was: qapplaH) Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2022-01-19 07:56 +0100
              Re: qapplaH (was Re: Fixing Google Groups Styling) Tavis Ormandy <taviso@gmail.com> - 2021-11-12 23:49 +0000

Page 1 of 2  [1] 2  Next page →


#40081 — Fixing Google Groups Styling

From"Michael Haufe (TNO)" <tno@thenewobjective.com>
Date2021-05-20 18:29 -0700
SubjectFixing Google Groups Styling
Message-ID<593e21d6-38d4-497d-8db7-586644b820edn@googlegroups.com>
If you're one of the majority currently viewing the newsgroup through Google Groups, you've probably noticed they broke layout again.

If you use a plugin for user stylesheets you can use the following to fix the layout:

html-blob {
  white-space: pre;
}

I'm currently using:

<https://chrome.google.com/webstore/detail/user-css/okpjlejfhacmgjkmknjhadmkdbcldfcb>

[toc] | [next] | [standalone]


#40085

FromThomas 'PointedEars' Lahn <PointedEars@web.de>
Date2021-05-22 03:18 +0200
Message-ID<5713312.lOV4Wx5bFT@PointedEars.de>
In reply to#40081
Michael Haufe (TNO) wrote:

> If you're one of the majority currently viewing the newsgroup through
> Google Groups, you've probably noticed they broke layout again.
> 
> If you use a plugin for user stylesheets you can use the following to fix
> the layout:
> 
> html-blob {
>   white-space: pre;
> }
> 
> I'm currently using:
> 
> <https://chrome.google.com/webstore/detail/user-css/okpjlejfhacmgjkmknjhadmkdbcldfcb>

I have written a userscript called “ggFormatter”. [1]  Its yet unpublished 
version 0.2.4 defines, among others

  .ptW7te { font-family: monospace; white-space: pre; }

But that does not work well with older articles, as I had to find out when 
reading some by Richard Cornford recently, and it will stop working fully if 
they change the class name again.  I will try your suggestion, then.

Ceterum censeo Google Groups esse substitutam.

_______
[1] <https://github.com/PointedEars/userscripts>
-- 
PointedEars
FAQ: <http://PointedEars.de/faq> | <http://PointedEars.de/es-matrix>
<https://github.com/PointedEars> | <http://PointedEars.de/wsvn/>
Twitter: @PointedEars2 | Please do not cc me./Bitte keine Kopien per E-Mail.

[toc] | [prev] | [next] | [standalone]


#40092

FromJames Kirk <noneya.invalid@gmail.com>
Date2021-05-21 23:59 -0400
Message-ID<5cfd1112-41bedf7d-1ac80c45.tiberius@james.kirk.invalid>
In reply to#40085
In Message: <5713312.lOV4Wx5bFT@PointedEars.de>
Thomas 'PointedEars' Lahn <PointedEars@web.de> wrote:

> Michael Haufe (TNO) wrote:

[snip]

>> they broke layout again. 

[snip] 

>> html-blob {
>>   white-space: pre;
>> }  

[snip]

> I will try your suggestion, then.

[snip]

I suppose if you like horizontal scrolling such as in some of Julio
post.

I think you may like the results that pre-wrap provides much better.

One can still see Thomas's double spaces after the periods and no
nasty horizontal scrolling for long lines.


-- 
J𝕒𝕞𝕖𝕤 𝕂𝕚𝕣𝕜

[toc] | [prev] | [next] | [standalone]


#40095

FromThomas 'PointedEars' Lahn <PointedEars@web.de>
Date2021-05-22 20:29 +0200
Message-ID<4316218.LvFx2qVVIh@PointedEars.de>
In reply to#40092
James Kirk wrote:
^^^^^^^^^^
You should use your real name here.

> In Message: <5713312.lOV4Wx5bFT@PointedEars.de>
> Thomas 'PointedEars' Lahn <PointedEars@web.de> wrote:

You should trim the attribution to one line (or do not use Google Groups, 
which I would recommend).
 
>> Michael Haufe (TNO) wrote:
>>> they broke layout again.
> 
> [snip]
> 
>>> html-blob {
>>>   white-space: pre;
>>> }
> 
> [snip]
> 
>> I will try your suggestion, then.

Now I know why I did not use the (custom) “html-blob” element type as 
selector, but rather “.ptW7te”, where “ptW7te” is the class of the parent 
“div” element: It can contain both the quote and the original/new text.

I thought that formatting the parent “div” element covers the formatting of 
both quotes and the original text in one rule.  But if I am not mistaken, so 
does using “html-blob” now.

> I suppose if you like horizontal scrolling such as in some of Julio
> post.
> 
> I think you may like the results that pre-wrap provides much better.

It is a trade-off: “pre” preserves the original line-wrapping, which is 
important e.g. with source code, program output, log files and ASCII art; 
“pre-wrap” does not preserve it, but makes Google-Groups-posted postings 
with overlong lines containing prose, like that produced (probably 
unknowingly so) by Michael Haufe in this thread [1], readable without 
horizontal scrolling.

Unfortunately, it is not easily possible to tell prose apart 
programmatically.

<https://groups.google.com/g/comp.lang.javascript/c/eSOJwY7QKE4/m/CwW3KBsKAQAJ>
 
> One can still see Thomas's double spaces

JFYI: You have replied to my posting :)

> after the periods 

The same is true for “white-space: pre”.  The only difference between “pre” 
and “pre-wrap” is that also “Lines are broken […] as necessary to fill line 
boxes.”

<https://developer.mozilla.org/en-US/docs/Web/CSS/white-space>

> and no nasty horizontal scrolling for long lines.

True, but that can also bite you later.

In passing, I noticed that viewing the original source of any posting is no 
longer possible, too, because of “Either the e-mail adresses for this group 
are anonymous, or you need the permission to view the members’ e-mail 
addreses, to view the original message.” (translated from German) 
<facepalm/>

Ceterum censeo Google Groups esse substitutam.

-- 
PointedEars
FAQ: <http://PointedEars.de/faq> | <http://PointedEars.de/es-matrix>
<https://github.com/PointedEars> | <http://PointedEars.de/wsvn/>
Twitter: @PointedEars2 | Please do not cc me./Bitte keine Kopien per E-Mail.

[toc] | [prev] | [next] | [standalone]


#40093

FromArno Welzel <usenet@arnowelzel.de>
Date2021-05-22 13:59 +0200
Message-ID<igsa0jFrfoU2@mid.individual.net>
In reply to#40081
Michael Haufe (TNO):

> If you're one of the majority currently viewing the newsgroup through
> Google Groups, you've probably noticed they broke layout again.

So why not using a newsreader like Thunderbird and a NNTP server
instead? I find this *way* better than Googe Groups to access usenet.

-- 
Arno Welzel
https://arnowelzel.de

[toc] | [prev] | [next] | [standalone]


#40094

From"Michael Haufe (TNO)" <tno@thenewobjective.com>
Date2021-05-22 08:42 -0700
Message-ID<da8b2155-2266-48e1-9172-e4899b48a84dn@googlegroups.com>
In reply to#40093
On Saturday, May 22, 2021 at 6:59:24 AM UTC-5, Arno Welzel wrote:
> Michael Haufe (TNO):
> > If you're one of the majority currently viewing the newsgroup through 
> > Google Groups, you've probably noticed they broke layout again.
> So why not using a newsreader like Thunderbird and a NNTP server 
> instead? I find this *way* better than Googe Groups to access usenet. 

In my particular case I use more than six devices and maintaining software on each of them for this purpose is impractical. Thunderbird would be reasonable except that I do not have any desire to have multiple mail clients and the mobile options are questionable. I have significant integrations and dependencies on the Microsoft ecosystem and migrating to a mishmash of other technologies is non-trivial.

[toc] | [prev] | [next] | [standalone]


#40096

FromThomas 'PointedEars' Lahn <PointedEars@web.de>
Date2021-05-22 20:32 +0200
Message-ID<1783433.tdWV9SEqCh@PointedEars.de>
In reply to#40094
Michael Haufe (TNO) wrote:

> On Saturday, May 22, 2021 at 6:59:24 AM UTC-5, Arno Welzel wrote:
>> So why not using a newsreader like Thunderbird and a NNTP server
>> instead? I find this *way* better than Googe Groups to access usenet.
> 
> In my particular case I use more than six devices and maintaining software
> on each of them for this purpose is impractical. Thunderbird would be
> reasonable except that I do not have any desire to have multiple mail
> clients and the mobile options are questionable. I have significant
> integrations and dependencies on the Microsoft ecosystem and migrating to
> a mishmash of other technologies is non-trivial.

Interesting.  Do you have access to a Web server from all those devices, and 
can run scripting languages on it server-side?

-- 
PointedEars
FAQ: <http://PointedEars.de/faq> | <http://PointedEars.de/es-matrix>
<https://github.com/PointedEars> | <http://PointedEars.de/wsvn/>
Twitter: @PointedEars2 | Please do not cc me./Bitte keine Kopien per E-Mail.

[toc] | [prev] | [next] | [standalone]


#40099

From"Michael Haufe (TNO)" <tno@thenewobjective.com>
Date2021-05-22 12:01 -0700
Message-ID<9c9a9e71-df85-4e34-9874-23bc69ad3576n@googlegroups.com>
In reply to#40096
On Saturday, May 22, 2021 at 1:33:04 PM UTC-5, Thomas 'PointedEars' Lahn wrote:
> Michael Haufe (TNO) wrote: 
> 
> > On Saturday, May 22, 2021 at 6:59:24 AM UTC-5, Arno Welzel wrote: 
> >> So why not using a newsreader like Thunderbird and a NNTP server 
> >> instead? I find this *way* better than Googe Groups to access usenet. 
> > 
> > In my particular case I use more than six devices and maintaining software 
> > on each of them for this purpose is impractical. Thunderbird would be 
> > reasonable except that I do not have any desire to have multiple mail 
> > clients and the mobile options are questionable. I have significant 
> > integrations and dependencies on the Microsoft ecosystem and migrating to 
> > a mishmash of other technologies is non-trivial.
> Interesting. Do you have access to a Web server from all those devices, and 
> can run scripting languages on it server-side?

I do alot of consulting and contracting work so it's unavoidable.

I've debated making a web interface alternative to GG but I don't know how heavy of a lift that would be.

I can stand up a fully functional web server simply enough. What do you have in mind?

[toc] | [prev] | [next] | [standalone]


#40108

FromThomas 'PointedEars' Lahn <PointedEars@web.de>
Date2021-05-24 01:34 +0200
Message-ID<2063928.irdbgypaU6@PointedEars.de>
In reply to#40099
Michael Haufe (TNO) wrote:

> I've debated making a web interface alternative to GG but I don't know how
> heavy of a lift that would be.
> 
> I can stand up a fully functional web server simply enough. What do you
> have in mind?

I have started developing a newsreader as a Web application.  One could 
install it one’s localhost, or, as in your case, you could install it on a 
remote Web server that you have access to from all your devices.

-- 
PointedEars
FAQ: <http://PointedEars.de/faq> | <http://PointedEars.de/es-matrix>
<https://github.com/PointedEars> | <http://PointedEars.de/wsvn/>
Twitter: @PointedEars2 | Please do not cc me./Bitte keine Kopien per E-Mail.

[toc] | [prev] | [next] | [standalone]


#40143

From"Michael Haufe (TNO)" <tno@thenewobjective.com>
Date2021-05-24 10:23 -0700
Message-ID<0bf3a696-72ed-42c3-baca-09b199efb754n@googlegroups.com>
In reply to#40108
On Sunday, May 23, 2021 at 6:34:20 PM UTC-5, Thomas 'PointedEars' Lahn wrote:
> Michael Haufe (TNO) wrote: 
> 
> > I've debated making a web interface alternative to GG but I don't know how 
> > heavy of a lift that would be. 
> > 
> > I can stand up a fully functional web server simply enough. What do you 
> > have in mind?
> I have started developing a newsreader as a Web application. One could 
> install it one’s localhost, or, as in your case, you could install it on a 
> remote Web server that you have access to from all your devices.

Do you have this hosted in a repo somewhere?

[toc] | [prev] | [next] | [standalone]


#40147

FromArno Welzel <usenet@arnowelzel.de>
Date2021-05-24 22:21 +0200
Message-ID<ih2g5rF73lqU1@mid.individual.net>
In reply to#40108
Thomas 'PointedEars' Lahn:

> Michael Haufe (TNO) wrote:
> 
>> I've debated making a web interface alternative to GG but I don't know how
>> heavy of a lift that would be.
>>
>> I can stand up a fully functional web server simply enough. What do you
>> have in mind?
> 
> I have started developing a newsreader as a Web application.  One could 
> install it one’s localhost, or, as in your case, you could install it on a 
> remote Web server that you have access to from all your devices.

Sounds intriguing - is there a public repository? Which
language/framework do you use? I am experienced with PHP/Symfony if any
help is welcome.


-- 
Arno Welzel
https://arnowelzel.de

[toc] | [prev] | [next] | [standalone]


#40115

FromArno Welzel <usenet@arnowelzel.de>
Date2021-05-22 23:37 +0200
Message-ID<igtbt3F7b56U1@mid.individual.net>
In reply to#40099
Michael Haufe (TNO):

> On Saturday, May 22, 2021 at 1:33:04 PM UTC-5, Thomas 'PointedEars' Lahn wrote:
>> Michael Haufe (TNO) wrote: 
>>
>>> On Saturday, May 22, 2021 at 6:59:24 AM UTC-5, Arno Welzel wrote: 
>>>> So why not using a newsreader like Thunderbird and a NNTP server 
>>>> instead? I find this *way* better than Googe Groups to access usenet. 
>>>
>>> In my particular case I use more than six devices and maintaining software 
>>> on each of them for this purpose is impractical. Thunderbird would be 
>>> reasonable except that I do not have any desire to have multiple mail 
>>> clients and the mobile options are questionable. I have significant 
>>> integrations and dependencies on the Microsoft ecosystem and migrating to 
>>> a mishmash of other technologies is non-trivial.
>> Interesting. Do you have access to a Web server from all those devices, and 
>> can run scripting languages on it server-side?
> 
> I do alot of consulting and contracting work so it's unavoidable.
> 
> I've debated making a web interface alternative to GG but I don't know how heavy of a lift that would be.
> 
> I can stand up a fully functional web server simply enough. What do you have in mind?

Do you know RoundCube with the "Elastic" theme? A newsreader similar to
this webmail client would be nice.


-- 
Arno Welzel
https://arnowelzel.de

[toc] | [prev] | [next] | [standalone]


#40110

FromMostowski Collapse <janburse@fastmail.fm>
Date2021-05-25 09:25 +0200
Message-ID<s8i8q5$kmv$1@solani.org>
In reply to#40081
I'm a fan of Google groups but I think this is off-topic for the group.

Michael Haufe (TNO) schrieb:
> If you're one of the majority currently viewing the newsgroup through Google Groups, you've probably noticed they broke layout again.
> 
> If you use a plugin for user stylesheets you can use the following to fix the layout:
> 
> html-blob {
>    white-space: pre;
> }
> 
> I'm currently using:
> 
> <https://chrome.google.com/webstore/detail/user-css/okpjlejfhacmgjkmknjhadmkdbcldfcb>
> 

[toc] | [prev] | [next] | [standalone]


#40116

From"Michael Haufe (TNO)" <tno@thenewobjective.com>
Date2021-05-25 06:03 -0700
Message-ID<4cc351bb-fd11-4058-bd41-7e0ad39cf08dn@googlegroups.com>
In reply to#40110
On Tuesday, May 25, 2021 at 2:26:05 AM UTC-5, Mostowski Collapse wrote:
> I'm a fan of Google groups but I think this is off-topic for the group. 

The group disagrees.

 I'm going to venture a guess that your reaction is due to my response to your other post.

<https://groups.google.com/g/comp.lang.javascript/c/IG4Z5xjz0T8>

We have a tendency to fall in love with our own creations and in your case
I'm guessing that is the most significant thing you've ever done and
you have much of your ego tied to it. Thus any criticism of it is taken
as a criticism of you personally.

Grow up.

[toc] | [prev] | [next] | [standalone]


#40121

FromMostowski Collapse <janburse@fastmail.fm>
Date2021-05-25 18:36 +0200
Message-ID<s8j91k$6f6$2@solani.org>
In reply to#40116
Ha Ha, normally I don't feed resident trolls.

Michael Haufe (TNO) schrieb:
> On Tuesday, May 25, 2021 at 2:26:05 AM UTC-5, Mostowski Collapse wrote:
>> I'm a fan of Google groups but I think this is off-topic for the group.
> 
> The group disagrees.
> 
>   I'm going to venture a guess that your reaction is due to my response to your other post.
> 
> <https://groups.google.com/g/comp.lang.javascript/c/IG4Z5xjz0T8>
> 
> We have a tendency to fall in love with our own creations and in your case
> I'm guessing that is the most significant thing you've ever done and
> you have much of your ego tied to it. Thus any criticism of it is taken
> as a criticism of you personally.
> 
> Grow up.
> 

[toc] | [prev] | [next] | [standalone]


#40113

Fromluserdroog <luser.droog@gmail.com>
Date2021-05-23 23:31 -0700
Message-ID<0e5a195f-c796-4402-8ba2-8b6df81e251fn@googlegroups.com>
In reply to#40081
On Thursday, May 20, 2021 at 8:29:07 PM UTC-5, Michael Haufe (TNO) wrote:
> If you're one of the majority currently viewing the newsgroup through Google Groups, you've probably noticed they broke layout again. 
> 
> If you use a plugin for user stylesheets you can use the following to fix the layout: 
> 
> html-blob { 
> white-space: pre; 
> } 
> 
> I'm currently using: 
> 
> <https://chrome.google.com/webstore/detail/user-css/okpjlejfhacmgjkmknjhadmkdbcldfcb>

Thanks a bunch! Google support has been wholly unhelpful about this.
Got it to work with:

<https://addons.mozilla.org/en-US/firefox/addon/insert-style-sheet-temporarily/>

[toc] | [prev] | [next] | [standalone]


#40522

Fromluserdroog <luser.droog@gmail.com>
Date2021-11-11 15:21 -0800
Message-ID<3270eb9a-51f2-4db2-82cb-0f84793c5269n@googlegroups.com>
In reply to#40113
On Monday, May 24, 2021 at 1:31:31 AM UTC-5, luserdroog wrote:
> On Thursday, May 20, 2021 at 8:29:07 PM UTC-5, Michael Haufe (TNO) wrote: 
> > If you're one of the majority currently viewing the newsgroup through Google Groups, you've probably noticed they broke layout again. 
> > 
> > If you use a plugin for user stylesheets you can use the following to fix the layout: 
> > 
> > html-blob { 
> > white-space: pre; 
> > } 
> > 
> > I'm currently using: 
> > 
> > <https://chrome.google.com/webstore/detail/user-css/okpjlejfhacmgjkmknjhadmkdbcldfcb>
> Thanks a bunch! Google support has been wholly unhelpful about this. 
> Got it to work with: 
> 
> <https://addons.mozilla.org/en-US/firefox/addon/insert-style-sheet-temporarily/>

This still works. (Actually, I'm doing "pre-wrap" but whatever.) But it has the unfortunate
side effect of doubling the line spacing. Is there a trick to delete whatever extra newlines
are being added? 

I tried using Firefox's style editor to peek into the style sheets in use,
but there are dozens of sheets with hundreds of rules in each. And I don't know what I'm
even looking for.

[toc] | [prev] | [next] | [standalone]


#40523

Fromluserdroog <luser.droog@gmail.com>
Date2021-11-11 15:26 -0800
Message-ID<e43a50ee-41da-46a5-95ce-400bc071d5f5n@googlegroups.com>
In reply to#40522
On Thursday, November 11, 2021 at 5:21:51 PM UTC-6, luserdroog wrote:
> On Monday, May 24, 2021 at 1:31:31 AM UTC-5, luserdroog wrote: 
> > On Thursday, May 20, 2021 at 8:29:07 PM UTC-5, Michael Haufe (TNO) wrote: 
> > > If you're one of the majority currently viewing the newsgroup through Google Groups, you've probably noticed they broke layout again. 
> > > 
> > > If you use a plugin for user stylesheets you can use the following to fix the layout: 
> > > 
> > > html-blob { 
> > > white-space: pre; 
> > > } 
> > > 
> > > I'm currently using: 
> > > 
> > > <https://chrome.google.com/webstore/detail/user-css/okpjlejfhacmgjkmknjhadmkdbcldfcb> 
> > Thanks a bunch! Google support has been wholly unhelpful about this. 
> > Got it to work with: 
> > 
> > <https://addons.mozilla.org/en-US/firefox/addon/insert-style-sheet-temporarily/>
> This still works. (Actually, I'm doing "pre-wrap" but whatever.) But it has the unfortunate 
> side effect of doubling the line spacing. Is there a trick to delete whatever extra newlines 
> are being added? 
> 
> I tried using Firefox's style editor to peek into the style sheets in use, 
> but there are dozens of sheets with hundreds of rules in each. And I don't know what I'm 
> even looking for.

I found something. Don't know what to do with it. GG appears to be inserting <br>
elements where the newlines go. So, can I style the <br>s to *not* break?

[toc] | [prev] | [next] | [standalone]


#40524 — qapplaH (was Re: Fixing Google Groups Styling)

Fromluserdroog <luser.droog@gmail.com>
Date2021-11-11 15:41 -0800
SubjectqapplaH (was Re: Fixing Google Groups Styling)
Message-ID<bef6322a-ce05-4cb7-8434-b8f771961a33n@googlegroups.com>
In reply to#40523
On Thursday, November 11, 2021 at 5:26:08 PM UTC-6, luserdroog wrote:
> On Thursday, November 11, 2021 at 5:21:51 PM UTC-6, luserdroog wrote: 
> > On Monday, May 24, 2021 at 1:31:31 AM UTC-5, luserdroog wrote: 
> > > On Thursday, May 20, 2021 at 8:29:07 PM UTC-5, Michael Haufe (TNO) wrote: 
> > > > If you're one of the majority currently viewing the newsgroup through Google Groups, you've probably noticed they broke layout again. 
> > > > 
> > > > If you use a plugin for user stylesheets you can use the following to fix the layout: 
> > > > 
> > > > html-blob { 
> > > > white-space: pre; 
> > > > } 
> > > > 
> > > > I'm currently using: 
> > > > 
> > > > <https://chrome.google.com/webstore/detail/user-css/okpjlejfhacmgjkmknjhadmkdbcldfcb> 
> > > Thanks a bunch! Google support has been wholly unhelpful about this. 
> > > Got it to work with: 
> > > 
> > > <https://addons.mozilla.org/en-US/firefox/addon/insert-style-sheet-temporarily/> 
> > This still works. (Actually, I'm doing "pre-wrap" but whatever.) But it has the unfortunate 
> > side effect of doubling the line spacing. Is there a trick to delete whatever extra newlines 
> > are being added? 
> > 
> > I tried using Firefox's style editor to peek into the style sheets in use, 
> > but there are dozens of sheets with hundreds of rules in each. And I don't know what I'm 
> > even looking for.
> I found something. Don't know what to do with it. GG appears to be inserting <br> 
> elements where the newlines go. So, can I style the <br>s to *not* break?

html-blob{white-space:pre-wrap;}
br{display:none;}

[toc] | [prev] | [next] | [standalone]


#40525 — Re: qapplaH (was Re: Fixing Google Groups Styling)

Fromluserdroog <luser.droog@gmail.com>
Date2021-11-11 15:43 -0800
SubjectRe: qapplaH (was Re: Fixing Google Groups Styling)
Message-ID<89d468a8-dee6-48cc-bce0-df3d4260bba5n@googlegroups.com>
In reply to#40524
On Thursday, November 11, 2021 at 5:41:45 PM UTC-6, luserdroog wrote:
> On Thursday, November 11, 2021 at 5:26:08 PM UTC-6, luserdroog wrote: 
> > On Thursday, November 11, 2021 at 5:21:51 PM UTC-6, luserdroog wrote: 
> > > On Monday, May 24, 2021 at 1:31:31 AM UTC-5, luserdroog wrote: 
> > > > On Thursday, May 20, 2021 at 8:29:07 PM UTC-5, Michael Haufe (TNO) wrote: 
> > > > > If you're one of the majority currently viewing the newsgroup through Google Groups, you've probably noticed they broke layout again. 
> > > > > 
> > > > > If you use a plugin for user stylesheets you can use the following to fix the layout: 
> > > > > 
> > > > > html-blob { 
> > > > > white-space: pre; 
> > > > > } 
> > > > > 
> > > > > I'm currently using: 
> > > > > 
> > > > > <https://chrome.google.com/webstore/detail/user-css/okpjlejfhacmgjkmknjhadmkdbcldfcb> 
> > > > Thanks a bunch! Google support has been wholly unhelpful about this. 
> > > > Got it to work with: 
> > > > 
> > > > <https://addons.mozilla.org/en-US/firefox/addon/insert-style-sheet-temporarily/> 
> > > This still works. (Actually, I'm doing "pre-wrap" but whatever.) But it has the unfortunate 
> > > side effect of doubling the line spacing. Is there a trick to delete whatever extra newlines 
> > > are being added? 
> > > 
> > > I tried using Firefox's style editor to peek into the style sheets in use, 
> > > but there are dozens of sheets with hundreds of rules in each. And I don't know what I'm 
> > > even looking for. 
> > I found something. Don't know what to do with it. GG appears to be inserting <br> 
> > elements where the newlines go. So, can I style the <br>s to *not* break?
> html-blob{white-space:pre-wrap;} 
> br{display:none;}

Ok, last one I promise. Is it possible to force the html-blob to use a fixed width font
or tty font?

[toc] | [prev] | [next] | [standalone]


Page 1 of 2  [1] 2  Next page →

Back to top | Article view | comp.lang.javascript


csiph-web