Guest User

Untitled

a guest
Jul 19th, 2018
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. switch(Browser.Engine.name) {
  2. case 'trident':
  3. if(Browser.Engine.version < 4)
  4. return redirect = document.location.href = (URI.base.valueOf()+'browser_detect');
  5. case 'presto':
  6. if(Browser.Engine.version < 960)
  7. return redirect = document.location.href = (URI.base.valueOf()+'browser_detect');
  8. case 'webkit':
  9. if(Browser.Engine.version < 525)
  10. return redirect = document.location.href = (URI.base.valueOf()+'browser_detect');
  11. case 'gecko':
  12. if(Browser.Engine.version < 19)
  13. return redirect = document.location.href = (URI.base.valueOf()+'browser_detect');
  14. }
Add Comment
Please, Sign In to add comment