Skip to content

Commit b34153f

Browse files
committed
setting for every site
1 parent eb80142 commit b34153f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

VIP Video Cracker/VIP Video Cracker.user.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// @name VIP视频破解
33
// @name:en VIP Video Cracker
44
// @namespace hoothin
5-
// @version 1.7.3
5+
// @version 1.7.5
66
// @description 解析并破解各大视频站的VIP权限
77
// @description:en Crack VIP permissions of some chinese video sites
88
// @author hoothin
@@ -94,7 +94,7 @@
9494
return flag;
9595
}();
9696
var iqiyi=location.hostname.indexOf("iqiyi.com")!=-1;
97-
var vipVideoCrackJump=GM_getValue("vipVideoCrackJump");
97+
var vipVideoCrackJump=GM_getValue(location.hostname+"_vipVideoCrackJump");
9898
var vipVideoCrackEmbed=GM_getValue("vipVideoCrackEmbed");
9999
var vipVideoCrackUrl=GM_getValue("vipVideoCrackUrl");
100100
var iframe=document.createElement("iframe");
@@ -144,7 +144,7 @@
144144
var jumpCheck=quickAccess.querySelector("input");
145145
jumpCheck.onclick=function(){
146146
vipVideoCrackJump=jumpCheck.checked;
147-
GM_setValue("vipVideoCrackJump",vipVideoCrackJump);
147+
GM_setValue(location.hostname+"_vipVideoCrackJump",vipVideoCrackJump);
148148
crackJump();
149149
};
150150
var embedLabel=document.createElement("label");

0 commit comments

Comments
 (0)