{"id":6122203,"date":"2015-05-12T17:47:58","date_gmt":"2015-05-12T17:47:58","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/javascript-redirection-if-then-structure-with-ie\/"},"modified":"2016-08-24T16:10:16","modified_gmt":"2016-08-24T16:10:16","slug":"javascript-redirection-if-then-structure-with-ie","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/javascript-redirection-if-then-structure-with-ie\/","title":{"rendered":"JavaScript redirection if then structure with IE"},"content":{"rendered":"<p>This is really frustrating me so hopefully someone can help.  I am trying to use a landing page which should check for the browser the user is using.  If it is IE, go to a post optimized for IE, else go to a standard post.  I have tried a variety of different ones, either the script does not do anything or it redirects to the wrong one in IE.  Can someone give me a sample?  I need it to work with all versions of IE &#8211; non-version specific.<\/p>\n","protected":false},"template":"","class_list":["post-6122203","topic","type-topic","status-closed","hentry","topic-tag-internet-explorer","topic-tag-javascript"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/6122203","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/6122203\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=6122203"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}