主頁 > 前端設計 > PMP 結合代碼報名經驗總結

PMP 結合代碼報名經驗總結

2021-04-14 11:03:20 前端設計

PMP 結合代碼報名經驗總結

  • 1.注意事項
  • 2.開始報名
    • 2.1登錄
    • 2.2登錄成功
    • 2.3 承諾書
    • 2.4 確認承諾書
    • 2.5 確認個人資料
    • 2.6 填寫報名資訊
    • 2.7 完成報名錯誤提示應對
    • 2.8 在F12 的network 中查看狀態
    • 2.9 確認報名成功
    • 3.關鍵代碼
      • 3.1登錄時在 console中使用的代碼
      • 3.2 提交程序中提示找不到User或者Examsign的代碼

1.注意事項

  • 一定要使用 Chrome 瀏覽器,一定要使用 Chrome 瀏覽器,一定要使用 Chrome 瀏覽器,
  • 多打開一些 tab,多打開一些 tab,多打開一些 tab,多打開一些 tab,多打開一些 tab,
  • 如果你感覺沒有用,請不要放棄,因為這是一次非尋常的報名體驗,可以罵娘!!!
  • 打開 console 觀看提示,及時補入代碼干預,

2.開始報名

2.1登錄

http://exam.chinapmp.cn/,我打開了 5 個 tab,只有一個 tab 有加載出來的跡象,
在這里插入圖片描述
記得把代碼放入到console中,一定要按回車后,再點擊那個空白按鈕,這樣多嘗試幾次
代碼在文末的登錄代碼中拿去直接使用,

在這里插入圖片描述

2.2登錄成功

登錄成功后,會有一個顯示用戶資訊的界面
在這里插入圖片描述

2.3 承諾書

直接另開tab打開防疫協議界面http://user.chinapmp.cn/examsign;info.shtml
一定要多打開幾個 tab,開個三五個,總有一個會加載出來的,不要著急,慢慢等待
要有倒計時,才算是加載成功的,等計時結束點擊確認
在這里插入圖片描述

2.4 確認承諾書

如果點擊我已閱讀同意簽署,沒有反映,或者報錯 提示找不到User或者Examsign

提示找不到User或者Examsign 把代碼加入到 console 中,回車
代碼在文末的User或者Examsign對應代碼中拿去直接使用,
在這里插入圖片描述

2.5 確認個人資料

我已閱讀同意簽署,確認個人資料
在這里插入圖片描述

2.6 填寫報名資訊

填寫報名資訊
如果上面的下一步沒有反映,
直接在新的tab 打開http://user.chinapmp.cn/examsign;sign.shtml 填寫報名資訊
在這里插入圖片描述

2.7 完成報名錯誤提示應對

如果程序中有提示找不到User或者Examsign一定要在console中輸入對應代碼腳本,回車后,再按“完成報名按鈕”
在這里插入圖片描述

2.8 在F12 的network 中查看狀態

在 network 中,可以查看提交狀態,我是提交了第十三次時,才顯示報名成功,
在這里插入圖片描述

2.9 確認報名成功

報名成功后查看
在這里插入圖片描述

3.關鍵代碼

3.1登錄時在 console中使用的代碼

這些代碼,要在F12后在console中輸入并回車后,再繼續操作

