31 lines
1.1 KiB
Plaintext
31 lines
1.1 KiB
Plaintext
var setting = parent.AttachmentSetting;
|
|
var appKey = "";
|
|
var defalutJs = "https://d.alicdn.com/alilog/mlog/aplus/204458013.js";
|
|
if (setting && setting.aplusJs) {
|
|
defalutJs = setting.aplusJs;
|
|
}
|
|
if (setting) {
|
|
if (setting.pid == "26091" || setting.pid == "781" || setting.pid == "332791" || setting.pid == "105388" || setting.pid == "47903") {
|
|
appKey = setting.aplusKey;
|
|
(function(e, a, u, t) {
|
|
e[t] = e[t] || [];
|
|
var s = a.getElementsByTagName(u)[0],
|
|
n = a.createElement(u);
|
|
n.async = !0, n.id = "beacon-aplus", n.src = defalutJs, s.parentNode.insertBefore(n, s)
|
|
})(window, document, "script", "aplus_queue")
|
|
aplus_queue.push({
|
|
action: "aplus.setMetaInfo",
|
|
arguments: ["appKey", appKey]
|
|
}),
|
|
aplus_queue.push({
|
|
action: "aplus.setMetaInfo",
|
|
arguments: ["aplus-rhost-v", "qtedu.om.moe.edu.cn"]
|
|
}),
|
|
aplus_queue.push({
|
|
action: "aplus.setMetaInfo",
|
|
arguments: ["DEBUG", !0]
|
|
});
|
|
}
|
|
}
|
|
|