Forum Moderators: open

Message Too Old, No Replies

Something strange on our pc

Thinking that im being spied on...

         

v1000

6:44 pm on Apr 1, 2009 (gmt 0)

10+ Year Member



On our computer at work we got the following js sniplet:

<script language='JavaScript' type='text/javascript'><!--var prefix 'ma' 'il' 'to'; var path 'hr' 'ef'; var addy43442 'j.smith' '@' 'webname' '.' 'com'; document.write('<a 'path'/" prefix ':' addy43442'/'>');docume...

I do not have the full code, I had to write it on a piece of paper and retype it here. I suspect they are spying on my friend (from his pc). Could this be the case? Can someone make any sense of it?

Thanks for any info on this.

p.s. I changed the names in the snipplet for privacy reasons. The variables I changed are:
--> j.smith
--> webname

stajer

7:50 pm on Apr 1, 2009 (gmt 0)

10+ Year Member



The snippet you posted adds a link to whatever webpage is being viewed. The link is a "mailto" type link - clicking it opens an email message with your friends email in the "to" field. You would need to provide the entire js snippet for us to see exactly what it is doing.

whoisgregg

9:53 pm on Apr 1, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to WebmasterWorld, v1000!

That script looks like it just obfuscates the contact email address. Because email harvesters can read plain text email addresses to build a database of spam targets, many webmasters will use javascript to try to confuse the email harvesters.

If that's all the snippet does, it's harmless. They may still be spying on your friend, but they aren't doing it with that bit of javascript. ;)

astupidname

12:52 am on Apr 2, 2009 (gmt 0)

10+ Year Member



they aren't doing it with that bit of javascript.

Yeah, they certainly would not be doing any type of spying using document.write(), so nothing at all to worry about!