Advertisement
Guest User

reatest

a guest
Nov 24th, 2014
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 0.93 KB | None | 0 0
  1. <html>
  2.     <head>
  3.     <title>adjust deeplinking...</title>
  4.     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  5.     <meta http-equiv="X-UA-Compatible" content="chrome=1,IE=edge" />
  6.     <meta name="viewport" content="width=640, user-scalable=yes" />
  7.     </head>
  8.     <body>
  9.     <script>
  10.    
  11.         start = Date.now();
  12.         function try_history_back_or_close(){
  13.             if (history.length > 1) {
  14.                 history.back(-1);
  15.             }
  16.             location.replace('about:');
  17.         }
  18.  
  19.         function store_or_close(){
  20.             now = Date.now();
  21.             if (now - start > 2000) {
  22.                 try_history_back_or_close();
  23.             } else {
  24.                 window.location.replace("https://itunes.apple.com/app/id564924168?mt=8&at=10ltdh");
  25.                 setTimeout(function () {
  26.                     try_history_back_or_close();
  27.                 }, 1000);
  28.             }
  29.         }
  30.  
  31.         setTimeout(function () {
  32.             store_or_close();
  33.         }, 1000);
  34.    
  35.     </script>
  36.    
  37.         <iframe style="display:none" height=0 width=0 src="dafiti://br"></iframe>
  38.        
  39.     </body>
  40.     </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement