On Fri, Sep 25, 2009 at 11:11:35AM +0800, Water Lin wrote:
>
> While I am exploring some sites in my Conkeror, the font size is too
> small and makes my eyes very tired. Is there a way to set the font size
> of this specific site?
>
> Thanks
Hi Water,
You can do this with css. Here is an example from my .conkerorrc, in
which I use css to change the appearance of a particular website:
// make the nasa-hsf-sightings page more printer friendly
register_user_stylesheet(
"data:text/css," +
escape (
"@-moz-document url-prefix("+
"http://spaceflight1.nasa.gov/realdata/sightings/cities/view.cgi)"+
"{img { display: none; }}"));
Note, I used a data: url to encode the css directly into my rc, which is
convenient for short snippets like this. However, you can also put your
css in a file, and pass a file: url to register_user_stylesheet.
You may also need to mark your css rules as !important, depending on the
particulars of the website's stylesheets.
--
John Foerch
_______________________________________________
Conkeror mailing list
[email protected]
https://www.mozdev.org/mailman/listinfo/conkeror