PDA

View Full Version : What's kind of this Script? and How to copy the text?


Dnyt
03-20-2003, 06:34 AM
Hello,

What's kind of Scirpt is this site use? ( http://tamlinh.net/huyen-bi/ma-doi-linh1.html )

When I click on View -> Source, it show in the code something like

<script>
<!--
document.write(unescape("%0D%0A%3C%21--%28c%29%20tamlinh.net--%3E%0D%0A% 0D%0A%0D%0A%0D%0A%3Cscript%3Eif %28frames%29%7Bif%28top.frames.length%3E0%3C/scripta%253c%252ffont%253e%250d%250a%253cbr%253e%250d%250a%253cbr%253e%253cfont%2520s%2569%257a%2565 %253d%22%2531%2522%253e%26copy%20200%2532%2520tamlinh.net%253c%2562r%253e%253cbr%253e%20%250d%250a%2 50d%250a%250d%250a%253c%252ft%2564%253e%253c/tr%253e%250d%250a%253c/t%2561ble%253e%250d%250a%253cbr%253e%250d%250a%250d%250a%250d%250a%250d%250a%253csc%2572%2569pt%20la ng%2575ag%2565%3D%22%254aavaSc%2572i%2570t%2522%253e%250d%250a%253c%21%252d-%250d%250avar%20message%3D%2522Tha%256e%256%3E"));
//-->
</script>

How come I can't open the .html file when I save it to my local hard drive?

Anyone, know what's kind of this Script, and how can we copy the text in that site?

Thanks.

A1ien51
03-20-2003, 07:28 AM
lol, this person went to alot of trouble for nothing. Have no clue what it actually says, so I will just tell ou how to do it, so I do not get in trouble by whoever went to all of this trouble to hide there info.

The page gets unescaped, not just once, but twice, with a page url detection and can not forget about the mouse button detection and oh the three onselect tags on each of the um 4 body tags!

What I did was this:
Save the code.
Remove the onselect from the body tag,
Set the code to unescape to a text area
Grab the next unescape code from the text area

do the same thing again and you get your code
you probably have to document.write it to a new window to select the actuall text if needed.

Will I give you the code.....nope
Maybe someone else here would be nice enough to do it.
A1ien51

You can also find a browser that does not support onselect and get it that way too!