Skip to content

Instantly share code, notes, and snippets.

@liuzhitao2000
Created July 11, 2016 16:38
Show Gist options
  • Save liuzhitao2000/97315dc5fd3b677ce0da03d2a1a9a6e3 to your computer and use it in GitHub Desktop.
Save liuzhitao2000/97315dc5fd3b677ce0da03d2a1a9a6e3 to your computer and use it in GitHub Desktop.
test
```javascript
javascript:var t=1,version,pl,gv=0;try{version = navigator.userAgent.match(/(\d+)\.(\d+)\.(\d+) platform/g)[0].split(' ')[0].split('.').join('');pl = navigator.userAgent.match(/platform\/(\d+)/g)[0].split('/')[1];gv=(pl==21 && version<=570)||(pl==20 && version<=593);t=0}catch(err){t=1};if(t||gv){var r = confirm('%E6%82%A8%E5%BD%93%E5%89%8D%E7%9A%84%E7%89%88%E6%9C%AC%E8%BF%87%E4%BD%8E,%E6%97%A0%E6%B3%95%E4%BD%BF%E7%94%A8%E6%AD%A4%E5%8A%9F%E8%83%BD,%E8%AF%B7%E4%B8%8B%E8%BD%BD%E6%9C%80%E6%96%B0%E7%9A%84%E7%89%88%E6%9C%AC%E5%93%A6');if(r==true){window.location='http://www.wacai.com/app/download?key=wacaixinyongka_00000001'}else{}}else{window.location='http://sites.wacai.com/877/index.html?popup=1&need_login=1'}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment