October 16, 2022 at 8:54 AM, "jindam, vani via Lynx-dev" wrote:


> 
> October 15, 2022 at 11:00 PM, "Thomas Dickey" wrote:
> 
> > 
> > On Sat, Oct 15, 2022 at 08:21:13AM +0000, jindam, vani via Lynx-dev wrote:
> >  
> >  
> >  hello lynx devs,
> >  
> >  i want to assign or view background or 
> >  foreground colors for INS: or DEL: on 
> >  wikipedia diff page.
> >  
> >  
> > https://en.wikipedia.org/w/index.php?title=Sarai_metro_station&diff=prev&oldid=1116048286
> >  contains tag or text in normal & mobile view mode: INS: or DEL: 
> >  i found both tags are in div tag on 
> > "view-source:https://en.m.wikipedia.org/w/index.php?title=Special:MobileDiff/1116048286&diffonly=1";
> >  and
> >  but only del tag in td on 
> > "view-source:https://en.wikipedia.org/w/index.php?title=Sarai_metro_station&diff=prev&oldid=1116048286";
> >  
> >  my settings:
> >  (1) lynx.cfg :: 
> >  (a) h2 COLOR_STYLE :: COLOR_STYLE: lynx.lss
> >  (b) .h2 PRETTYSRC
> >  # Enable pretty source view
> >  PRETTYSRC:FALSE & PRETTYSRC:TRUE
> >  (c) enabled all: PRETTYSRC_SPEC
> >  (2) 'o' key on lynx
> >  show color —on, color style —lynx.lss, default colors —on.
> >  (3) lynx.lss :: span.htmlsrc_tag:normal: white/red/magenta
> >  
> >  
> >  This seems to work:
> >  
> >  ins: reverse: green
> >  del: reverse: red
> > 
> 
> enabled COLOR_STYLE: lynx.lss on lynx.cfg
> added code on lynx.lss
> works perfectly.

i would like to add interesting fact:

(a)run lynx in terminal
$lynx
(b) click o
(c) Document Appearance — Color style — lynx.lss

if you have lynx.css on color style, there is 
no need to enable "COLOR_STYLE: lynx.lss" on lynx.cfg

my lynx version: 2.9.0dev.10 (11 Aug 2021)
libwww-FM 2.14, SSL-MM 1.4.1, GNUTLS 3.7.7, ncurses 6.2.20201114(wide)
Built on linux-gnueabihf.

regards,
jindam, vani

toots: @[email protected]
others: en.wikipedia.org/wiki/User:Jindam_vani


> thank you.
> 
> regards,
> jindam, vani
> 
> toots: @[email protected]
> others: en.wikipedia.org/wiki/User:Jindam_vani
> 
> > 
> > none of the above settings did not change 
> >  white default color on INS: or DEL:
> >  
> >  perhaps, i misunderstood or expecting incorrectly. please let me know.
> >  
> >  regards,
> >  jindam, vani
> >  
> >  toots: @[email protected]
> >  others: en.wikipedia.org/wiki/User:Jindam_vani
> >  
> >  [email protected]
> >  
> >  
> >  -- 
> >  Thomas E. Dickey <[email protected]>
> >  https://invisible-island.net https://invisible-island.net/  
> > https://invisible-island.net/ 
> >  ftp://ftp.invisible-island.net
> >
>

Attachment: signature.asc
Description: PGP signature

Reply via email to