var htmldome = '<!doctype html>' + wrap + '<html lang="en">' + wrap + '<head>' + wrap + '<meta set="utf8">' + wrap + '<meta httpequiv="xuacompatible" content="ie=edge">' + wrap + '<meta name="viewpt" content="width=devicewidth, initialscale=1">' + wrap + '<meta name="descripttion" content="">' + wrap + '<meta name="keywds" content="">' + wrap + '<link rel="stylesheet" href="http://cdn.bootcss.com/bootstrap/3.3.0/css/bootstrap.min.css">' + wrap + '<![if lt ie 9]>' + wrap + '<scriptt src="js/html5shiv.js"></scriptt>' + wrap + '<scriptt src="js/respond.min.js"></scriptt>' + wrap + '<![endif]>' + wrap + '</head>' + wrap + '<body>' + allhtmlcontent + '</body> ' + wrap + '</html>';
var objectname = 'index.html';
var blob = new blob(htmldome, {
type: "text/plain;set=utf8"
});
saveas(blob, objectname);这样无法保存吗