Skip to content

Commit

Permalink
Merge pull request #199 from kidonng/patch-1
Browse files Browse the repository at this point in the history
忽略来源网站
  • Loading branch information
vicevolf authored Jun 19, 2020
2 parents 3609588 + 5076ef1 commit 5afa186
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions assets/travelling.js
Original file line number Diff line number Diff line change
Expand Up @@ -134,12 +134,12 @@ function travelling(){
url[130]="https://sorryfu.top";




//修正概率
url[131]="https://github.com/volfclub/travelling";
if (document.referrer) {
var origin = new URL(document.referrer).origin;
url.splice(url.indexOf(origin), 1);
}


var ints=parseInt(Math.random()*(url.length));
var ints=Math.floor(Math.random() * url.length);
window.location=url[ints];
}
}

1 comment on commit 5afa186

@vercel
Copy link

@vercel vercel bot commented on 5afa186 Jun 19, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.