window.alert = function (obj) {
	var iframe = document.createElement('iframe');
	iframe.src = 'javascript:void(0);'
	document.body.appendChild(iframe)
	iframe.contentWindow.alert(obj);
	iframe.parentNode.removeChild(iframe);
}

window.hugo={}
window.hugo.iframes=[]
let iframes=window.hugo.iframes;
var openIframe=function(html,body){
	// 1. 创建<iframe>元素
	var ifr = document.createElement('iframe');
//	// 2. 将CSS,HTML字符串转换为Blob对象
//	var blob = new Blob([html], {
//	  'type': 'text/html'
//	});
//	// 3. 使用URL.createObjectURL()方法将...
//	iframe.src = URL.createObjectURL(blob);
	body.innerHTML = "";
	body.appendChild(ifr);
	var ifrw = (ifr.contentWindow) ? ifr.contentWindow: (ifr.contentDocument.document) ? ifr.contentDocument.document: ifr.contentDocument;
	ifrw.document.open();
	ifrw.document.write(html);
	ifrw.document.close();
	//console.log(x)
}
//开启页面html
{

    let xx = $("#cnblogs_post_body,.cnblogs-post-body").find("[data-type=html]");
    let xxx = [];
    for (let x of xx) {
        xxx.push(x.innerText)
    };
    xx.remove();
    let URL = window.URL || window.webkitURL;
    for (let x of xxx) {
		//openIframe(x,document.body)
		iframes.push(x);
    };
}

摘要: $.ajax({ type: "GET", url: "https://upload.cnblogs.com/imageuploader/upload?host=www.cnblogs.com&editor=0", xhrFields: { withCredentials: true // 携带跨域cookie }, processDat... 阅读全文
posted @ 2019-04-17 20:16 离线云 阅读(431) 评论(0) 推荐(0) 编辑
摘要: xx <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=dev 阅读全文
posted @ 2019-04-17 07:40 离线云 阅读(259) 评论(2) 推荐(0) 编辑
摘要: 线路1 线路2 线路3 线路4 立即播放 阅读全文
posted @ 2019-04-17 06:34 离线云 阅读(2504) 评论(2) 推荐(1) 编辑
摘要: html 转 text text 转 html 阅读全文
posted @ 2019-04-17 03:27 离线云 阅读(830) 评论(0) 推荐(0) 编辑
摘要: powershell $env:HTTPS_PROXY="http://127.0.0.1:1080" $env:HTTP_PROXY="http://127.0.0.1:1080" cmd set http_proxy=http://127.0.0.1:1080 set https_proxy=h 阅读全文
posted @ 2019-04-17 01:07 离线云 阅读(881) 评论(0) 推荐(0) 编辑