proxximo Posted July 1, 2007 Share Posted July 1, 2007 I was wondering if there was a way to restrict certain browsers from viewing a webpage. If so does anyone know where to find some snippets of code for doing so, or can anyone help me do so for my page? Thanks ahead of time. Proxximo Quote Link to comment https://forums.phpfreaks.com/topic/57924-restricting-browsers-using-javascript/ Share on other sites More sharing options...
AndyB Posted July 1, 2007 Share Posted July 1, 2007 I bet that Google could find something if you typed 'javascript browser detection' as a search string. Quote Link to comment https://forums.phpfreaks.com/topic/57924-restricting-browsers-using-javascript/#findComment-287117 Share on other sites More sharing options...
proxximo Posted July 1, 2007 Author Share Posted July 1, 2007 THanks, Ill try that, I tried Browser restriction and it didnt work, thanks a bunch Quote Link to comment https://forums.phpfreaks.com/topic/57924-restricting-browsers-using-javascript/#findComment-287252 Share on other sites More sharing options...
roopurt18 Posted July 6, 2007 Share Posted July 6, 2007 I'm curious why you would want to do this. I don't think a sure-fire way to detect which browser the user is really using exists. Quote Link to comment https://forums.phpfreaks.com/topic/57924-restricting-browsers-using-javascript/#findComment-291619 Share on other sites More sharing options...
RichardRotterdam Posted July 7, 2007 Share Posted July 7, 2007 I kinda hate the browser restriction thing for sites that demand IE i use user agent switcher for firefox to decieve these sites Quote Link to comment https://forums.phpfreaks.com/topic/57924-restricting-browsers-using-javascript/#findComment-291867 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.