更新
This commit is contained in:
parent
39576c86ba
commit
bba1335130
10
CHANGELOG.md
10
CHANGELOG.md
@ -1,12 +1,20 @@
|
||||
# TODO
|
||||
|
||||
- 翻译:baza npc商店、imarket、imarket搜索结果
|
||||
- 彩票助手
|
||||
|
||||
# CHANGE
|
||||
|
||||
## 0.6.0
|
||||
|
||||
2022年10月19日
|
||||
|
||||
### 添加
|
||||
|
||||
- 公司助手-火车检测
|
||||
- 测试添加对Userscript Safari (ios) 的支持
|
||||
|
||||
## 0.6.0
|
||||
|
||||
2022年10月18日
|
||||
|
||||
### 修改
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "wuhu-torn-helper",
|
||||
"version": "0.6.0",
|
||||
"version": "0.6.1",
|
||||
"description": "芜湖助手",
|
||||
"dependencies": {},
|
||||
"scripts": {
|
||||
|
||||
File diff suppressed because one or more lines are too long
@ -46,7 +46,11 @@ export default class Global extends WuhuBase implements IGlobal {
|
||||
Log.info('WH脚本参数[Global]初始化');
|
||||
super();
|
||||
this.unsafeWindow = window.unsafeWindow || null;
|
||||
try {
|
||||
// 上层调用如果使用eval此处GM_xmlhttpRequest可能不存在与window中
|
||||
this.GM_xmlhttpRequest = window.GM_xmlhttpRequest || GM_xmlhttpRequest || null;
|
||||
} catch {
|
||||
}
|
||||
this.version = '$$WUHU_DEV_VERSION$$';
|
||||
this.PDA_APIKey = '###PDA-APIKEY###';
|
||||
this.isPDA = !this.PDA_APIKey.includes('###');
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user