<?xml version="1.0" encoding="UTF-8"?> <rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
> <channel><title>gHacks Technology News &#124; Latest Tech News, Software And Tutorials &#187; firefox usercontent</title> <atom:link href="http://www.ghacks.net/tag/firefox-usercontent/feed/" rel="self" type="application/rss+xml" /><link>http://www.ghacks.net</link> <description>A technology news blog covering software, mobile phones, gadgets, security, the Internet and other relevant areas.</description> <lastBuildDate>Sat, 11 Feb 2012 21:54:04 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <atom:link rel="hub" href="http://pubsubhubbub.appspot.com"/><atom:link rel="hub" href="http://superfeedr.com/hubbub"/> <item><title>Change how Firefox displays Websites</title><link>http://www.ghacks.net/2007/06/03/change-how-firefox-displays-websites/</link> <comments>http://www.ghacks.net/2007/06/03/change-how-firefox-displays-websites/#comments</comments> <pubDate>Sun, 03 Jun 2007 08:50:27 +0000</pubDate> <dc:creator>Martin Brinkmann</dc:creator> <category><![CDATA[Browsing]]></category> <category><![CDATA[Firefox]]></category> <category><![CDATA[css hacks firefox]]></category> <category><![CDATA[firefox mozilla]]></category> <category><![CDATA[firefox usercontent]]></category> <category><![CDATA[usercontent.css]]></category> <guid
isPermaLink="false">http://www.ghacks.net/2007/06/03/change-how-firefox-displays-websites/</guid> <description><![CDATA[Did you know that it is possible to override the way a website is displayed by default in Firefox. This can be useful for instance if a webmaster decided to use CSS code to remove the underline of links, change the color for links that open in new windows or display additional information for certain file type downloads.
The first thing that you need to do is locate or create the file usercontent.css in your Mozilla Firefox profile directory. It can usually be located in %appdata%\Mozilla\Firefox\Profiles\<xxx.yyy>\chrome in Windows where xxx is a random number and yyy the name of the profile (default for instance). ]]></description> <content:encoded><![CDATA[<p>Did you know that it is possible to override the way a website is displayed by default in Firefox. This can be useful for instance if a webmaster decided to use CSS code to remove the underline of links, change the color for links that open in new windows or display additional information for certain file type downloads.</p><p>The first thing that you need to do is locate or create the file usercontent.css in your Mozilla Firefox profile directory. It can usually be located in %appdata%\Mozilla\Firefox\Profiles\<xxx.yyy>\chrome in Windows where xxx is a random number and yyy the name of the profile (default for instance).</p><p>It can be found under ~/.mozilla/firefox/<xxx.yyy>/chrome in Linux. Create the file userContent.css if it does not exist already and open it in your favorite text editor. If the file exists simply append the code that is of interest at the end of it.</p><p><span
id="more-1627"></span><ul><li>Always underline links, even visited ones and those that that have no underline because the webmaster used CSS to remove the underline.<BR><br
/> <code>:link, :visited {text-decoration: underline ! important };</code></li><li>Remove Marquee and Blink<BR><br
/> <code>marquee { display: none !important; }<br
/> blink { text-decoration: none !important; }</code><BR></li><li>Display file type after link. This example is for pdf, you can change it to suit other file types such as .doc, .avi or .zip<BR><br
/> <code>a[href$=".pdf"]:after {<br
/> font-size: smaller;<br
/> content: " [pdf]";}</code><br
/> <BR></li><li>Change cursor for links that open in a new window<BR><br
/> <code>:link[target="_blank"]:after, :visited[target="_blank"]:after, :link[target="_new"]:after, :visited[target="_new"]:after {<br
/> font-size: smaller;<br
/> content: " [new]";}</code><BR></li><li>Display if the link has the nofollow attribute (great for webmasters)<BR><br
/> <code>a[rel~="nofollow"] {<br
/> border: 1px dashed #f00!important;<br
/> background: #f66!important;<br
/> } </code><BR></li><li>Increase the minimum height and width of textareas<BR><br
/> <code>textarea {<br
/> min-width: 50ex !important;<br
/> min-height: 12em !important;<br
/> }</code><BR></li></ul> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2007/06/03/change-how-firefox-displays-websites/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> </channel> </rss>
