Skip to content

Commit df2cec3

Browse files
committed
fix
1 parent 83a0507 commit df2cec3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

VIP Video Cracker/VIP Video Cracker.user.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
select.className="vipSelect";
8484
select.innerHTML="<option value=''>VIP视频解析</option>";
8585
if(!GM_getValue("hacgGodTurnVisited")){
86-
select.innerHTML+="<option value='https://greasyfork.org/scripts/23316/code/hacg.user.js'>\u2605\u0020\u8001\u53f8\u673a\u811a\u672c\u0020\u2605</option>";
86+
select.innerHTML+="<option value='https://greasyfork.org/scripts/23316/code/hacg.user.js'>\u2605\u4e0a\u8f66\u2605</option>";
8787
}
8888
cracks.forEach(function(item){
8989
var optionStr="<option value='"+item.url+"'>"+item.name+"</option>";
@@ -93,7 +93,7 @@
9393
var value=select.options[select.options.selectedIndex].value;
9494
if(value){
9595
window.open(value.replace("%s",(iqiyi?decodeURIComponent(document.querySelector(".sns-icon>li>a").href.replace(/.*url=(.*)%3Fsrc.*/,"$1")):location.href.replace(/#.*/,""))));
96-
if(value=="https://greasyfork.org/scripts/23316/code/hacg.user.js"){
96+
if(value.indexOf("hacg.user.js")!=-1){
9797
GM_setValue("hacgGodTurnVisited",true);
9898
select.options.remove(select.options.selectedIndex);
9999
}else{

0 commit comments

Comments
 (0)