サーバーでウイルスに感染するのは非常に厄介なことです。特に、パンダの燃焼香やミュータントウイルスは、コンピューターに潜んでいるだけでなく、すべてのWebファイルにいくつかのIFRAMEを追加して、訪問者を毒殺し続けることができます。これは、急速に広がる方法でもあると思います!
Webページでiframeを削除したい場合は、大変な作業です。
それで、私はそれが少し遊ぶことができることを望んで、そのような小さなツールを書きました。
コードをコピーして、拡張機能としてHTAを使用してローカルに保存してください。次に、ダブルクリックして実行します
コードは次のとおりです。
<html>
<head>
<hta:applicationId = facteriframapp
ApplicationName = "RAP1.0"
border = "ダイアログ" [厚い/dialogwindow/none/thin]
BORDERSTYLE = "raised" [normal/complex/rawised/static/sunken]
キャプション= "はい"
icon = "res/warm.ico"
MaximizeButton = "no"
minimizebutton = "yes"
showitaskbar = "yes"
singleInstance = "はい"
sysmenu = "yes"
version = "1.0"
window -state = "normal"
/>
<metahttp-equiv = "content-type" content = "text/html; charset = gb2312">
<title> inplatediframeapplication </title>
<scriptType = "text/javascript">
window.resizeto(800,520);
varclass = {
create:function(){
returnFunction(){
this.initialize.apply(this、arguments);
}
}
};
var $ = function(sname){returndocument.getElementbyid(sname);}
string.prototype.striptags = function(){
returnthis.replace(/<//?[^>]+>/gi、 '');
};
string.prototype.escapehtml = function(){
vardiv = document.createelement( 'div');
vartext = document.createTextNode(this);
Div.AppendChild(テキスト);
returndiv.innerhtml;