/*
* *********************************************************
* UNEXT.AjaxScript
* Copyright (C) 2010 Wang Zhuo (http://ajax.unext.net).
* All rights reserved.
* Email : wz@unext.net
* *********************************************************
*/
if (typeof NET == "undefined") NET = {};
if (typeof NET.UNEXT == "undefined") NET.UNEXT = {};
if (typeof NET.UNEXT.extend == "undefined") NET.UNEXT.extend = function(a, b, c) { for (var d in b) { if (c == false && a[d] != null) { continue } a[d] = b[d] } return a; };
NET.UNEXT.extend(Function.prototype, { apply: function(o, a) { var r, x = "__fapply"; if (typeof o != "NET.UNEXT") { o = {} } o[x] = this; var s = "r = o." + x + "("; for (var i = 0; i < a.length; i++) { if (i > 0) { s += "," } s += "a[" + i + "]" } s += ");"; eval(s); delete o[x]; return r }, bind: function(o) { if (!Function.__objs) { Function.__objs = []; Function.__funcs = [] } var a = o.__oid; if (!a) { Function.__objs[a = o.__oid = Function.__objs.length] = o } var b = this; var c = b.__fid; if (!c) { Function.__funcs[c = b.__fid = Function.__funcs.length] = b } if (!o.__closures) { o.__closures = [] } var d = o.__closures[c]; if (d) { return d } o = null; b = null; return Function.__objs[a].__closures[c] = function() { return Function.__funcs[c].apply(Function.__objs[a], arguments) } } }, false);
NET.UNEXT.extend(Array.prototype, { push: function(o) { this[this.length] = o }, addRange: function(a) { if (a.length > 0) { for (var i = 0; i < a.length; i++) { this.push(a[i]) } } }, clear: function() { this.length = 0; return this }, shift: function() { if (this.length == 0) { return null } var o = this[0]; for (var i = 0; i < this.length - 1; i++) { this[i] = this[i + 1] } this.length--; return o } }, false);
NET.UNEXT.extend(String.prototype, { trimLeft: function() { return this.replace(/^\s*/, "") }, trimRight: function() { return this.replace(/\s*$/, "") }, trim: function() { return this.trimRight().trimLeft() }, endsWith: function(s) { if (this.length == 0 || this.length < s.length) { return false } return (this.substr(this.length - s.length) == s) }, startsWith: function(s) { if (this.length == 0 || this.length < s.length) { return false } return (this.substr(0, s.length) == s) }, split: function(c) { var a = []; if (this.length == 0) return a; var p = 0; for (var i = 0; i < this.length; i++) { if (this.charAt(i) == c) { a.push(this.substring(p, i)); p = ++i } } a.push(s.substr(p)); return a } }, false);
NET.UNEXT.extend(String, { format: function(s) { for (var i = 1; i < arguments.length; i++) { s = s.replace("{" + (i - 1) + "}", arguments[i]) } return s }, isNullOrEmpty: function(s) { if (s == null || s.length == 0) { return true } return false } }, false);
if (typeof NET.UNEXT.addEvent == "undefined") { NET.UNEXT.addEvent = function(o, a, f, b) { if (o == null) { return false } if (o.addEventListener) { o.addEventListener(a, f, b); return true } else if (o.attachEvent) { var r = o.attachEvent("on" + a, f); return r } else { try { o["on" + a] = f } catch (e) { } } } }
if (typeof NET.UNEXT.removeEvent == "undefined") { NET.UNEXT.removeEvent = function(o, a, f, b) { if (o == null) { return false } if (o.removeEventListener) { o.removeEventListener(a, f, b); return true } else if (o.detachEvent) { o.detachEvent("on" + a, f) } else { try { o["on" + a] = function() { } } catch (e) { } } } }
NET.UNEXT.extend(Function.prototype, { getArguments: function() { var a = []; for (var i = 0; i < this.arguments.length; i++) { a.push(this.arguments[i]) } return a } }, false);
var MS = { "Browser": {} };
NET.UNEXT.extend(MS.Browser, { isIE: navigator.userAgent.indexOf('MSIE') != -1, isFirefox: navigator.userAgent.indexOf('Firefox') != -1, isOpera: window.opera != null }, false);
if (typeof NET.UNEXT.Ajax == "undefined") NET.UNEXT.Ajax = {};
NET.UNEXT.Ajax.IFrameXmlHttp = function() { };
NET.UNEXT.Ajax.IFrameXmlHttp.prototype = { onreadystatechange: null, headers: [], method: "POST", url: null, async: true, iframe: null, status: 0, readyState: 0, responseText: null, abort: function() { }, readystatechanged: function() { var a = this.iframe.contentDocument || this.iframe.document; if (a != null && a.readyState == "complete" && a.body != null && a.body.res != null) { this.status = 200; this.statusText = "OK"; this.readyState = 4; this.responseText = a.body.res; this.onreadystatechange(); return } setTimeout(this.readystatechanged.bind(this), 10) }, open: function(a, b, c) { if (c == false) { alert("Synchronous call using IFrameXMLHttp is not supported."); return } if (this.iframe == null) { var d = "hans"; if (document.createElement && document.documentElement && (window.opera || navigator.userAgent.indexOf('MSIE 5.0') == -1)) { var e = document.createElement('iframe'); e.setAttribute('id', d); e.style.visibility = 'hidden'; e.style.position = 'absolute'; e.style.width = e.style.height = e.borderWidth = '0px'; this.iframe = document.getElementsByTagName('body')[0].appendChild(e) } else if (document.body && document.body.insertAdjacentHTML) { document.body.insertAdjacentHTML('beforeEnd', '<iframe name="' + d + '" id="' + d + '" style="border:1px solid black;display:none"></iframe>') } if (window.frames && window.frames[d]) { this.iframe = window.frames[d] } this.iframe.name = d; this.iframe.document.open(); this.iframe.document.write("<" + "html><" + "body></" + "body></" + "html>"); this.iframe.document.close() } this.method = a; this.url = b; this.async = c }, setRequestHeader: function(a, b) { for (var i = 0; i < this.headers.length; i++) { if (this.headers[i].name == a) { this.headers[i].value = b; return } } this.headers.push({ "name": a, "value": b }) }, getResponseHeader: function(a, b) { return null }, addInput: function(a, b, c, d) { var e; var f = "input"; if (d.indexOf("\n") >= 0) { f = "textarea" } if (a.all) { e = a.createElement("<" + f + " name=\"" + c + "\" />") } else { e = a.createElement(f); e.setAttribute("name", c) } e.setAttribute("value", d); b.appendChild(e); e = null }, send: function(a) { if (this.iframe == null) { return } var b = this.iframe.contentDocument || this.iframe.document; var c = b.createElement("form"); b.body.appendChild(c); c.setAttribute("action", this.url); c.setAttribute("method", this.method); c.setAttribute("enctype", "application/x-www-form-urlencoded"); for (var i = 0; i < this.headers.length; i++) { switch (this.headers[i].name.toLowerCase()) { case "content-length": case "accept-encoding": case "content-type": break; default: this.addInput(b, c, this.headers[i].name, this.headers[i].value) } } this.addInput(b, c, "NET_UNEXT_Ajax_Data", a); c.submit(); setTimeout(this.readystatechanged.bind(this), 0) } };
var progids = ["Msxml2.XMLHTTP.6.0", "Msxml2.XMLHTTP.3.0", "MSXML2.XMLHTTP", "Microsoft.XMLHTTP"];
var progid = null;
if (typeof ActiveXObject != "undefined") { var ie7xmlhttp = false; if (typeof XMLHttpRequest == "object") { try { var o = new XMLHttpRequest(); ie7xmlhttp = true } catch (e) { } } if (typeof XMLHttpRequest == "undefined" || !ie7xmlhttp) { XMLHttpRequest = function() { var a = null; if (!NET.UNEXT.Ajax.noActiveX) { if (progid != null) { return new ActiveXObject(progid) } for (var i = 0; i < progids.length && a == null; i++) { try { a = new ActiveXObject(progids[i]); progid = progids[i] } catch (e) { } } } if (a == null && MS.Browser.isIE) { return new NET.UNEXT.Ajax.IFrameXmlHttp() } return a } } }
NET.UNEXT.extend(NET.UNEXT.Ajax, { noOperation: function() { }, onl oading: function() { }, one rror: function() { }, onTimeout: function() { return true }, onStateChanged: function() { }, cryptProvider: null, queue: null, token: "", version: "10.6.0.11", ID: "UNEXT.Ajax", noActiveX: false, timeoutPeriod: 60 * 60 * 1000, queue: null, UtcOffset: "+0800", noUtcTime: false, regExDate: function(a, b, c, d, s) { a = a.substring(1).replace('"', ''); var e = a; if (a.substring(0, 7) == "\\\/Date(") { a = a.match(/Date\((.*?)\)/)[1]; e = "new Date(" + parseInt(a) + ")" } else { var f = a.split(/[-,:,T,Z]/); f[1] = (parseInt(f[1], 0) - 1).toString(); e = "new Date(Date.UTC(" + f.join(",") + "))" } return e }, parse: function(a) { var b = /(\"\d{4}-\d{2}-\d{2}T\d{2}:\d{2}.*?\")|(\"\\\/Date\(.*?\)\\\/")/g; a = a.replace(b, this.regExDate); return eval('(' + a + ')') }, m: { '\b': '\\b', '\t': '\\t', '\n': '\\n', '\f': '\\f', '\r': '\\r', '"': '\\"', '\\': '\\\\' }, toJSON: function(o) { if (o == null) { return "null" } var v = []; var i; var c = o.constructor; if (c == Number) { return isFinite(o) ? o.toString() : NET.UNEXT.Ajax.toJSON(null) } else if (c == Boolean) { return o.toString() } else if (c == String) { if (/["\\\x00-\x1f]/.test(o)) { o = o.replace(/([\x00-\x1f\\"])/g, function(a, b) { var c = NET.UNEXT.Ajax.m[b]; if (c) { return c } c = b.charCodeAt(); return '\\u00' + Math.floor(c / 16).toString(16) + (c % 16).toString(16) }) } return '"' + o + '"' } else if (c == Array) { for (i = 0; i < o.length; i++) { v.push(NET.UNEXT.Ajax.toJSON(o[i])) } return "[" + v.join(",") + "]" } else if (c == Date) { return NET.UNEXT.Ajax.toJSON("/Date(" + new Date(Date.UTC(o.getUTCFullYear(), o.getUTCMonth(), o.getUTCDate(), o.getUTCHours(), o.getUTCMinutes(), o.getUTCSeconds(), o.getUTCMilliseconds())).getTime() + NET.UNEXT.Ajax.UtcOffset + ")/") } if (typeof o.toJSON == "function") { return o.toJSON() } if (typeof o == "object") { for (var d in o) { if (typeof o[d] != "function") { v.push('{"Name":"' + d + '","Value":' + NET.UNEXT.Ajax.toJSON(o[d]) + "}") } } if (v.length > 0) { return "{\"JSON_DATA\":[" + v.join(",") + "]}" } return "{\"JSON_DATA\":[]}" } return o.toString() }, dispose: function() { if (NET.UNEXT.Ajax.queue != null) { NET.UNEXT.Ajax.queue.dispose() } } }, false);
NET.UNEXT.addEvent(window, "unload", NET.UNEXT.Ajax.dispose);
NET.UNEXT.Ajax.Request = function(a) { this.url = a; this.xmlHttp = null };
NET.UNEXT.Ajax.Request.prototype = { url: null, callback: null, onl oading: null, one rror: null, onTimeout: null, onStateChanged: null, args: null, context: null, isRunning: false, abort: function() { if (this.timeoutTimer != null) { clearTimeout(this.timeoutTimer) } if (this.xmlHttp) { this.xmlHttp.onreadystatechange = NET.UNEXT.Ajax.noOperation; this.xmlHttp.abort() } if (this.isRunning) { this.isRunning = false; this.onLoading(false) } }, dispose: function() { this.abort() }, getEmptyRes: function() { return { error: null, value: null, request: { method: this.method, args: this.args }, context: this.context, duration: this.duration} }, endRequest: function(a) { this.abort(); if (a.error != null) { this.onError(a.error, this) } if (typeof this.callback == "function") { this.callback(a, this) } }, mozerror: function() { if (this.timeoutTimer != null) { clearTimeout(this.timeoutTimer) } var a = this.getEmptyRes(); a.error = { Message: "Unknown", Type: "ConnectFailure", Status: 0 }; this.endRequest(a) }, doStateChange: function() { this.onStateChanged(this.xmlHttp.readyState, this); if (this.xmlHttp.readyState != 4 || !this.isRunning) { return } this.duration = new Date().getTime() - this.__start; if (this.timeoutTimer != null) { clearTimeout(this.timeoutTimer) } var a = this.getEmptyRes(); if (this.xmlHttp.status == 200 && this.xmlHttp.statusText == "OK") { a = this.createResponse(a) } else { a = this.createResponse(a, true); a.error = { Message: this.xmlHttp.statusText, Type: "ConnectFailure", Status: this.xmlHttp.status} } this.endRequest(a) }, createResponse: function(r, a) { if (!a) { if (typeof (this.xmlHttp.responseText) == "unknown") { r.error = { Message: "XmlHttpRequest error reading property responseText.", Type: "XmlHttpRequestException" }; return r } var b = "" + this.xmlHttp.responseText; if (NET.UNEXT.Ajax.cryptProvider != null && typeof NET.UNEXT.Ajax.cryptProvider.decrypt == "function") { b = NET.UNEXT.Ajax.cryptProvider.decrypt(b) } if (this.xmlHttp.getResponseHeader("Content-Type") == "text/xml") { r.value = this.xmlHttp.responseXML } else { if (b != null && b.trim().length > 0) { r.json = b; var v = null; v = NET.UNEXT.Ajax.parse(b); if (v != null) { if (typeof v.value != "undefined") r.value = v.value; else if (typeof v.error != "undefined") r.error = v.error } } } } return r }, timeout: function() { this.duration = new Date().getTime() - this.__start; try { if (this.onTimeout != null && typeof (this.onTimeout) != "undefined" && this.onTimeout) { var r = this.onTimeout(this.duration, this); if (typeof r == "undefined" || r != false) { this.abort() } else { this.timeoutTimer = setTimeout(this.timeout.bind(this), NET.UNEXT.Ajax.timeoutPeriod) } } } catch (e) { } finally { } }, invoke: function(a, b, c, d) { this.__start = new Date().getTime(); this.xmlHttp = new XMLHttpRequest(); this.isRunning = true; this.method = a; this.args = b; this.callback = c; this.context = d; var f = typeof (c) == "function" && c != NET.UNEXT.Ajax.noOperation; if (f) { if (MS.Browser.isIE) { this.xmlHttp.onreadystatechange = this.doStateChange.bind(this) } else { this.xmlHttp.onload = this.doStateChange.bind(this); this.xmlHttp.onerror = this.mozerror.bind(this) } this.onLoading(true) } var g = NET.UNEXT.Ajax.toJSON(b) + ""; if (NET.UNEXT.Ajax.cryptProvider != null && typeof NET.UNEXT.Ajax.cryptProvider.encrypt == "function") { g = NET.UNEXT.Ajax.cryptProvider.encrypt(g) } this.xmlHttp.open("POST", this.url, f); this.xmlHttp.setRequestHeader("Content-Type", "text/plain; charset=utf-8"); this.xmlHttp.setRequestHeader("X-" + NET.UNEXT.Ajax.ID + "-Method", a); if (NET.UNEXT.Ajax.token != null && NET.UNEXT.Ajax.token.length > 0) { this.xmlHttp.setRequestHeader("X-" + NET.UNEXT.Ajax.ID + "-Token", NET.UNEXT.Ajax.token) } this.timeoutTimer = setTimeout(this.timeout.bind(this), NET.UNEXT.Ajax.timeoutPeriod); try { this.xmlHttp.send(g) } catch (e) { } if (!f) { return this.createResponse({ error: null, value: null }) } return true } };
NET.UNEXT.Ajax.RequestQueue = function(b) { this.queue = []; this.requests = []; this.timer = null; if (isNaN(b)) { b = 2 } for (var i = 0; i < b; i++) { this.requests[i] = new NET.UNEXT.Ajax.Request(); this.requests[i].callback = function(a) { var r = a.context; a.context = r[3][1]; r[3][0](a, this) }; this.requests[i].callbackHandle = this.requests[i].callback.bind(this.requests[i]) } this.processHandle = this.process.bind(this) };
NET.UNEXT.Ajax.RequestQueue.prototype = { process: function() { this.timer = null; if (this.queue.length == 0) { return } for (var i = 0; i < this.requests.length && this.queue.length > 0; i++) { if (this.requests[i].isRunning == false) { var r = this.queue.shift(); this.requests[i].url = r[0]; this.requests[i].onLoading = r[3].length > 2 && r[3][2] != null && typeof r[3][2] == "function" ? r[3][2] : NET.UNEXT.Ajax.onLoading; this.requests[i].onError = r[3].length > 3 && r[3][3] != null && typeof r[3][3] == "function" ? r[3][3] : NET.UNEXT.Ajax.onError; this.requests[i].onTimeout = r[3].length > 4 && r[3][4] != null && typeof r[3][4] == "function" ? r[3][4] : NET.UNEXT.Ajax.onTimeout; this.requests[i].onStateChanged = r[3].length > 5 && r[3][5] != null && typeof r[3][5] == "function" ? r[3][5] : NET.UNEXT.Ajax.onStateChanged; this.requests[i].invoke(r[1], r[2], this.requests[i].callbackHandle, r); r = null } } if (this.queue.length > 0 && this.timer == null) { this.timer = setTimeout(this.processHandle, 0) } }, add: function(a, b, c, e) { this.queue.push([a, b, c, e]); if (this.timer == null) { this.timer = setTimeout(this.processHandle, 0) } }, abort: function() { this.queue.length = 0; if (this.timer != null) { clearTimeout(this.timer) } this.timer = null; for (var i = 0; i < this.requests.length; i++) { if (this.requests[i].isRunning == true) { this.requests[i].abort() } } }, dispose: function() { for (var i = 0; i < this.requests.length; i++) { var r = this.requests[i]; r.dispose() } this.requests.clear() } };
NET.UNEXT.Ajax.queue = new NET.UNEXT.Ajax.RequestQueue(2);
NET.UNEXT.Ajax.AjaxClass = function(a) { this.url = a };
NET.UNEXT.Ajax.AjaxClass.prototype = { invoke: function(a, b, e) { if (e != null) { if (e.length != 6) { for (; e.length < 6; ) { e.push(null) } } if (e[0] != null && typeof (e[0]) == "function") { return NET.UNEXT.Ajax.queue.add(this.url, a, b, e) } } var r = new NET.UNEXT.Ajax.Request(); r.url = this.url; return r.invoke(a, b) } };
NET.UNEXT.Ajax.token = "1e06545c.8AA616C2CAB680DFDB6C9AFE89CE9199";
NET.UNEXT.Ajax.UtcOffset = "+0800";

