[Greasemonkey] greasemonkey and changing css properties.

Saravanan saravanannkl at gmail.com
Thu Aug 11 14:33:29 EDT 2005

Probably my Greasemonkey script MozTxtAlignFix can help u.


This script checks for Tamil(an Indian Language) content and acts on it.

to bypass this replace the statement MozTxtAlignFix.processPage(); with 


On 8/11/05, Shaya Potter <spotter at cs.columbia.edu> wrote:
> I'd like to learn how to write a simple greasemonkey script to change
> css properties.
> namely, a site I go to has a css file which sets regular html properties
> via css to use text-align:justify ala
> p {font-size:165%;text-align:justify;}
> p.m {font-size:120%;text-align:justify;}
> p.s {font-size:100%;text-align:justify;}
> the problem is, firefox (unlike IE) can't display UTF8 combining
> characters well when used w/ text-align:justify. If I remove the
> text-align:justify it displays well enough to read (not perfect, but
> usable). (Yes, a bug has been filed for a long time)
> there should be an easy way to change this. If those were styles that
> were used by a div, I could just do a getElementById() on the div type,
> but they aren't, so any reccomendations on how to change them?
> thanks,
> shaya
> _______________________________________________
> Greasemonkey mailing list
> Greasemonkey at mozdev.org
> http://mozdev.org/mailman/listinfo/greasemonkey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mozdev.org/pipermail/greasemonkey/attachments/20050811/ad8c2921/attachment.htm

More information about the Greasemonkey mailing list