码迷,mamicode.com
首页 >  
搜索关键字:here document    ( 26655个结果
事件触发
啥也不说直接上代码function triggerFn(obj,onevent){ var events; // 事件触发 if(ie){ //调用document对象的createEventObject方法得到一个event的对象实例 events =...
分类:其他好文   时间:2014-05-08 18:56:47    阅读次数:299
HttpOnly cookie与跨站点追踪
攻击XSS漏洞的一种有效载荷,就是使用嵌入式JavaScript访问document.cookie属性,截获受害者的会话令牌。HttpOnly cookie是某些浏览器所支持的一种防御机制,许多应用程序使用它防止这种攻击有效载荷执行。当应用程序设定一个cookie时,它可能在Set-Cookie消息...
分类:其他好文   时间:2014-05-08 14:30:50    阅读次数:266
网页挂马大全集 -中国寒龙出品 转载写明出处www.hackerschina.org
一:框架挂马二:js文件挂马首先将以下代码document.write("");保存为xxx.js,则JS挂马代码为三:js变形加密muma.txt可改成任意后缀四:body挂马五:隐蔽挂马top.document.body.innerHTML = top.document.body.innerHT...
分类:Web程序   时间:2014-05-08 14:21:55    阅读次数:362
jQuery实现DIV拖动
New Document button1 button2
分类:Web程序   时间:2014-05-07 16:46:53    阅读次数:370
JavaScript 覆盖document.createElement 方法
最近项目遇到了问题,有个asp.net web程序只能在IE7 运行,现在xp都淘汰了,大家都用IE8-IE11,因此这个web app也需要升级 适应所有IE版本。照成IE版本不兼容的问题主要来致document.createElement方法的调用,如: function addStyleNo(value, cannotDel) {     if (!value) {         v...
分类:编程语言   时间:2014-05-07 15:14:45    阅读次数:497
SVN :This XML file does not appear to have any style information associated with it.
SVN :This XML file does not appear to have any style information associated with it. The document tree is shown below.地址输入错误。尼玛。。。
分类:移动开发   时间:2014-05-07 15:01:54    阅读次数:1113
JavaScript 覆盖document.createElement 方法
最近项目遇到了问题,有个asp.net web程序只能在IE7 运行,现在xp都淘汰了,大家都用IE8-IE11,因此这个web app也需要升级 适应所有IE版本。照成IE版本不兼容的问题主要来致document.createElement方法的调用,如:function addStyleNo(v...
分类:编程语言   时间:2014-05-07 14:34:37    阅读次数:375
HDU 1542 Atlantis 矩形面积并
题目来源:HDU 1542 Atlantis 题意:给你一些矩形(左下角和右上角)求面积 思路:参考here这个超赞的 一看就懂了 #include #include #include #include using namespace std; const int maxn = 210; struct node { double l, r, h; int s, val; nod...
分类:其他好文   时间:2014-05-07 08:59:09    阅读次数:395
FZOJ 1157 Crazy Tea Party
OJ题目:click here~~ 题目分析:1……n按顺序围成一个圈,1与n相邻。交换相邻两个数算1步。至少需要多少步,得到一个逆方向的1……n的圈。 分两半,使用冒泡排序,排成逆序的交换次数之和即为结果。 AC_CODE int f(int n){ return n*(n - 1)/2; } int main(){ int n , t; cin >> t; ...
分类:其他好文   时间:2014-05-06 23:15:55    阅读次数:301
STL 之 queue、priority_queue 源码剖析
G++ 2.91.57,cygnus\cygwin-b20\include\g++\stl_queue.h 完整列表 /* * * Copyright (c) 1994 * Hewlett-Packard Company * * Permission to use, copy, modify, distribute and sell this software * and its document...
分类:其他好文   时间:2014-05-06 22:22:55    阅读次数:402
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!