if(typeof SHOW == "undefined"){ SHOW={}; }
if(typeof SHOW.Ajax == "undefined"){ SHOW.Ajax={}; }
if(typeof SHOW.Ajax.Exam == "undefined"){ SHOW.Ajax.Exam={}; }
if(typeof SHOW.Ajax.Exam.Login_class == "undefined"){ SHOW.Ajax.Exam.Login_class={}; }
SHOW.Ajax.Exam.Login_class = function() {};
NET.UNEXT.extend(SHOW.Ajax.Exam.Login_class.prototype, NET.UNEXT.extend(new NET.UNEXT.Ajax.AjaxClass(), {
	Save: function(uType, uName, uPass) {
		return this.invoke("Save", {"uType":uType, "uName":uName, "uPass":uPass}, this.Save.getArguments().slice(3));
	},
	url: '/App_Ajax/SHOW.Ajax.Exam.Login,SHOW.Ajax.ajax?domain=exam'
}, false), false);
SHOW.Ajax.Exam.Login = new SHOW.Ajax.Exam.Login_class();

3.2 提交程序中提示找不到User或者Examsign的代碼

這些代碼,要在F12后在console中輸入并回車后,再繼續操作

/*
* *********************************************************
* UNEXT.AjaxScript
* Copyright (C) 2010 Wang Zhuo (http://ajax.unext.net).
* All rights reserved.
* Email : wz@unext.net
* *********************************************************
*/
if (typeof NET == "undefined") NET = {};
if (typeof NET.UNEXT == "undefined") NET.UNEXT = {};
if (typeof NET.UNEXT.extend == "undefined") NET.UNEXT.extend = function(a, b, c) { for (var d in b) { if (c == false && a[d] != null) { continue } a[d] = b[d] } return a; };
NET.UNEXT.extend(Function.prototype, { apply: function(o, a) { var r, x = "__fapply"; if (typeof o != "NET.UNEXT") { o = {} } o[x] = this; var s = "r = o." + x + "("; for (var i = 0; i < a.length; i++) { if (i > 0) { s += "," } s += "a[" + i + "]" } s += ");"; eval(s); delete o[x]; return r }, bind: function(o) { if (!Function.__objs) { Function.__objs = []; Function.__funcs = [] } var a = o.__oid; if (!a) { Function.__objs[a = o.__oid = Function.__objs.length] = o } var b = this; var c = b.__fid; if (!c) { Function.__funcs[c = b.__fid = Function.__funcs.length] = b } if (!o.__closures) { o.__closures = [] } var d = o.__closures[c]; if (d) { return d } o = null; b = null; return Function.__objs[a].__closures[c] = function() { return Function.__funcs[c].apply(Function.__objs[a], arguments) } } }, false);
NET.UNEXT.extend(Array.prototype, { push: function(o) { this[this.length] = o }, addRange: function(a) { if (a.length > 0) { for (var i = 0; i < a.length; i++) { this.push(a[i]) } } }, clear: function() { this.length = 0; return this }, shift: function() { if (this.length == 0) { return null } var o = this[0]; for (var i = 0; i < this.length - 1; i++) { this[i] = this[i + 1] } this.length--; return o } }, false);
NET.UNEXT.extend(String.prototype, { trimLeft: function() { return this.replace(/^\s*/, "") }, trimRight: function() { return this.replace(/\s*$/, "") }, trim: function() { return this.trimRight().trimLeft() }, endsWith: function(s) { if (this.length == 0 || this.length < s.length) { return false } return (this.substr(this.length - s.length) == s) }, startsWith: function(s) { if (this.length == 0 || this.length < s.length) { return false } return (this.substr(0, s.length) == s) }, split: function(c) { var a = []; if (this.length == 0) return a; var p = 0; for (var i = 0; i < this.length; i++) { if (this.charAt(i) == c) { a.push(this.substring(p, i)); p = ++i } } a.push(s.substr(p)); return a } }, false);
NET.UNEXT.extend(String, { format: function(s) { for (var i = 1; i < arguments.length; i++) { s = s.replace("{" + (i - 1) + "}", arguments[i]) } return s }, isNullOrEmpty: function(s) { if (s == null || s.length == 0) { return true } return false } }, false);
if (typeof NET.UNEXT.addEvent == "undefined") { NET.UNEXT.addEvent = function(o, a, f, b) { if (o == null) { return false } if (o.addEventListener) { o.addEventListener(a, f, b); return true } else if (o.attachEvent) { var r = o.attachEvent("on" + a, f); return r } else { try { o["on" + a] = f } catch (e) { } } } }
if (typeof NET.UNEXT.removeEvent == "undefined") { NET.UNEXT.removeEvent = function(o, a, f, b) { if (o == null) { return false } if (o.removeEventListener) { o.removeEventListener(a, f, b); return true } else if (o.detachEvent) { o.detachEvent("on" + a, f) } else { try { o["on" + a] = function() { } } catch (e) { } } } }
NET.UNEXT.extend(Function.prototype, { getArguments: function() { var a = []; for (var i = 0; i < this.arguments.length; i++) { a.push(this.arguments[i]) } return a } }, false);
var MS = { "Browser": {} };
NET.UNEXT.extend(MS.Browser, { isIE: navigator.userAgent.indexOf('MSIE') != -1, isFirefox: navigator.userAgent.indexOf('Firefox') != -1, isOpera: window.opera != null }, false);
if (typeof NET.UNEXT.Ajax == "undefined") NET.UNEXT.Ajax = {};
NET.UNEXT.Ajax.IFrameXmlHttp = function() { };
NET.UNEXT.Ajax.IFrameXmlHttp.prototype = { onreadystatechange: null, headers: [], method: "POST", url: null, async: true, iframe: null, status: 0, readyState: 0, responseText: null, abort: function() { }, readystatechanged: function() { var a = this.iframe.contentDocument || this.iframe.document; if (a != null && a.readyState == "complete" && a.body != null && a.body.res != null) { this.status = 200; this.statusText = "OK"; this.readyState = 4; this.responseText = a.body.res; this.onreadystatechange(); return } setTimeout(this.readystatechanged.bind(this), 10) }, open: function(a, b, c) { if (c == false) { alert("Synchronous call using IFrameXMLHttp is not supported."); return } if (this.iframe == null) { var d = "hans"; if (document.createElement && document.documentElement && (window.opera || navigator.userAgent.indexOf('MSIE 5.0') == -1)) { var e = document.createElement('iframe'); e.setAttribute('id', d); e.style.visibility = 'hidden'; e.style.position = 'absolute'; e.style.width = e.style.height = e.borderWidth = '0px'; this.iframe = document.getElementsByTagName('body')[0].appendChild(e) } else if (document.body && document.body.insertAdjacentHTML) { document.body.insertAdjacentHTML('beforeEnd', '<iframe name="' + d + '" id="' + d + '" style="border:1px solid black;display:none"></iframe>') } if (window.frames && window.frames[d]) { this.iframe = window.frames[d] } this.iframe.name = d; this.iframe.document.open(); this.iframe.document.write("<" + "html><" + "body></" + "body></" + "html>"); this.iframe.document.close() } this.method = a; this.url = b; this.async = c }, setRequestHeader: function(a, b) { for (var i = 0; i < this.headers.length; i++) { if (this.headers[i].name == a) { this.headers[i].value = b; return } } this.headers.push({ "name": a, "value": b }) }, getResponseHeader: function(a, b) { return null }, addInput: function(a, b, c, d) { var e; var f = "input"; if (d.indexOf("\n") >= 0) { f = "textarea" } if (a.all) { e = a.createElement("<" + f + " name=\"" + c + "\" />") } else { e = a.createElement(f); e.setAttribute("name", c) } e.setAttribute("value", d); b.appendChild(e); e = null }, send: function(a) { if (this.iframe == null) { return } var b = this.iframe.contentDocument || this.iframe.document; var c = b.createElement("form"); b.body.appendChild(c); c.setAttribute("action", this.url); c.setAttribute("method", this.method); c.setAttribute("enctype", "application/x-www-form-urlencoded"); for (var i = 0; i < this.headers.length; i++) { switch (this.headers[i].name.toLowerCase()) { case "content-length": case "accept-encoding": case "content-type": break; default: this.addInput(b, c, this.headers[i].name, this.headers[i].value) } } this.addInput(b, c, "NET_UNEXT_Ajax_Data", a); c.submit(); setTimeout(this.readystatechanged.bind(this), 0) } };
var progids = ["Msxml2.XMLHTTP.6.0", "Msxml2.XMLHTTP.3.0", "MSXML2.XMLHTTP", "Microsoft.XMLHTTP"];
var progid = null;
if (typeof ActiveXObject != "undefined") { var ie7xmlhttp = false; if (typeof XMLHttpRequest == "object") { try { var o = new XMLHttpRequest(); ie7xmlhttp = true } catch (e) { } } if (typeof XMLHttpRequest == "undefined" || !ie7xmlhttp) { XMLHttpRequest = function() { var a = null; if (!NET.UNEXT.Ajax.noActiveX) { if (progid != null) { return new ActiveXObject(progid) } for (var i = 0; i < progids.length && a == null; i++) { try { a = new ActiveXObject(progids[i]); progid = progids[i] } catch (e) { } } } if (a == null && MS.Browser.isIE) { return new NET.UNEXT.Ajax.IFrameXmlHttp() } return a } } }
NET.UNEXT.extend(NET.UNEXT.Ajax, { noOperation: function() { }, onl oading: function() { }, one rror: function() { }, onTimeout: function() { return true }, onStateChanged: function() { }, cryptProvider: null, queue: null, token: "", version: "10.6.0.11", ID: "UNEXT.Ajax", noActiveX: false, timeoutPeriod: 60 * 60 * 1000, queue: null, UtcOffset: "+0800", noUtcTime: false, regExDate: function(a, b, c, d, s) { a = a.substring(1).replace('"', ''); var e = a; if (a.substring(0, 7) == "\\\/Date(") { a = a.match(/Date\((.*?)\)/)[1]; e = "new Date(" + parseInt(a) + ")" } else { var f = a.split(/[-,:,T,Z]/); f[1] = (parseInt(f[1], 0) - 1).toString(); e = "new Date(Date.UTC(" + f.join(",") + "))" } return e }, parse: function(a) { var b = /(\"\d{4}-\d{2}-\d{2}T\d{2}:\d{2}.*?\")|(\"\\\/Date\(.*?\)\\\/")/g; a = a.replace(b, this.regExDate); return eval('(' + a + ')') }, m: { '\b': '\\b', '\t': '\\t', '\n': '\\n', '\f': '\\f', '\r': '\\r', '"': '\\"', '\\': '\\\\' }, toJSON: function(o) { if (o == null) { return "null" } var v = []; var i; var c = o.constructor; if (c == Number) { return isFinite(o) ? o.toString() : NET.UNEXT.Ajax.toJSON(null) } else if (c == Boolean) { return o.toString() } else if (c == String) { if (/["\\\x00-\x1f]/.test(o)) { o = o.replace(/([\x00-\x1f\\"])/g, function(a, b) { var c = NET.UNEXT.Ajax.m[b]; if (c) { return c } c = b.charCodeAt(); return '\\u00' + Math.floor(c / 16).toString(16) + (c % 16).toString(16) }) } return '"' + o + '"' } else if (c == Array) { for (i = 0; i < o.length; i++) { v.push(NET.UNEXT.Ajax.toJSON(o[i])) } return "[" + v.join(",") + "]" } else if (c == Date) { return NET.UNEXT.Ajax.toJSON("/Date(" + new Date(Date.UTC(o.getUTCFullYear(), o.getUTCMonth(), o.getUTCDate(), o.getUTCHours(), o.getUTCMinutes(), o.getUTCSeconds(), o.getUTCMilliseconds())).getTime() + NET.UNEXT.Ajax.UtcOffset + ")/") } if (typeof o.toJSON == "function") { return o.toJSON() } if (typeof o == "object") { for (var d in o) { if (typeof o[d] != "function") { v.push('{"Name":"' + d + '","Value":' + NET.UNEXT.Ajax.toJSON(o[d]) + "}") } } if (v.length > 0) { return "{\"JSON_DATA\":[" + v.join(",") + "]}" } return "{\"JSON_DATA\":[]}" } return o.toString() }, dispose: function() { if (NET.UNEXT.Ajax.queue != null) { NET.UNEXT.Ajax.queue.dispose() } } }, false);
NET.UNEXT.addEvent(window, "unload", NET.UNEXT.Ajax.dispose);
NET.UNEXT.Ajax.Request = function(a) { this.url = a; this.xmlHttp = null };
NET.UNEXT.Ajax.Request.prototype = { url: null, callback: null, onl oading: null, one rror: null, onTimeout: null, onStateChanged: null, args: null, context: null, isRunning: false, abort: function() { if (this.timeoutTimer != null) { clearTimeout(this.timeoutTimer) } if (this.xmlHttp) { this.xmlHttp.onreadystatechange = NET.UNEXT.Ajax.noOperation; this.xmlHttp.abort() } if (this.isRunning) { this.isRunning = false; this.onLoading(false) } }, dispose: function() { this.abort() }, getEmptyRes: function() { return { error: null, value: null, request: { method: this.method, args: this.args }, context: this.context, duration: this.duration} }, endRequest: function(a) { this.abort(); if (a.error != null) { this.onError(a.error, this) } if (typeof this.callback == "function") { this.callback(a, this) } }, mozerror: function() { if (this.timeoutTimer != null) { clearTimeout(this.timeoutTimer) } var a = this.getEmptyRes(); a.error = { Message: "Unknown", Type: "ConnectFailure", Status: 0 }; this.endRequest(a) }, doStateChange: function() { this.onStateChanged(this.xmlHttp.readyState, this); if (this.xmlHttp.readyState != 4 || !this.isRunning) { return } this.duration = new Date().getTime() - this.__start; if (this.timeoutTimer != null) { clearTimeout(this.timeoutTimer) } var a = this.getEmptyRes(); if (this.xmlHttp.status == 200 && this.xmlHttp.statusText == "OK") { a = this.createResponse(a) } else { a = this.createResponse(a, true); a.error = { Message: this.xmlHttp.statusText, Type: "ConnectFailure", Status: this.xmlHttp.status} } this.endRequest(a) }, createResponse: function(r, a) { if (!a) { if (typeof (this.xmlHttp.responseText) == "unknown") { r.error = { Message: "XmlHttpRequest error reading property responseText.", Type: "XmlHttpRequestException" }; return r } var b = "" + this.xmlHttp.responseText; if (NET.UNEXT.Ajax.cryptProvider != null && typeof NET.UNEXT.Ajax.cryptProvider.decrypt == "function") { b = NET.UNEXT.Ajax.cryptProvider.decrypt(b) } if (this.xmlHttp.getResponseHeader("Content-Type") == "text/xml") { r.value = this.xmlHttp.responseXML } else { if (b != null && b.trim().length > 0) { r.json = b; var v = null; v = NET.UNEXT.Ajax.parse(b); if (v != null) { if (typeof v.value != "undefined") r.value = v.value; else if (typeof v.error != "undefined") r.error = v.error } } } } return r }, timeout: function() { this.duration = new Date().getTime() - this.__start; try { if (this.onTimeout != null && typeof (this.onTimeout) != "undefined" && this.onTimeout) { var r = this.onTimeout(this.duration, this); if (typeof r == "undefined" || r != false) { this.abort() } else { this.timeoutTimer = setTimeout(this.timeout.bind(this), NET.UNEXT.Ajax.timeoutPeriod) } } } catch (e) { } finally { } }, invoke: function(a, b, c, d) { this.__start = new Date().getTime(); this.xmlHttp = new XMLHttpRequest(); this.isRunning = true; this.method = a; this.args = b; this.callback = c; this.context = d; var f = typeof (c) == "function" && c != NET.UNEXT.Ajax.noOperation; if (f) { if (MS.Browser.isIE) { this.xmlHttp.onreadystatechange = this.doStateChange.bind(this) } else { this.xmlHttp.onload = this.doStateChange.bind(this); this.xmlHttp.onerror = this.mozerror.bind(this) } this.onLoading(true) } var g = NET.UNEXT.Ajax.toJSON(b) + ""; if (NET.UNEXT.Ajax.cryptProvider != null && typeof NET.UNEXT.Ajax.cryptProvider.encrypt == "function") { g = NET.UNEXT.Ajax.cryptProvider.encrypt(g) } this.xmlHttp.open("POST", this.url, f); this.xmlHttp.setRequestHeader("Content-Type", "text/plain; charset=utf-8"); this.xmlHttp.setRequestHeader("X-" + NET.UNEXT.Ajax.ID + "-Method", a); if (NET.UNEXT.Ajax.token != null && NET.UNEXT.Ajax.token.length > 0) { this.xmlHttp.setRequestHeader("X-" + NET.UNEXT.Ajax.ID + "-Token", NET.UNEXT.Ajax.token) } this.timeoutTimer = setTimeout(this.timeout.bind(this), NET.UNEXT.Ajax.timeoutPeriod); try { this.xmlHttp.send(g) } catch (e) { } if (!f) { return this.createResponse({ error: null, value: null }) } return true } };
NET.UNEXT.Ajax.RequestQueue = function(b) { this.queue = []; this.requests = []; this.timer = null; if (isNaN(b)) { b = 2 } for (var i = 0; i < b; i++) { this.requests[i] = new NET.UNEXT.Ajax.Request(); this.requests[i].callback = function(a) { var r = a.context; a.context = r[3][1]; r[3][0](a, this) }; this.requests[i].callbackHandle = this.requests[i].callback.bind(this.requests[i]) } this.processHandle = this.process.bind(this) };
NET.UNEXT.Ajax.RequestQueue.prototype = { process: function() { this.timer = null; if (this.queue.length == 0) { return } for (var i = 0; i < this.requests.length && this.queue.length > 0; i++) { if (this.requests[i].isRunning == false) { var r = this.queue.shift(); this.requests[i].url = r[0]; this.requests[i].onLoading = r[3].length > 2 && r[3][2] != null && typeof r[3][2] == "function" ? r[3][2] : NET.UNEXT.Ajax.onLoading; this.requests[i].onError = r[3].length > 3 && r[3][3] != null && typeof r[3][3] == "function" ? r[3][3] : NET.UNEXT.Ajax.onError; this.requests[i].onTimeout = r[3].length > 4 && r[3][4] != null && typeof r[3][4] == "function" ? r[3][4] : NET.UNEXT.Ajax.onTimeout; this.requests[i].onStateChanged = r[3].length > 5 && r[3][5] != null && typeof r[3][5] == "function" ? r[3][5] : NET.UNEXT.Ajax.onStateChanged; this.requests[i].invoke(r[1], r[2], this.requests[i].callbackHandle, r); r = null } } if (this.queue.length > 0 && this.timer == null) { this.timer = setTimeout(this.processHandle, 0) } }, add: function(a, b, c, e) { this.queue.push([a, b, c, e]); if (this.timer == null) { this.timer = setTimeout(this.processHandle, 0) } }, abort: function() { this.queue.length = 0; if (this.timer != null) { clearTimeout(this.timer) } this.timer = null; for (var i = 0; i < this.requests.length; i++) { if (this.requests[i].isRunning == true) { this.requests[i].abort() } } }, dispose: function() { for (var i = 0; i < this.requests.length; i++) { var r = this.requests[i]; r.dispose() } this.requests.clear() } };
NET.UNEXT.Ajax.queue = new NET.UNEXT.Ajax.RequestQueue(2);
NET.UNEXT.Ajax.AjaxClass = function(a) { this.url = a };
NET.UNEXT.Ajax.AjaxClass.prototype = { invoke: function(a, b, e) { if (e != null) { if (e.length != 6) { for (; e.length < 6; ) { e.push(null) } } if (e[0] != null && typeof (e[0]) == "function") { return NET.UNEXT.Ajax.queue.add(this.url, a, b, e) } } var r = new NET.UNEXT.Ajax.Request(); r.url = this.url; return r.invoke(a, b) } };
NET.UNEXT.Ajax.token = "d4a4d270.42924A0E7B646907CBABEA28A8C1FAB9";
NET.UNEXT.Ajax.UtcOffset = "+0800";

