BooZker 0 Report post Posted January 6, 2007 I need a script for Safari visitors for my forum. My forum works on all browsers except safari. Even my actual site works for safari just not the forum. I have looked on the google, here, and javascript.internet.com and i am unable to find a script for a Safari browser redirect. Can someone help? Just what Safari would be named in javascript would be enough. Or if someone here know whats wrong with my forum at http://forums.xisto.com/no_longer_exists/ on Safari tell me how to fix it. Share this post Link to post Share on other sites
Saint_Michael 3 Report post Posted January 6, 2007 I should get full copyrights to your site booz here is the javascript you will need. However this will open redirect on browser types, which means you have to set up all your pages based on that browser. Annoying yes, but of course by then you start using php includes and then just edit those files and nothing else. <script language="JavaScript"><!--browserName=navigator.appName;browserVer=parseInt(navigator.appVersion);if ((browserName=="Netscape" && browserVer>=4) || (browserName=="Microsoft Internet Explorer" && browserVer>=4))version="ver4";elseversion="other";/* Version 4 browser URL */if (version=="ver4")window.location="http://someplace.com/ver4.html";/* Other browsers URL */elsewindow.location="http://someplace.com/other.html";//--></SCRIPT> You can remove the version stuff it won't effect it at all. Share this post Link to post Share on other sites
BooZker 0 Report post Posted January 13, 2007 If there is anything i can do to repay you just let me know. So i just have to type in Safari? This will actually work if i just type in that name? Share this post Link to post Share on other sites