Tip: you can modify some code before running
Js filter sensitive html tag code<html xmlns="http://www.111cn.net/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312" /><title>Js filter sensitive html tag code</title><script language="javascript">Function unhtmlspecialchars (str) {f = new Array (/</g,/>/g,/"/g,/&/g ); r = new Array ('<', '>', '"', '&'); for (var I = 0; I <f. length; I ++) {str = str. replace (f [I], r [I]);} return str;} function htmlspecialchars (str) {var f = new Array (new RegExp ('&', 'G'), new RegExp ('<', 'g'), new RegExp ('>', 'g'), new RegExp ('"', 'G'); var r = new Array ('&', '<', '>', '"'); for (var I = 0; I <f. length; I ++) {str = str. replace (f [I], r [I]);} return str;} function isabc () {var str = myfm. textarea. value; document. getElementById ('Ed '). innerHTML = unhtmlspecialchars (str );}</script></head><body><form id="form1" name="myfm" method="post" action=""> <label> <textarea name="textarea" cols="40" rows="7">
Tip: you can modify some code before running