?

Log in

No account? Create an account
August 29th, 2002 - LiveJournal Development — LiveJournal [entries|archive|friends|userinfo]
LiveJournal Development

[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

August 29th, 2002

userinfo.bml Patch [Aug. 29th, 2002|12:04 pm]
LiveJournal Development
lj_dev
[ex_22dip922]
User's have the option to mangle their email address when it gets displayed on the userinfo.bml page. Basically, this is done by putting the username, the @ and the domain name into a 1 column, 3 row table which can fool some automated harvesting scripts that trawl the internet looking for email address's.

However, By doing this you lose the ability to click on the name and have an email client open up and create a new message with that address in the to: field.
Also, while this method may trick some automated scripts, it is a very trivial system to beat. mart wrote a small perl snippet that extarcted the email address from the page in 8 lines of perl.

So..What I have done is to use javascript to really mangle the email address.

It gives the user the option to click on the address and create a new message to the person. Plus, it the email address is not on the same line, so it adds another "level of protection"

I have tested it and it works quite nice

Example of JavaScript Mangling
The Modified userinfo.bml File
userinfo.bml in diff -u format
link27 comments|post comment

LJ::TM / Bugzilla [Aug. 29th, 2002|03:43 pm]
LiveJournal Development

lj_dev

[idigital]
It's been suggested to us (lj_textmessage) that we use Zilla for LJ::TM. It was also suggested that we use the LJ Libraries component category, although I'm not sure if this is relevant, having looked at bugs posted there. Would this be the correct category, or should a new category be created for LJ::TM?
link7 comments|post comment

navigation
[ viewing | August 29th, 2002 ]
[ go | Previous Day|Next Day ]