Skip to content

Commit 3dcde1e

Browse files
committed
Update APIscript.user.js
test
1 parent e559bd1 commit 3dcde1e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

APIscript/APIscript.user.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
// 推荐使用unsafeWindow代替window
1313

14-
var win = unsafeWindow || window;
14+
var win = window;
1515
function matchNode(xpath, context) {
1616
return document.evaluate(context ? (xpath.indexOf('.') == 0 ? xpath : '.'
1717
+ xpath) : xpath, context || document, null,
@@ -20,7 +20,7 @@ function matchNode(xpath, context) {
2020

2121
// 监听事件触发时执行
2222
var checkDetail = function(){
23-
23+
winAlert('已加载!');
2424
// 关注公共变量window.* 如:window.g_config
2525
var ks = win.KISSY,T;
2626
T = win.TShop;

0 commit comments

Comments
 (0)