
Announcement
Collapse
No announcement yet.
how to prevent from saving from IE
Collapse
X
-
i save a page form ie
it appears something like this:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<SCRIPT>
document.write(unescape("%3Chtml%3E%0D%0A%3Chead%3E%0D%0A%3Cmeta%20http-equiv%3D%22Cache-Control%22%20content%3D%22no-cache%22%3E%0D%0A%3Ctitle%3E%u6B22%u8FCE%u5149%u4E34%20%u2605Top99%u514D%u8D39%u5F71%u97F3%u7A7A%u95 F4%u2605%20%u4E00%u4E2A%u7531%u8D64%u811A%u6C49%u5DE5%u4F5C%u5BA4%u5236%u4F5C%u7684%2C%u5B8C%u5168%u 514D%u8D39%u7684%u7535%u5F71.%u97F3%u4E50.Flash%u52A8%u753B%2C%u5A31%u4E50%u7A7A%u95F4%21%u804A%u592 9%u4EA4%u53CB%2C%u5E38%u7528%u8F6F%u4EF6%u4E0B%u8F7D%2C%u7834%u89E3%2C%u6CE8%u518C%u673A%u7801%2C%u5 14D%u8D39%u8D44%u6E90%2C%u7F51%u9875%u5236%u4F5C%u6559%u6750%2C%u7D20%u6750%2C%u6E90%u4EE3%u7801%2C% u4E2A%u4EBA%u514D%u8D39%u4E3B%u9875%2C%u514D%u8D39%u57DF%u540D%2C%u514D%u8D39%u8BBA%u575B%2C%u684C%u 9762%u80CC%u666F%2C%u5728%u7EBF%u6E38%u620F%2C%u7B11%u8BDD%u5E7D%u9ED8%2C363%u97F3%u4E50%u65F6%u7A7A %2C%u5FC3%u60C5%u9A7F%u7AD9%2C%3C/title%3E%0D%0A%3CLINK%20REL%3D%22SHORTCUT%20ICON%22%20HREF%3D%22http%3A//363.con.cn/favicon.ico%22%3E%0D%0A%3Cframeset%20rows%3D100%25%2C*%20border%3D%270%27%20frameborder%3D%270%27%3E %0D%0A%3Cframe%20src%3D%22vod.htm%22%20name%3D%22ultra%22%3E%0D%0A%3C/frameset%3E%0D%0A%3C/head%3E%0D%0A%3C/html%3E"));
</SCRIPT>
<META content="MSHTML 6.00.2800.1400" name=GENERATOR></HEAD>
<BODY></BODY></HTML>undefine
Comment
-
If you are wondering why it looks that way, it is because the page author did a very simple escape to there code to try and prevent people from seeing there code, although it tricked you it is very easy to reverse that. you could see that decoded by
alert(unescape(" junk ")); I don't want to paste that huge chunk of junk, so just replace the word junk and put that code in a page and you will see the code in an alert (of course you could put that into a textarea or soemthign and view it in a easier to view and copy format.)Kris Hubby
kwhubby site
Comment
Comment