Advertisement
Guest User

Untitled

a guest
Jan 14th, 2022
167
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function redirect(location) {
  2.     window.location = location;
  3. }
  4.  
  5. function domainBypass(domainReg, objectOfPaths) {
  6.     const {
  7.         host,
  8.         pathname,
  9.         search
  10.     } = location
  11.     if(!domainReg.test(host)) return
  12.  
  13.     const [key, value] = objectOfPaths[pathname]
  14.     if(typeof key === 'object' && key.test(search)) return redirect(value + RegExp.$1)
  15.     const searchParams = new URLSearchParams(search);
  16.     if(searchParams.has(key)) redirect(value + searchParams.get(key))
  17. }
  18.  
  19. domainBypass(/blogginglass.com/, {
  20.     '/': ['getlink', 'http://go.mozlink.net/'],
  21.     '/blog/': ['getlink', 'http://go.fire-link.net/']
  22. })
  23. domainBypass(/insuranceblog.xyz/, {
  24.     '/blog/': ['link', 'https://gos.insuranceblog.xyz']
  25. })
  26. domainBypass(/7apple.net/, {
  27.     '/': ['go', 'https://illink.net/']
  28. })
  29. domainBypass(/crazyblog.in/, {
  30.     '/finance/': ['link', 'https://shrinkpay.crazyblog.in'],
  31.     '/hars/verify/': [new RegExp('^\?([^&]+)'), 'https://redd.crazyblog.in'],
  32.     '/harsh/verify/': [new RegExp('^\?([^&]+)'), 'https://cbs.trxking.xyz/']
  33. })
  34.  
  35. domainBypass(/short.clickscoin.com|watchdoge.xyz|dogeclick.net/, {
  36.     '': [new RegExp(/^\/ccsl\/([^/]+)/), 'https://ccsl.xyz/']
  37. })
  38. domainBypass(/crazyblog.in|studyuo.com/, function() {
  39.     const form = document.getElementById('wpsafelink-landing')
  40.     redirect(JSON.parse(atob(form.newwpsafelink.value)).linkr)
  41. })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement