LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Firefox View specific font? (https://www.linuxquestions.org/questions/linux-software-2/firefox-view-specific-font-725454/)

Ringmaster 05-12-2009 10:35 AM

Firefox View specific font?
 
can i do something where all that will show up are things in a certain font? it'd save me a little bit of a headache.

akuthia 05-12-2009 10:45 AM

well, theres a few options in edit-preferences-content, but because of the nature of the web, i'm not so sure how much it will actually change

Ringmaster 05-12-2009 11:39 AM

meh, the more i thought about it the more it seems that i would have to create some kind of scraper to throw all the info on the page through a filter and only take the things out with certain tags..

but i have no idea how to do that >_>

meh i just copied everything over and deleted in between the lines but it'd be nice to have a quicker solution.

akuthia 05-12-2009 04:34 PM

oh, i'm sorry, i misunderstood you're initial question, i thought you wanted firefox to display everything in a certain font... not go through it and only display what is in a certain font.... hm, the onyl thing i can think of is to remove all of the other fonts from your system, and see if that does it, lol.. prolly not a very safe way to do it though.

Su-Shee 05-13-2009 03:42 AM

That's very simple. Use JavaScript oder CSS.

Everything within your browser's window can be manipulated with JavaScript. The so called "greasemonkey" engine even simplifies this further by allowing you to install little Javascript code snippets doing this and that. Firefox even allows you to change the browser itself with JavaScript and CSS.

The font _within_ the webpage can also be manipulated by your "userContent.css" (check Google for many examples for all kinds of configurations). For example: I filter the font color for a certain forum to be always simply black instead of the user's choice of all kinds of pink and violet shades in my userContent.css.

The font of the _browser_ itself can be changed with two ways: Either load a specific gtk-theme-configuration for Firefox (I've posted about that some time ago) OR change your userChrome.css.

Whatever you want to do: it's one of those three possibilities.


All times are GMT -5. The time now is 07:23 AM.