Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
How do i can block/denied Firefox browser user to visit my website?
Old 05-27-2008, 12:25 AM How do i can block/denied Firefox browser user to visit my website?
Average Talker

Posts: 15
Trades: 0
Hye all,

How do i can block/denied Firefox browser/etc browser user to visit my website? I only want fully 100% Microsoft Internet Explorer (IE) web browser only can visit my web site. This is because my web site is design just for IE. Can someone give me any referrer URL/website for this issue? It will be nice if someone can including with a coding/programming to do this.

Thanxs
xdefconx is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 05-27-2008, 01:50 AM Re: How do i can block/denied Firefox browser user to visit my website?
Experienced Talker

Posts: 35
Trades: 0
I don't believe you can do that...
__________________

Please login or register to view this content. Registration is FREE


Want to laugh? Check out PieJokes.cjb.net
Nike is offline
Reply With Quote
View Public Profile Visit Nike's homepage!
 
Old 05-27-2008, 04:16 AM Re: How do i can block/denied Firefox browser user to visit my website?
Average Talker

Posts: 15
Trades: 0
Quote:
Originally Posted by Nike View Post
I don't believe you can do that...
Yes i do a long time ago but i forget and lost that script since my hard disk was dead. That day i use that script to denied all of PC-base browser from viewing my mobile/wap web site. Anyone can help?, i need ASPX script.

This is browser string which that info can help to identify which browser to denied/allow.

http://www.zytrax.com/tech/web/browser_ids.htm

Thanxs
xdefconx is offline
Reply With Quote
View Public Profile
 
Old 05-27-2008, 12:22 PM Re: How do i can block/denied Firefox browser user to visit my website?
JeremyMiller's Avatar
WT Moderator

Posts: 1,712
Name: Jeremy Miller
Location: Las Vegas, NV
Trades: 0
Quote:
Originally Posted by Nike View Post
I don't believe you can do that...
Totally wrong.

See http://us2.php.net/manual/en/function.get-browser.php for what will help you.
__________________
Jeremy Miller

Please login or register to view this content. Registration is FREE
JeremyMiller is offline
Reply With Quote
View Public Profile Visit JeremyMiller's homepage!
 