if(typeof SHOW == "undefined"){ SHOW={}; }
if(typeof SHOW.Ajax == "undefined"){ SHOW.Ajax={}; }
if(typeof SHOW.Ajax.User == "undefined"){ SHOW.Ajax.User={}; }
if(typeof SHOW.Ajax.User.Examsign_class == "undefined"){ SHOW.Ajax.User.Examsign_class={}; }
SHOW.Ajax.User.Examsign_class = function() {};
NET.UNEXT.extend(SHOW.Ajax.User.Examsign_class.prototype, NET.UNEXT.extend(new NET.UNEXT.Ajax.AjaxClass(), {
	SaveInfo: function(Tname, Gender, Birthday, IDtype, IDnumber, Graduated, Graduation, Major, Edu, Industry, Workunits, Workunitstype, Position, Tel, Mobile, Email, Amail, Address, Zip) {
		return this.invoke("SaveInfo", {"Tname":Tname, "Gender":Gender, "Birthday":Birthday, "IDtype":IDtype, "IDnumber":IDnumber, "Graduated":Graduated, "Graduation":Graduation, "Major":Major, "Edu":Edu, "Industry":Industry, "Workunits":Workunits, "Workunitstype":Workunitstype, "Position":Position, "Tel":Tel, "Mobile":Mobile, "Email":Email, "Amail":Amail, "Address":Address, "Zip":Zip}, this.SaveInfo.getArguments().slice(19));
	},
	Sign: function(Ed, Etitle, Stype, StypeName, Xing, Zhong, Ming, Peixunjigou, Peixunjigouming, PMIUname, PMIUpass, IsPMIUser, PMINumber, _PMIUtimeB, _PMIUtimeE, PMItimeB, PMItimeE, Kaodian, Kaodianming, PMIID) {
		return this.invoke("Sign", {"Ed":Ed, "Etitle":Etitle, "Stype":Stype, "StypeName":StypeName, "Xing":Xing, "Zhong":Zhong, "Ming":Ming, "Peixunjigou":Peixunjigou, "Peixunjigouming":Peixunjigouming, "PMIUname":PMIUname, "PMIUpass":PMIUpass, "IsPMIUser":IsPMIUser, "PMINumber":PMINumber, "_PMIUtimeB":_PMIUtimeB, "_PMIUtimeE":_PMIUtimeE, "PMItimeB":PMItimeB, "PMItimeE":PMItimeE, "Kaodian":Kaodian, "Kaodianming":Kaodianming, "PMIID":PMIID}, this.Sign.getArguments().slice(20));
	},
	Agree: function(Ed) {
		return this.invoke("Agree", {"Ed":Ed}, this.Agree.getArguments().slice(1));
	},
	url: '/App_Ajax/SHOW.Ajax.User.Examsign,SHOW.Ajax.ajax?doing=info&domain=user'
}, false), false);
SHOW.Ajax.User.Examsign = new SHOW.Ajax.User.Examsign_class();

