Skip to content

Commit 8fd2d89

Browse files
committed
fix
1 parent d824efd commit 8fd2d89

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

HacgGodTurn.user.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -550,7 +550,7 @@
550550
break;
551551
}
552552
}
553-
if(curSite.downloadUrl.test(location.href)){
553+
if(curSite && curSite.downloadUrl && curSite.downloadUrl.test(location.href)){
554554
t=window.setInterval(function(){
555555
if(document.querySelector('.btn-success')){
556556
clearInterval(t);

0 commit comments

Comments
 (0)