码迷,mamicode.com
首页 >  
搜索关键字:script scriptreplay    ( 23182个结果)
网页前端常见的攻击方式和预防攻击的方法
常见攻击XSS (Cross Site Script) ,跨站脚本攻击。它指的是恶意攻击者往Web页面里插入恶意html代码,当用户浏览该页之时,嵌入的恶意html代码会被执行,从而达到恶意用户的特殊目的。XSS属于被动式的攻击,因为其被动且不好利用,所以许多人常呼略其危害性。但是随着前端技术的不断...
分类:Web程序   时间:2014-09-28 22:26:45    阅读次数:333
[转]AS3的垃圾回收
GC和内存泄露无关垃圾回收,这次是一个被无数人讨论过的传统话题。Action Script使用的是和Java相似的内存管理机制,并不会即时回收废弃对象的内存,而是在特定时间统一执行一次GC(Gabage Collection)操作来释放废弃对象的内存,避免了重复判断是否需要回收产生的性能问题。但要注...
分类:其他好文   时间:2014-09-28 21:03:46    阅读次数:250
Shell编程入门(第二版)(上)
简单的示例Shell程序示例1.#!/bin/bash #This is to show what a shell script looks like echo "Our first example" echo # This inserts an empty line in output. echo "We are currently in the following directory." /b...
分类:其他好文   时间:2014-09-28 20:05:46    阅读次数:266
Javascript:使用jQuery提交Form表单
DEMO说明一切: 1 // this is the id of the form 2 $("#idForm").submit(function() { 3 4 var url = "path/to/your/script.php"; // the script where you han...
分类:编程语言   时间:2014-09-28 11:51:51    阅读次数:240
php过滤html字符
$str?=?preg_replace(?"@<script(.*?)</script>@is",?"",?$str?);? $str?=?preg_replace(?"@<iframe(.*?)</iframe>@is",?"",?$str?);? $str?=?preg_replace(?"@<style(.*?)</style>@is",?"",?...
分类:Web程序   时间:2014-09-27 19:46:00    阅读次数:164
JavaScript事件添加
使用script脚本为网页中的按钮添加时间,起先代码如下 点击这里 在火狐的Debug中document.getElementById("btn").onclick=function(){displayDate()};这一句会报is NULL 的错误,所以需要在脚本出现之前定义按钮,但是脚本...
分类:编程语言   时间:2014-09-27 19:09:00    阅读次数:187
js中获取随机数
<script?language="javascript"> rnd.today=new?Date(); rnd.seed=rnd.today.getTime(); function?rnd()?{ rnd.seed?=?(rnd.seed*9301+49297)?%?233280; return?rnd.seed/(233280.0); }; ???...
分类:Web程序   时间:2014-09-27 16:41:20    阅读次数:172
10.发布
本章应该与rel(4),systools(3)和script(4)。发布的概念当我们已经写了一个或多个应用后,我们可能想创建一个由这些应用和Erlang/OTP应用的一个子集组成的完整系统。要实现这个目的,我们通过创建一个定义在发布中要包含哪些应用的发布资源文件。该发布资源文件是用于生成启动脚本和发...
分类:其他好文   时间:2014-09-27 14:33:59    阅读次数:253
Javasrcipt---HTML中使用Javascript
在HTML中使用Javascript: ———————————————————————————————————————————————————————— 主要内容; 一、<script>元素的使用。 二、嵌入脚本和外部引入脚...
分类:编程语言   时间:2014-09-26 19:42:08    阅读次数:409
Getting http address from text file by awk script
Today , I writed a awk script,it can get http address. The http address only contains number, alphabet,backslash and point. My awk script is following...
分类:其他好文   时间:2014-09-26 02:49:58    阅读次数:196
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!