Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- switch(Browser.Engine.name) {
- case 'trident':
- if(Browser.Engine.version < 4)
- return redirect = document.location.href = (URI.base.valueOf()+'browser_detect');
- case 'presto':
- if(Browser.Engine.version < 960)
- return redirect = document.location.href = (URI.base.valueOf()+'browser_detect');
- case 'webkit':
- if(Browser.Engine.version < 525)
- return redirect = document.location.href = (URI.base.valueOf()+'browser_detect');
- case 'gecko':
- if(Browser.Engine.version < 19)
- return redirect = document.location.href = (URI.base.valueOf()+'browser_detect');
- }
Add Comment
Please, Sign In to add comment