<?xml version="1.0" encoding="UTF-8"?>


<rdf:RDF xmlns:ns4="http://purl.org/dc/terms/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xmlns:ns2="http://lojjic.net/ns/rdf/blog/">

<rdf:Description rdf:about="http://lojjic.net/blog/20020723-114100">
	<ns2:entry-date rdf:datatype="http://www.w3.org/2001/XMLSchema#dateTime">2002-07-23T11:41:00-07:00</ns2:entry-date>
</rdf:Description>

<rdf:Description rdf:about="http://lojjic.net/ns/rdf/blog/entry-date">
	<rdfs:domain rdf:resource="http://lojjic.net/ns/rdf/blog/Entry" />
</rdf:Description>

<rdf:Description rdf:about="http://lojjic.net/blog/20020723-114100">
	<rdf:type rdf:resource="http://lojjic.net/ns/rdf/blog/Entry" />
	<ns2:entry-title rdf:datatype="http://www.w3.org/2001/XMLSchema#normalizedString">Strike Visited Links bookmarklet</ns2:entry-title>
</rdf:Description>

<rdf:Description rdf:about="http://lojjic.net/ns/rdf/blog/entry-title">
	<rdfs:domain rdf:resource="http://lojjic.net/ns/rdf/blog/Entry" />
</rdf:Description>

<rdf:Description rdf:about="http://lojjic.net/blog/20020723-114100">
	<ns2:entry-content rdf:parseType="Literal"><p xmlns="http://www.w3.org/1999/xhtml">Alex was <a xmlns="http://www.w3.org/1999/xhtml" href="http://www.handcoding.com/archives/000154.html#000154">lamenting</a> last week about the lack of visual cues for visited links on many sites (including, I  admit, most of my own).  While I agree that often visited link feedback is helpful, I  also agree that in many cases it just adds more visual confusion and makes a site more difficult to make sense of at a glance, hurting its usability.</p>
<p xmlns="http://www.w3.org/1999/xhtml">So why not have the best of both worlds?  A clean, simple interface by default, but the capability to see which links have been visited on demand. Enter the Solution To Almost Everything, the <em xmlns="http://www.w3.org/1999/xhtml">bookmarklet.</em></p>
<p xmlns="http://www.w3.org/1999/xhtml">I posted a comment to his entry containing a quickly hacked together bookmarklet that will dynamically change the style of all visited links to something recognizable. It only worked in <a xmlns="http://www.w3.org/1999/xhtml" href="http://www.mozilla.org">Mozilla</a> (or any other browser with proper standards support), and simply changed the color to red. But I played around with it some more after that, and decided that a more universal cue would be to make the visited links strike-through.  I also got it working in <acronym xmlns="http://www.w3.org/1999/xhtml" title="Microsoft Internet Explorer">MSIE</acronym> by using some Microsoft proprietary extensions. Bleech. Damned Microsoft.</p>
<p xmlns="http://www.w3.org/1999/xhtml">To use the bookmarklet, copy the following code (as a single line) into the Location field of a new bookmark:  <code xmlns="http://www.w3.org/1999/xhtml" class="block">javascript: var styleText=&apos;text-decoration:line-through !important&apos;; if(document.createStyleSheet) { /*MSIE proprietary:*/ var ss = document.createStyleSheet(); void(ss.addRule(&apos;:visited&apos;,styleText)); } else { /*W3C Standard:*/ var ss = document.createElement(&apos;style&apos;); ss.setAttribute(&apos;type&apos;,&apos;text/css&apos;); ss.appendChild(document.createTextNode(&apos;:visited {&apos;+styleText+&apos;}&apos;)); void(document.getElementsByTagName(&apos;head&apos;)[0].appendChild(ss));}</code> or simply bookmark the following link: <a xmlns="http://www.w3.org/1999/xhtml" href="javascript: var styleText=&apos;text-decoration:line-through !important&apos;; if(document.createStyleSheet) { /*MSIE proprietary:*/ var ss = document.createStyleSheet(); void(ss.addRule(&apos;:visited&apos;,styleText)); } else { /*W3C Standard:*/ var ss = document.createElement(&apos;style&apos;); ss.setAttribute(&apos;type&apos;,&apos;text/css&apos;); ss.appendChild(document.createTextNode(&apos;:visited {&apos;+styleText+&apos;}&apos;)); void(document.getElementsByTagName(&apos;head&apos;)[0].appendChild(ss)); }">Strike Visited Links</a>. (Try clicking that link for a quick demo.)</p></ns2:entry-content>
</rdf:Description>

<rdf:Description rdf:about="http://lojjic.net/ns/rdf/blog/entry-content">
	<rdfs:domain rdf:resource="http://lojjic.net/ns/rdf/blog/Entry" />
</rdf:Description>

<rdf:Description rdf:about="http://lojjic.net/blog/20020723-114100">
	<ns2:entry-subject rdf:resource="http://lojjic.net/blog/subjects/bookmarklets" />
</rdf:Description>

<rdf:Description rdf:about="http://lojjic.net/ns/rdf/blog/entry-subject">
	<rdfs:domain rdf:resource="http://lojjic.net/ns/rdf/blog/Entry" />
</rdf:Description>

<rdf:Description rdf:about="http://lojjic.net/blog/20020723-114100">
	<ns4:modified rdf:datatype="http://www.w3.org/2001/XMLSchema#long">1139767943</ns4:modified>
</rdf:Description>

<rdf:Description rdf:about="http://purl.org/dc/terms/modified">
	<rdfs:domain rdf:resource="http://www.w3.org/2000/01/rdf-schema#Resource" />
</rdf:Description>

<rdf:Description rdf:about="http://lojjic.net/blog/20020723-114100">
	<rdf:type rdf:resource="http://www.w3.org/2000/01/rdf-schema#Resource" />
</rdf:Description>

<rdf:Description rdf:about="http://www.w3.org/1999/02/22-rdf-syntax-ns#type">
	<rdfs:domain rdf:resource="http://www.w3.org/2000/01/rdf-schema#Resource" />
</rdf:Description>

<rdf:Description rdf:about="http://lojjic.net/blog/20020723-114100">
	<rdf:type rdf:resource="http://lojjic.net/ns/rdf/comments/CommentableResource" />
</rdf:Description>

</rdf:RDF>
