sinawear

导航

URL编码: JS: .reg脚本文件 res协议

URL编码:

%61%62%63     对应于ASCII值为: ‘abc’

参看:http://www.w3school.com.cn/tags/html_ref_urlencode.html

 

JS:

<script type="text/javascript" language="javascript">
function fuc()
{
alert("HELLO");
}
fuc();
</script>

保存文件后缀为网页格式, 可以直接运行.

 

.reg脚本文件
%systemroot%或%Windir% 相当于C:\WINDOWS

@与echo off相象,但它是加在每个命令行的最前面,表示运行时不显示这一行的命令行
在批处理文件中表示变量符号用%%;


res协议
res://d:\res协议查看资源内容.dll /2/1000 (查看DLL中的位图)
文件名:res协议查看资源内容.dll, 访问地址:http://www.kuaipan.cn/file/id_63139201821966352.htm

#define RT_CURSOR MAKEINTRESOURCE(1)
#define RT_BITMAP MAKEINTRESOURCE(2)
#define RT_ICON  MAKEINTRESOURCE(3)
#define RT_MENU  MAKEINTRESOURCE(4)
#define RT_DIALOG MAKEINTRESOURCE(5)
#define RT_STRING  MAKEINTRESOURCE(6)
#define RT_FONTDIR MAKEINTRESOURCE(7)
#define RT_FONT  MAKEINTRESOURCE(8)
#define RT_ACCELERATOR MAKEINTRESOURCE(9)
#define RT_RCDATA MAKEINTRESOURCE(10)
#define RT_MESSAGETABLE MAKEINTRESOURCE(11)
#define RT_VERSION MAKEINTRESOURCE(16)
#define RT_DLGINCLUDE   MAKEINTRESOURCE(17)
#define RT_PLUGPLAY     MAKEINTRESOURCE(19)
#define RT_VXD          MAKEINTRESOURCE(20)
#define RT_ANICURSOR    MAKEINTRESOURCE(21)
#define RT_ANIICON      MAKEINTRESOURCE(22)
#define RT_HTML         MAKEINTRESOURCE(23)

参考资料:http://cache.baidu.com/c?m=9d78d513d98316ee4fece4690c65c066684380122bd6a00209d6843be5732d415011e8af60624e0b89833a2516ae3a41f7ae6738200357e6cad59f4ba9e08529598b22307b&p=8b2a9001cd8b05ff57ee9578455c85&newp=8b2a9015d9c040a934add625524181231610db2151d4d6&user=baidu&fm=sc&query=res%3A//+%D0%AD%D2%E9&qid=&p1=5

posted on 2013-01-01 18:54  sinawear  阅读(951)  评论(0编辑  收藏  举报