Old 05-27-2008, 02:24 PM Re: How do i can block/denied Firefox browser user to visit my website?
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Quote:
This is because my web site is design just for IE
WHY would you do such a thing ? It's utterly ridiculous, not to mention RUDE beyond belief!! You have no right to dictate to anyone which browser to use, you'll just drive people away. Then, what about those people using OTHER browsers, like Linux and MAC users ?? People like me (and I'm hardly alone) will just go elsewhere rather than be forced to use THAT browser.

IMO, this is a case of a person who is unwilling to learn about cross-browser compatibility and putting forth the effort to make sites work in more than the one least standards-compliant browser
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 05-27-2008, 02:27 PM Re: How do i can block/denied Firefox browser user to visit my website?
JeremyMiller's Avatar
WT Moderator

Posts: 1,712
Name: Jeremy Miller
Location: Las Vegas, NV
Trades: 0
Amen LadynRed. I too just leave sites unless I can't b/c it's paying a CC bill.

Very well said!
__________________
Jeremy Miller

Please login or register to view this content. Registration is FREE
JeremyMiller is offline
Reply With Quote
View Public Profile Visit JeremyMiller's homepage!
 
Old 05-27-2008, 03:56 PM Re: How do i can block/denied Firefox browser user to visit my website?
Learning Newbie's Avatar
Defies a Status

Latest Blog Post:
Astounding Republican Paranoia
Posts: 5,662
Name: John Alexander
Trades: 0
Quote:
Originally Posted by LadynRed View Post
WHY would you do such a thing ? It's utterly ridiculous, not to mention RUDE beyond belief!! You have no right to dictate to anyone which browser to use, you'll just drive people away.
It's not rude - just dumb. It's his site, he can code it any way he likes, even puke green text on a puke green background. It would be sort of like if I said "You're all invited to have dinner at my house - but I'll be playing Yngwie Malmsteen at full volume."

Quote:
Originally Posted by xdefconx View Post
Yes i do a long time ago but i forget and lost that script since my hard disk was dead. That day i use that script to denied all of PC-base browser from viewing my mobile/wap web site. Anyone can help?, i need ASPX script.
In your page load event, add something like

if(!UserAgent.Contains("MSIE"))
Response.Redirect("http://www.google.com");

This is going to have the effect of sending ~30 % of your traffic away.
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
Learning Newbie is offline
Reply With Quote
View Public Profile
 
Old 05-27-2008, 05:17 PM Re: How do i can block/denied Firefox browser user to visit my website?
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Oh.. in my book it's definitely rude to deliberately alienate so many people.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 05-27-2008, 05:51 PM Re: How do i can block/denied Firefox browser user to visit my website?
Super Talker

Posts: 129
Trades: 1
I'm on your wavelength, LadynRed. Moving people away from your site because of your browser is wrong. I'd rather have someone see my site even if it doesn't look 100% correct. But then again, you are the admin and have the right to do whatever you like. But here at wemaster-talk, we are clever webmasters who give advice to others of what to do.

For now xdefconx try to use the scripts already supplied in the previous posts. My tip to you is to implement the piece of code (script) and while that is up, work really hard. You should work to make your site cross-browser compliant. Trust me, you don't want to lose SO much traffic. From my experience, 40% of my users are non-IE users. Obviously, that's too much traffic to lose.

So I don't want to insult your intelligence and call you stupid (not thinking about it before) but I say use the script and then make your site viewable on all major browsers.

Good Luck.
yourmediaking is offline
Reply With Quote
View Public Profile
 
Old 05-27-2008, 06:01 PM Re: How do i can block/denied Firefox browser user to visit my website?
beta's Avatar
Extreme Talker

Posts: 169
Trades: 0
I see your point red lady, but there are always gonna be folk that wanna do their own thing. Problem is that you cant have a help forum that can compare itself to a church-run abortion clinic... "You want to do WHAT?!?"...
beta is offline
Reply With Quote
View Public Profile
 
Old 05-27-2008, 06:05 PM Re: How do i can block/denied Firefox browser user to visit my website?
JeremyMiller's Avatar
WT Moderator

Posts: 1,712
Name: Jeremy Miller
Location: Las Vegas, NV
Trades: 0
@beta: Helping someone oftentimes means setting them in the right direction. Some churches do run centers to discourage abortion by providing other alternatives.

I, of course, continue to agree wholeheartedly with LadynRed.
__________________
Jeremy Miller

Please login or register to view this content. Registration is FREE
JeremyMiller is offline
Reply With Quote
View Public Profile Visit JeremyMiller's homepage!
 
Old 05-27-2008, 07:07 PM Re: How do i can block/denied Firefox browser user to visit my website?
Experienced Talker

Posts: 35
Trades: 0
Oh, didn't know you could do that.
__________________

Please login or register to view this content. Registration is FREE


Want to laugh? Check out PieJokes.cjb.net
Nike is offline
Reply With Quote
View Public Profile Visit Nike's homepage!
 
Old 05-27-2008, 07:49 PM Re: How do i can block/denied Firefox browser user to visit my website?
Learning Newbie's Avatar
Defies a Status

Latest Blog Post:
Astounding Republican Paranoia
Posts: 5,662
Name: John Alexander
Trades: 0
Quote:
Originally Posted by LadynRed View Post
Oh.. in my book it's definitely rude to deliberately alienate so many people.
That's only because you're especially polite.
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
Learning Newbie is offline
Reply With Quote
View Public Profile
 
Old 05-27-2008, 07:52 PM Re: How do i can block/denied Firefox browser user to visit my website?
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
LOL Could be.. or that I'm a lot older than most members here.. in my generation, politeness mattered. Today.. too many young people don't give a hoot about being polite..
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 05-27-2008, 07:55 PM Re: How do i can block/denied Firefox browser user to visit my website?
Learning Newbie's Avatar
Defies a Status

Latest Blog Post:
Astounding Republican Paranoia
Posts: 5,662
Name: John Alexander
Trades: 0
We got a thank you letter from someone we interviewed last week. How many people under 40 have ever heard of that?
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
Learning Newbie is offline
Reply With Quote
View Public Profile
 
Old 05-27-2008, 08:00 PM Re: How do i can block/denied Firefox browser user to visit my website?
JeremyMiller's Avatar
WT Moderator

Posts: 1,712
Name: Jeremy Miller
Location: Las Vegas, NV
Trades: 0
Well, LearningNewbie, not to counsel the mods, but is that on topic?

BTW: I'm 31 and have sent thank you letters myself (from when I was 17 on). It was recommended to me by an agency which trained kids in how to be an effective candidate for a job. And, that technique has always helped me stay head and shoulders above the rest. I even highly recommend it to all of my friends when they apply for jobs.

One time I sent a thank you card to a company where I didn't get the immediate job offering. They called me back 2 months later to offer me a job. I, of course, already had one by then, but it shows just how large of an impression such a thoughtful action can leave.
__________________
Jeremy Miller

Please login or register to view this content. Registration is FREE
JeremyMiller is offline
Reply With Quote
View Public Profile Visit JeremyMiller's homepage!
 
Old 05-28-2008, 01:00 PM Re: How do i can block/denied Firefox browser user to visit my website?
Banned

Posts: 34
Name: John
Trades: 0
Good Point Ladynred Xdefconx Look Up cross-browser compatibility and take the step's of Making You're Website Web Standard!!

Last edited by HxcDesignerXD; 05-28-2008 at 01:04 PM..
HxcDesignerXD is offline
Reply With Quote
View Public Profile
 
Old 05-28-2008, 04:20 PM Re: How do i can block/denied Firefox browser user to visit my website?
wayfarer07's Avatar
Poo on You

Latest Blog Post:
Introducing WowWindow
Posts: 3,987
Name: Abel Mohler
Location: Asheville, North Carolina USA
Trades: 0
xdefconx,

wrap your entire page in a conditional comment like this:

HTML Code:
<!--[if IE]>
YOUR WEBSITE GOES HERE
<![endif]-->
This is the easiest way to do it. However, the general consensus of this thread is absolutely correct, the premise of why you would want to do this is flawed. Firefox is becoming more popular every day, while Explorer becomes more standard with each release (more like the other browsers). I wouldn't cut out a growing portion of people.

Just for arguments sake, I believe the browser detect here:
Quote:
if(!UserAgent.Contains("MSIE"))
Response.Redirect("http://www.google.com");
is flawed, due to the old browser-wars leftovers, in which the various browsers imitate each other in their user strings. Opera, for example, imitated Explorer in the 90's in order to not be cut out of sites that were designed for that browser.

Although I would never recommend cutting out any major browser, this thread does bring up interesting topics.
__________________
I build web things. I work for the startup
Please login or register to view this content. Registration is FREE
.
wayfarer07 is offline
Reply With Quote
View Public Profile Visit wayfarer07's homepage!
 
Old 05-28-2008, 06:09 PM Re: How do i can block/denied Firefox browser user to visit my website?
Defies a Status

Posts: 1,606
Trades: 0
Quote:
Originally Posted by LadynRed View Post
LOL Could be.. or that I'm a lot older than most members here.. in my generation, politeness mattered. Today.. too many young people don't give a hoot about being polite..

It does matter. It is also a two-way street. You haven't that I know of, but how many posts have you seen online calling IE a POS?

What does that say about the users of the product of which I am one? I happen to prefer it and its 60 some % market share. More like 90% in the corporate world.

I will be far more satisfied with the product when it is removed from the core files and stands alone as a browser.

I think the OP was just yanking your chains for a little fun.

If not it is his site and he can do what he likes.
__________________
Colbyt

Please login or register to view this content. Registration is FREE
colbyt is offline
Reply With Quote
View Public Profile
 
Old 05-28-2008, 06:15 PM Re: How do i can block/denied Firefox browser user to visit my website?
JeremyMiller's Avatar
WT Moderator

Posts: 1,712
Name: Jeremy Miller
Location: Las Vegas, NV
Trades: 0
I think there's a difference, Colby, between denying users access to your site b/c you don't like their browser (or are incapable of supporting standards) and identifying that IE is a POS. Just because X% of people like a POS doesn't change the fact that it is a POS. And, I see nothing wrong with labeling something by a label which is apropos. I absolutely deplore MS and everything it has created (I can't think of one positive creation by that company). That doesn't mean that I make my sites only for quality browsers -- I just bite the bullet and tweak things 'til they "work".

P.S. I had to spend 3 hours reworking my system today b/c I upgraded to the newest version of the developer toolbar for IE. That has never happened with FF (to me).
__________________
Jeremy Miller

Please login or register to view this content. Registration is FREE
JeremyMiller is offline
Reply With Quote
View Public Profile Visit JeremyMiller's homepage!
 
Reply     « Reply to How do i can block/denied Firefox browser user to visit my website?

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.62266 seconds with 12 queries