K-Meleon

KMeleonWikiFr > TutorialsFr > ControllingDisplayFr



Entries in the userContent.css file can help you take control of your web experience by changing the display of web pages to fit your needs. By default it contains examples that you can activate by removing the asterisk(*) symbol next to the coded portion of the example. The following are additional items to add to the file for further web page manipulation. Copy the text highlighted in gray into your userContent.css which you can find by going to: Edit-Preferences-Settings.


Red Links

Change a link's colour to red, if it is to open in a new window.

/* RED LINKS */
:link:hover[target="_blank"],:visited:hover[target="_blank"] {
  color: white !important; background: red !important;
}
:link:hover[target="_new"],:visited:hover[target="_new"] {
  color: white !important; background: red !important;
}


New Window Link Cursor

Change the cursor for links that open in a new window

/*NEW WINDOW LINK CURSOR*/
:link[target="_blank"], :visited[target="_blank"],
:link[target="_new"],   :visited[target="_new"] { 
   cursor:  crosshair; 
} 


JavaScript Link Cursor

Change the cursor for JavaScript links

/* JAVASCRIPT LINK CURSOR */
a[href^="javascript:"] { 
   cursor: move; 
} 


Block Ads

Block most of the advertisements from appearing in web pages with text from the following external link: Block Ads



There are many examples to be found on the internet, not all will work in K-Meleon. Only the ones directly related to content display and not browser behaviour will work.


References:

K-Meleon

(c) 2000-2010 kmeleonbrowser.org. All rights reserved.
design by splif.