Created
October 24, 2012 02:35
-
-
Save lushone/3943379 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js" type="text/javascript"></script> | |
<script> | |
$(document).ready( function(){ | |
if ($.browser.webkit) { | |
window.location = 'http://www.webkit.org/'; | |
} | |
else if ($.browser.msie) { | |
window.location = 'http://intrenet.net/explorer-survey-new/'; | |
} | |
else if ($.browser.opera) { | |
window.location = 'http://www.opera.com/'; | |
} | |
else if ($.browser.mozilla) { | |
window.location = 'http://www.firefox.com/'; | |
} | |
else { | |
window.location = 'http://www.otherbrowsers.com/'; | |
} | |
}) | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment