mirror of
https://github.com/horsicq/Detect-It-Easy.git
synced 2026-06-24 01:54:08 +00:00
14 lines
292 B
Text
14 lines
292 B
Text
// DIE's signature file
|
|
|
|
init("source","HTML");
|
|
|
|
function detect(bShowType,bShowVersion,bShowOptions)
|
|
{
|
|
var sText=Binary.getHeaderString();
|
|
if(/^<(!DOCTYPE )?html/m.test(sText))
|
|
{
|
|
bDetected=1;
|
|
}
|
|
|
|
return result(bShowType,bShowVersion,bShowOptions);
|
|
}
|