摘要:
1 var callback = "callback"; 2 if(callback != null) { 3 if(window.opener != null && window.opener[callback] != undefined) { 4 callback = window.opener[callback]; 5 callback({}); 6 window.close(); 7 }else if(window.parent != null && window.parent[callback] != undefine... 阅读全文
摘要:
//manifest.json(chrome) 1 { 2 "content_scripts": [ { 3 "exclude_globs": [ ], 4 "include_globs": [ ], 5 "js": [ "userscript.user.js" ], 6 "matches": [ "http://*/*", "https://*/*" ] 7 } ], 8 "converted_from_user_scrip 阅读全文