K-Meleon
KMeleonWiki > Tutorials > ControllingDisplay
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.
Change a link's colour to red, if it is to open in a new window.
/* RED LINKS */ :link:hover_blank?,:visited:hover_blank? { color: white important; background: red important; } :link:hover_new?,:visited:hover_new? { color: white important; background: red important; }
Change the cursor for links that open in a new window
/*NEW WINDOW LINK CURSOR*/ :link_blank?, :visited_blank?, :link_new?, :visited_new? { cursor: crosshair; }
Change the cursor for JavaScript links
/* JAVASCRIPT LINK CURSOR */
ajavascript:? {
cursor: move;
}
Block most of the advertisements from appearing in web pages.
/* BLOCK ADS */ iframe120?600?, a img120?600?, iframe125?600?, a img125?600?, iframe150?100?, a img150?100?, iframe150?600?, a img150?600?, iframe160?600?, a img160?600?, iframe300?250?, a img300?250?, iframe336?280?, a img336?280?, iframe468?60?, a img468?60?, iframe470?62?, a img470?62?, iframe728?90?, a img728?90?, iframe730?92?, a img730?92?, iframe600?120?, object125?300?, iframe180?150?, iframe/ad?, iframe.ad?, iframe/click?, iframepromos?, iframebsadframe?, iframeadFrame?, iframesplashFrame?, img/ad-?, img/ad.?, img/ad/?, img/ad_?, img/ads?, img/adv?, img/adx?, img/click?, img/toms_skyscraper_?, imgimages/logos/amazon_international.gif?, imgfreshmeat.net/button.gif?, imgpic.geocities.com/images/?, imgi.imdb.com/Vpics/?, imgi.imdb.com/Photos/CMSIcons?, imgi.imdb.com/Icons/apix/?, imgi.imdb.com/Icons/kpix/?, imgi.imdb.com/apix/?, imgsportsbybrooks.com/farkbutton.gif?, imgadvert?, a:link/ad-? img, a:link/ad.? img, a:link/ad/? img, a:link/ad_? img, a:link/ads? img, a:link/adv? img, a:link/adx? img, a:link.ad? img, a:link/banner? img, a:link/click.cgi? img, a:link/clickcgi?? img, a:link/clickover? img, a:link/clickthr? img, a:link/click-? img, a:link=click? img, a:link/redirect/? img, a:link/A=? img, table table table346?280?, tableRefAd?, table0?160?329?#000000?, table0?3?0?40?100%?, table0?0?4?right?20%?, table2? tdtop?#ffffff? table138?, table0?1?0?626?#6699cc?, tablered?225?0?0?190?white?0?, table336?0?0?0?right?margin-left: 10px; margin-bottom: 10px;?, tdborder-bottom: 1px solid rgb(204, 204, 204); padding: 7px 3px; background-color: rgb(255, 254, 249);?, formfrmLargeForm?, formclick_lx.cgi?, formhttp://rd.yahoo.com/?, form?SoapCity?, form?728x90?, form?300x250?, embedapplication/x-shockwave-flash?/ad?, embedapplication/x-shockwave-flash?/ad?, embedapplication/x-shockwave-flash?.ad?, embedapplication/x-shockwave-flash?.ad?, embedapplication/x-shockwave-flash?/click?, embedapplication/x-shockwave-flash?/click?, embedapplication/x-shockwave-flash?promos?, embedapplication/x-shockwave-flash?promos?, embedapplication/x-shockwave-flash?=click?, embedapplication/x-shockwave-flash?redirect?, embedapplication/x-shockwave-flash?/A=?, embedapplication/x-shockwave-flash?advert?, embedapplication/x-shockwave-flash?banner?, embedapplication/x-shockwave-flash?728?90?, embedapplication/x-shockwave-flash?468?60?, divadvert?, divdropin?, divdwindow?, divmntl?, divpopup?, divquack?, divsplashLayer?, divsponsor?, divborder: 1px solid rgb(221, 221, 221); padding: 5px; background-color: rgb(255, 255, 255);?, objectwidgeth?, *klipad?, */ads/?, *120x80?, *140x?, *?ad?, *-ad-?, *adimage?, *adimg?, *advert?, */affiliates/?, *=click?, *banners.?, */images/dinkus/more-arrow-lo.gif?, */offer?, */puffboxes/?, */sponsors/?, *_sponsor_?, */us.yimg.com/a/ya?, *.adbutler.de?, *.nedstatbasic.net?, *.tradedoubler.com?, *.travelocity./Sponsor_gifs/?, *a.consumer.net?, *bannermania.nom.pl?, *cash4banner.com?, *crazypopups.com?, *hit-now.com?, *hitbox.com?, *img.thebugs.ws?, *kinghost.com/ban/?, *klipmart?, *popupad.net/ats/?, *public?ad?, */publicidad/?, *qkimg.net?, *qksrv.net?, *rcm-images.amazon.com?, *rcm.amazon.com?, *salon.com/Creatives?, *servedby.advertising.com?, *sexcounter.?, *statse.webtrendslive.com?, *click_?, *logging.to?, */referral/?, *tryaol?, *websponsors?, *banman.asp?, *banman.asp?, *bannerman?, *bannerman?, *?banner?, *?banner?, */banner/?, */banner/?, */banners/?, */banners/?, *?click?, *?click?, */jump/?, */jump/?, *adfarm?, *adfarm?, *ar.atwola.com?, *ar.atwola.com?, *atdmt.com?, *atdmt.com?, *bluestreak.com?, *bluestreak.com?, *doubleclick?, *doubleclick?, *mediaplex?, *mediaplex?, *spinbox.?, *spinbox.?, *transfer.go?, *transfer.go?, *.tribalfusion?, *.tribalfusion?, *valueclick?, *valueclick?, *http://216.92.21.16/?, *http://216.92.21.16/? { display: none !important; } img/click_?, img/cnn/images/clickability/?, img/banners/com000.jpg?, a:linkadmin? img, a:linkadobe? img, a:link.adp? img, a:linkclick.mp3? img, a:link/imgres?imgurl=? img, a:link:head? img, a:linkhttp://nettracker.? img, embedapplication/x-shockwave-flash?gallery? { display: inline !important; }
References: