How does one redirect all browsers, other than webkit, to a specific URL?
I’m looking into Apache/Htaccess, jQuery/Javascript, etc., but I haven’t found much, other than this thing for IE:
<!--[if IE]>
<script type="text/javascript">
window.location = "http://www.site.net/classic/";
</script>
<![endif]-->
In other words, how would one host a webkit-only website?
For a
phpapproach you could use the$_SERVER['HTTP_USER_AGENT']variable to determinate which engine your user browser is using and then simply displaying the pages to the one withwebkitengines, like the following:Even doing the above, you can’t be 100% sure about what browser are visiting your site since there are tools to modify how the browser are introduced to your server, including even cUrl based robots that can simply change it’s user-agent variables.