On Wed, 29 Nov 2006, Stephen Hahn wrote:

>   I think the injected inert tags idea would work, since it preserves
>   Jim's plea for pasteability.  (<span>, not <div>, yes?)  I'll update
>   John's bug.

FWIW, I use the following bit of JavaScript code in my web pages to make
email address "print" OK on screen, but are unharvestable:

<script type="text/javascript">
        var stealth_user = "rich.teer";
        var stealth_domain = "rite-group.com";
        var stealth_recipient = stealth_user + "@" + stealth_domain;
        var stealth_url = "mailto:"; + stealth_recipient;

        document.write (stealth_recipient.link (stealth_url));
</script>

I'm sure the stealth_user and stealth_domain variables can be set
programmatically (I do so in a PHP script) as needed.

Enjoy,

-- 
Rich Teer, SCSA, SCNA, SCSECA, OpenSolaris CAB member

President,
Rite Online Inc.

Voice: +1 (250) 979-1638
URL: http://www.rite-group.com/rich
_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to