轉載請註明出處,本文鏈接:https://www.uj5u.com/qianduan/275815.html

標籤:其他

上一篇:小高不太行之前端——CSS樣式 II

下一篇:移動端canvas不支持字體設定?

標籤雲
其他(157675) Python(38076) JavaScript(25376) Java(17977) C(15215) 區塊鏈(8255) C#(7972) AI(7469) 爪哇(7425) MySQL(7132) html(6777) 基礎類(6313) sql(6102) 熊猫(6058) PHP(5869) 数组(5741) R(5409) Linux(5327) 反应(5209) 腳本語言(PerlPython)(5129) 非技術區(4971) Android(4554) 数据框(4311) css(4259) 节点.js(4032) C語言(3288) json(3245) 列表(3129) 扑(3119) C++語言(3117) 安卓(2998) 打字稿(2995) VBA(2789) Java相關(2746) 疑難問題(2699) 细绳(2522) 單片機工控(2479) iOS(2429) ASP.NET(2402) MongoDB(2323) 麻木的(2285) 正则表达式(2254) 字典(2211) 循环(2198) 迅速(2185) 擅长(2169) 镖(2155) 功能(1967) .NET技术(1958) Web開發(1951) python-3.x(1918) HtmlCss(1915) 弹簧靴(1913) C++(1909) xml(1889) PostgreSQL(1872) .NETCore(1853) 谷歌表格(1846) Unity3D(1843) for循环(1842)

