Advertisement
cassiorox

Instagram

Sep 21st, 2023
8,980
0
Never
2
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 0.57 KB | None | 0 0
  1. <script type="text/javascript">
  2. window.onload = function () {
  3. var USERNAME = "cassiorox";
  4. if (/Android/i.test(navigator.userAgent)) {
  5. window.location = 'intent://www.instagram.com/' + USERNAME + '/#Intent;package=com.instagram.android;scheme=https;end';
  6. } else if (/iPhone|iPod/i.test(navigator.userAgent)) {
  7. window.location = 'instagram://user?username=' + USERNAME;
  8. } else {
  9. window.location = 'https://instagram.com/' + USERNAME;
  10. }
  11. function killPopup() {
  12. window.removeEventListener('pagehide', killPopup);
  13. }
  14. window.addEventListener('pagehide', killPopup);
  15. };
  16. </script>
  17.  
Advertisement
Comments
Add Comment
Please, Sign In to add comment
Advertisement