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.

Coding Forum


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



Reply
Old 11-03-2005, 05:20 PM Firefox Block?
Junior Talker

Posts: 4
Trades: 0
Hi everyone

Is there anything i can do to block and stop firefox browsers viewing my site so that only Internet Explorer can view it?

If not is there any software that protects my site content against firefox?

Thanks
jammer2oo6 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 11-03-2005, 06:32 PM
0beron's Avatar
Defies a Status

Posts: 1,832
Location: Somewhere else entirely
Trades: 0
You can use the $_SERVER['HTTP_USER_AGENT'] variable to inspect the user agent string sent with the http request - I do this to give out alternate stylesheets to different browsers.

Can I ask why you want to exclude a sizeable proportion of your potential viewers? If people come across your site in FF they are likely to disappear ad never return. In what way are you 'protecting' your content - it's not as if Firefox will damage it or anything?!
__________________
UPDATE 0beron SET talkupation = talkupation + lots WHERE post = 'helpful';

Please login or register to view this content. Registration is FREE
(aka MSN handwriting for forums)

Last edited by 0beron; 11-03-2005 at 06:36 PM..
0beron is offline
Reply With Quote
View Public Profile Visit 0beron's homepage!
 
Old 11-03-2005, 08:43 PM
Republikin's Avatar
Defies a Status

Posts: 3,189
Trades: 3
Quote:
Can I ask why you want to exclude a sizeable proportion of your potential viewers? If people come across your site in FF they are likely to disappear ad never return. In what way are you 'protecting' your content - it's not as if Firefox will damage it or anything?!
I will echo that sentiment. I'm very curious.
__________________

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


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


Please login or register to view this content. Registration is FREE
Republikin is offline
Reply With Quote
View Public Profile
 
Old 11-04-2005, 05:49 AM
sdcdesign.co.uk's Avatar
Extreme Talker

Posts: 198
Location: High Wycombe, Buckinghamshire, London
Trades: 0
Me Three .....
__________________
[ Insert witty, yet highly intelligent signature here ]
sdcdesign.co.uk is offline
Reply With Quote
View Public Profile Visit sdcdesign.co.uk's homepage!
 
Old 11-04-2005, 07:15 AM Firefox Block
Junior Talker

Posts: 4
Trades: 0
The reason i want to protect my content is because my friend has been trying to get pictures from my site fro ages and he found a way evuntuall usin firefox and i was wanting to put a block on firefox users for a laugh

So how exactly do you do this?
jammer2oo6 is offline
Reply With Quote
View Public Profile
 
Old 11-04-2005, 12:38 PM
Miki's Avatar
Skilled Talker

Posts: 72
Name: Michael Stubbs
Location: Warrington, UK
Trades: 0
Errm...it's the same for IE. Anyone can steal your pictures. It's not exactly hard. All the methods I have seen for both IE and FF all have flaws or simple things that can be done by the user to disable them (well, most of the time).
Miki is offline
Reply With Quote
View Public Profile
 
Old 11-04-2005, 01:59 PM
0beron's Avatar
Defies a Status

Posts: 1,832
Location: Somewhere else entirely
Trades: 0
What pictures are these? Are they graphics as part of your layout? are they pictures you want people to pay for?

If they are part of your layout or just sitting there as images on your site, there's no way to stop people getting the images since the browser has to have a copy in order to display it.

For pictures you want to protect, you can put in place a login system such that only registered users can view the pictures. Using PHP this will work across all browsers too.

Blocking all firefox users just cos your friend happens to use it is plain daft IMO...
__________________
UPDATE 0beron SET talkupation = talkupation + lots WHERE post = 'helpful';

Please login or register to view this content. Registration is FREE
(aka MSN handwriting for forums)
0beron is offline
Reply With Quote
View Public Profile Visit 0beron's homepage!
 
Old 11-04-2005, 05:23 PM Firefox block
Junior Talker

Posts: 4
Trades: 0
I know it sounds daft but my site if just a personal one i made and i just want to block firefox browsers from viewing it but my sites server doesnt support PHP,Perl or ASP so i cant use these but isint there like a HTML script that checks what browser you have and blocks the one i want like Fire Fox?
jammer2oo6 is offline
Reply With Quote
View Public Profile
 
Old 11-04-2005, 06:37 PM
0beron's Avatar
Defies a Status

Posts: 1,832
Location: Somewhere else entirely
Trades: 0
Nope. HTML is a markup language, not a scripting language.
__________________
UPDATE 0beron SET talkupation = talkupation + lots WHERE post = 'helpful';

Please login or register to view this content. Registration is FREE
(aka MSN handwriting for forums)
0beron is offline
Reply With Quote
View Public Profile Visit 0beron's homepage!
 
Old 11-06-2005, 12:02 PM
Average Talker

Posts: 20
Location: Benevento
Trades: 0
Here is a javascript sample to redirect the user (you can do anything that you want) that don't have microsoft Internet Explorer.


HTML Code:
<html>
<head>
<title>test browser</title>
<script language="javascript" type="text/javascript">
var mybrowser = navigator.userAgent.toLowerCase();

if ( mybrowser.indexOf('msie') == -1)
{
    location.href = "http://www.disney.com"; //redirect the user to another page
}
</script>
</head>
<body>
your page
</body>
</html>
In any case the users can disable javascript or change useragent (yes, it can be done) and have access to your page even with a non MS IE browser.
Anyone can take your images if those are available from the webserver,
also embedding the images within flash movies or particular plugins will not be enough.

uhm a useless thread ?
__________________

Please login or register to view this content. Registration is FREE
j2be is offline
Reply With Quote
View Public Profile Visit j2be's homepage!
 
Reply     « Reply to Firefox Block?
 

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.33144 seconds with 12 queries