熱門瀏覽
  • vue移動端上拉加載

    可能做得過于簡單或者比較low,請各位大佬留情,一起探討技術 ......

    uj5u.com 2020-09-10 04:38:07 more
  • 優美網站首頁,頂部多層導航

    一個個人用的瀏覽器首頁,可以把一下常用的網站放在這里,平常打開會比較方便。 第一步,HTML代碼 <script src=https://www.cnblogs.com/szharf/p/"js/jquery-3.4.1.min.js"></script> <div id="navigate"> <ul> <li class="labels labels_1"> ......

    uj5u.com 2020-09-10 04:38:47 more
  • 頁面為要加<!DOCTYPE html>

    最近因為寫一個js函式,需要用到$(window).height(); 由于手寫demo的時候,過于自信,其實對前端方面的認識也不夠體系,用文本檔案直接敲出來的html代碼,第一行沒有加上<!DOCTYPE html> 導致了$(window).height();的結果直接是整個document的高 ......

    uj5u.com 2020-09-10 04:38:52 more
  • WordPress網站程式手動升級要做好資料備份

    WordPress博客網站程式在進行升級前,必須要做好網站資料的備份,這個問題良家佐言是遇見過的;在剛開始接觸WordPress博客程式的時候,因為升級問題和博客網站的修改的一些嘗試,良家佐言是吃盡了苦頭。因為購買的是西部數碼的空間和域名,每當佐言把自己的WordPress博客網站搞到一塌糊涂的時候 ......

    uj5u.com 2020-09-10 04:39:30 more
  • WordPress程式不能升級為5.4.2版本的原因

    WordPress是一款個人博客系統,受到英文博客愛好者和中文博客愛好者的追捧,并逐步演化成一款內容管理系統軟體;它是使用PHP語言和MySQL資料庫開發的,用戶可以在支持PHP和MySQL資料庫的服務器上使用自己的博客。每一次WordPress程式的更新,就會牽動無數WordPress愛好者的心, ......

    uj5u.com 2020-09-10 04:39:49 more
  • 使用CSS3的偽元素進行首字母下沉和首行改變樣式

    網頁中常見的一種效果,首字改變樣式或者首行改變樣式,效果如下圖。 代碼: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, ......

    uj5u.com 2020-09-10 04:40:09 more
  • 關于a標簽的講解

    什么是a標簽? <a> 標簽定義超鏈接,用于從一個頁面鏈接到另一個頁面。 <a> 元素最重要的屬性是 href 屬性,它指定鏈接的目標。 a標簽的語法格式:<a href=https://www.cnblogs.com/summerxbc/p/"指定要跳轉的目標界面的鏈接">需要展示給用戶看見的內容</a> a標簽 在所有瀏覽器中,鏈接的默認外觀如下: 未被訪問的鏈接帶 ......

    uj5u.com 2020-09-10 04:40:11 more
  • 前端輪播圖

    在需要輪播的頁面是引入swiper.min.js和swiper.min.css swiper.min.js地址: 鏈接:https://pan.baidu.com/s/15Uh516YHa4CV3X-RyjEIWw 提取碼:4aks swiper.min.css地址 鏈接:https://pan.b ......

    uj5u.com 2020-09-10 04:40:13 more
  • 如何設定html中的背景圖片(全屏顯示,且不拉伸)

    1 <style>2 body{background-image:url(https://uploadbeta.com/api/pictures/random/?key=BingEverydayWallpaperPicture); 3 background-size:cover;background ......

    uj5u.com 2020-09-10 04:40:16 more
  • Java學習——HTML詳解(上)

    HTML詳解 初識HTML Hyper Text Markup Language(超文本標記語言) 1 <!--DOCTYPE:告訴瀏覽器我們要使用什么規范--> 2 <!DOCTYPE html> 3 <html lang="en"> 4 <head> 5 <!--meta 描述性的標簽,描述一些 ......

    uj5u.com 2020-09-10 04:40:33 more
最新发布
  • 我的第一個NPM包:panghu-planebattle-esm(胖虎飛機大戰)使用說明

    好家伙,我的包終于開發完啦 歡迎使用胖虎的飛機大戰包!! 為你的主頁添加色彩 這是一個有趣的網頁小游戲包,使用canvas和js開發 使用ES6模塊化開發 效果圖如下: (覺得圖片太sb的可以自己改) 代碼已開源!! Git: https://gitee.com/tang-and-han-dynas ......

    uj5u.com 2023-04-20 07:59:23 more
  • 生產事故-走近科學之消失的JWT

    入職多年,面對生產環境,盡管都是小心翼翼,慎之又慎,還是難免捅出簍子。輕則滿頭大汗,面紅耳赤。重則系統停擺,損失資金。每一個生產事故的背后,都是寶貴的經驗和教訓,都是專案成員的血淚史。為了更好地防范和遏制今后的各類事故,特開此專題,長期更新和記錄大大小小的各類事故。有些是親身經歷,有些是經人耳傳口授 ......

    uj5u.com 2023-04-18 07:55:04 more
  • 記錄--Canvas實作打飛字游戲

    這里給大家分享我在網上總結出來的一些知識,希望對大家有所幫助 打開游戲界面,看到一個畫面簡潔、卻又富有挑戰性的游戲。螢屏上,有一個白色的矩形框,里面不斷下落著各種單詞,而我需要迅速地輸入這些單詞。如果我輸入的單詞與螢屏上的單詞匹配,那么我就可以獲得得分;如果我輸入的單詞錯誤或者時間過長,那么我就會輸 ......

    uj5u.com 2023-04-04 08:35:30 more
  • 了解 HTTP 看這一篇就夠

    在學習網路之前,了解它的歷史能夠幫助我們明白為何它會發展為如今這個樣子,引發探究網路的興趣。下面的這張圖片就展示了“互聯網”誕生至今的發展歷程。 ......

    uj5u.com 2023-03-16 11:00:15 more
  • 藍牙-低功耗中心設備

    //11.開啟藍牙配接器 openBluetoothAdapter //21.開始搜索藍牙設備 startBluetoothDevicesDiscovery //31.開啟監聽搜索藍牙設備 onBluetoothDeviceFound //30.停止監聽搜索藍牙設備 offBluetoothDevi ......

    uj5u.com 2023-03-15 09:06:45 more
  • canvas畫板(滑鼠和觸摸)

    <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>canves</title> <style> #canvas { cursor:url(../images/pen.png),crosshair; } #canvasdiv{ bo ......

    uj5u.com 2023-02-15 08:56:31 more
  • 手機端H5 實作自定義拍照界面

    手機端 H5 實作自定義拍照界面也可以使用 MediaDevices API 和 <video> 標簽來實作,和在桌面端做法基本一致。 首先,使用 MediaDevices.getUserMedia() 方法獲取攝像頭媒體流,并將其傳遞給 <video> 標簽進行渲染。 接著,使用 HTML 的 < ......

    uj5u.com 2023-01-12 07:58:22 more
  • 記錄--短視頻滑動播放在 H5 下的實作

    這里給大家分享我在網上總結出來的一些知識,希望對大家有所幫助 短視頻已經無數不在了,但是主體還是使用 app 來承載的。本文講述 H5 如何實作 app 的視頻滑動體驗。 無聲勝有聲,一圖頂百辯,且看下圖: 網址鏈接(需在微信或者手Q中瀏覽) 從上圖可以看到,我們主要實作的功能也是本文要講解的有: ......

    uj5u.com 2023-01-04 07:29:05 more
  • 一文讀懂 HTTP/1 HTTP/2 HTTP/3

    從 1989 年萬維網(www)誕生,HTTP(HyperText Transfer Protocol)經歷了眾多版本迭代,WebSocket 也在期間萌芽。1991 年 HTTP0.9 被發明。1996 年出現了 HTTP1.0。2015 年 HTTP2 正式發布。2020 年 HTTP3 或能正... ......

    uj5u.com 2022-12-24 06:56:02 more
  • 【HTML基礎篇002】HTML之form表單超詳解

    ??一、form表單是什么

    ??二、form表單的屬性

    ??三、input中的各種Type屬性值

    ??四、標簽 ......

    uj5u.com 2022-12-18 07:17:06 more