| Predicate: | Object: | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| http://lojjic.net/ns/rdf/blog/entry-content | I've been fooling around a lot with XBL recently, and have converted my Accessible Email Obfuscation script into an XBL binding. Here's the binding, which would be saved as an XML file such as EmailLink.xml:
Then in your HTML page you would insert the email address in obfuscated form:
And then you attach the XBL binding to that element using CSS:
The advantage of this approach is that you don't have to include any script in your page, and since it's attached using CSS you have the full power of CSS selectors for choosing which elements it applies to. Of course, it only works in Mozilla (for the time being...) | ||||||||||||||||||||||||||||||
| http://lojjic.net/ns/rdf/blog/entry-date | 2004-01-23T11:41:23-07:00 | ||||||||||||||||||||||||||||||
| http://lojjic.net/ns/rdf/blog/entry-title | Accessible Email Obfuscation in XBL | ||||||||||||||||||||||||||||||
| http://lojjic.net/ns/rdf/comments/allow-comments | true | ||||||||||||||||||||||||||||||
| http://lojjic.net/ns/rdf/comments/comments | Anonymous Resource (rdf:nodeID="node13fu3a1uux81"):
| ||||||||||||||||||||||||||||||
| http://purl.org/dc/terms/modified | 1139767943 | ||||||||||||||||||||||||||||||
| http://www.w3.org/1999/02/22-rdf-syntax-ns#type | http://lojjic.net/ns/rdf/blog/Entry | ||||||||||||||||||||||||||||||
| http://www.w3.org/1999/02/22-rdf-syntax-ns#type | http://lojjic.net/ns/rdf/comments/CommentableResource | ||||||||||||||||||||||||||||||
| http://www.w3.org/1999/02/22-rdf-syntax-ns#type | http://www.w3.org/2000/01/rdf-schema#Resource |