markcunningham07 Posted July 9, 2010 Share Posted July 9, 2010 Hi, Is there is a way i can stop users from opening my website on Firefox. (allow only internet explorer) Thank you Quote Link to comment https://forums.phpfreaks.com/topic/207200-disable-users-from-opening-website-on-firefox/ Share on other sites More sharing options...
haku Posted July 9, 2010 Share Posted July 9, 2010 No. And why would you want to? IE sucks. FF is a far superior browser. I could understand the other way around - not wanting people to use IE, but... Anyways, the best you can do is detect their user agent and feed them a page saying they cannot view the site on their browser. But I think you will find that 99.99% of people who come across a page like that will not bother to open IE to see it. There is a reason we don't use IE (see above). Quote Link to comment https://forums.phpfreaks.com/topic/207200-disable-users-from-opening-website-on-firefox/#findComment-1083356 Share on other sites More sharing options...
markcunningham07 Posted July 9, 2010 Author Share Posted July 9, 2010 Thanks for the advice, anyway i found a method to hide the content from Firefox viewers. Quote Link to comment https://forums.phpfreaks.com/topic/207200-disable-users-from-opening-website-on-firefox/#findComment-1083366 Share on other sites More sharing options...
N1CK3RS0N Posted July 9, 2010 Share Posted July 9, 2010 Interesting. Just curious but why would you not want FF users to be able to access a site? Quote Link to comment https://forums.phpfreaks.com/topic/207200-disable-users-from-opening-website-on-firefox/#findComment-1083398 Share on other sites More sharing options...
markcunningham07 Posted July 10, 2010 Author Share Posted July 10, 2010 Its hard to secure contents on firefox, Firefox is the best way if you want to rip some ones website. i dont wat some one to rip my website. Quote Link to comment https://forums.phpfreaks.com/topic/207200-disable-users-from-opening-website-on-firefox/#findComment-1083987 Share on other sites More sharing options...
trq Posted July 10, 2010 Share Posted July 10, 2010 Websites need to be downloaded to be viewed so it doesn't matter what browser your users are using they can get your codes source. Quote Link to comment https://forums.phpfreaks.com/topic/207200-disable-users-from-opening-website-on-firefox/#findComment-1083990 Share on other sites More sharing options...
ignace Posted July 10, 2010 Share Posted July 10, 2010 Its hard to secure contents on firefox, Firefox is the best way if you want to rip some ones website. i dont wat some one to rip my website. LOL I'll tell my Firefox to send a IE user-agent header Quote Link to comment https://forums.phpfreaks.com/topic/207200-disable-users-from-opening-website-on-firefox/#findComment-1083991 Share on other sites More sharing options...
markcunningham07 Posted July 11, 2010 Author Share Posted July 11, 2010 Sorry i wasn't specific. I am broadcasting live channels. i want to hide controllers of windows media player embedded to HTML page. after searching long time i didnot find any code that hide controllers on firefox, it only works on IE. I have nothing against FF or IE. They are both great browsers used by users. http://www.w3schools.com/browsers/browsers_stats.asp Firefox is currently the most used browser. so disabling my sound to you a big downside for my website. But since i am offering rare content users will do anything to watch them, even if i charge them they'll be willing to pay. (I like sharing so i give it free) Anyway, This forum is very useful, thanks for creating something like this. Quote Link to comment https://forums.phpfreaks.com/topic/207200-disable-users-from-opening-website-on-firefox/#findComment-1084326 Share on other sites More sharing options...
trq Posted July 11, 2010 Share Posted July 11, 2010 Firefox is currently the most used browser. On that web site. And that makes sense, because its a web site related to web development and FF has better tools available. Quote Link to comment https://forums.phpfreaks.com/topic/207200-disable-users-from-opening-website-on-firefox/#findComment-1084343 Share on other sites More sharing options...
ignace Posted July 11, 2010 Share Posted July 11, 2010 Sorry i wasn't specific. I am broadcasting live channels. i want to hide controllers of windows media player embedded to HTML page. after searching long time i didnot find any code that hide controllers on firefox, it only works on IE. That's because you need the WMP plugin for FF Quote Link to comment https://forums.phpfreaks.com/topic/207200-disable-users-from-opening-website-on-firefox/#findComment-1084345 Share on other sites More sharing options...
markcunningham07 Posted July 11, 2010 Author Share Posted July 11, 2010 I have the plug-in [http://port25.technet.com/pages/windows-media-player-firefox-plugin-download.aspx] , i just need to hide media player controllers. If you guy know the code please post it. THis is my current Code <OBJECT ID="Video" classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95" type="application/x-oleobject" VIEWASTEXT style="width: 532px; height: 302px"> <PARAM NAME="FileName" VALUE="Media URL"> <PARAM NAME="ShowControls" VALUE="True"> <PARAM NAME="ShowStatusBar" VALUE="True"> <PARAM NAME="TransparentAtStart" Value="True"> <PARAM NAME="AutoStart" Value="True"> <PARAM NAME="AnimationatStart" Value="True"> <PARAM NAME="autoSize" Value="false"> <PARAM NAME="displaySize" Value="False"> <PARAM NAME="enableContextMenu" Value="False"> <PARAM NAME="uiMode" Value="invisible"> <EMBED type="application/x-mplayer2" pluginspage = "http://www.microsoft.com/Windows/Downloads/Contents/Products/MediaPlayer/" SRC="Media URL" Name="MediaPlayer1" Width="305" Height="250" autoStart=1 transparentAtStart=1 animationAtStart=1 autoSize=0 ShowStatusBar=1 ShowControls=1 displaySize=0 enableContextMenu=0 uiMode="invisible" align="center"> </EMBED> </OBJECT> Sorry i wasn't specific. I am broadcasting live channels. i want to hide controllers of windows media player embedded to HTML page. after searching long time i didnot find any code that hide controllers on firefox, it only works on IE. That's because you need the WMP plugin for FF Quote Link to comment https://forums.phpfreaks.com/topic/207200-disable-users-from-opening-website-on-firefox/#findComment-1084582 Share on other sites More sharing options...
markcunningham07 Posted July 11, 2010 Author Share Posted July 11, 2010 ShowControls=0 Quote Link to comment https://forums.phpfreaks.com/topic/207200-disable-users-from-opening-website-on-firefox/#findComment-1084583 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.