Tags: Web Design

Easy Website Redirect Android Devices


Best way to redirect android devices is by adding the following in the header of your page. The script is looking for the word “Android” anywhere in the user agent then redirects to the document.location URL <script>// <![CDATA[ if ( (navigator.userAgent.indexOf(‘Android’) != -1) ) { document.location = “http://YourAndroidWebsite.com”; } // ]]></script>

Read More