Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes HTML, CSS and JavaScript and the fly likes How to make a URL should always open using Firefox Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply Bookmark "How to make a URL should always open using Firefox" Watch "How to make a URL should always open using Firefox" New topic
Author

How to make a URL should always open using Firefox

Vijay Gadde
Ranch Hand

Joined: Sep 30, 2008
Posts: 54
Hi Ranchers, may be I look silly to you..but this is actual requirement.

We have intranet website in our company, and it has Hyperlink for peoplesoft - and this peoplesoft application support only Firefox.

Users always use IE6 to browse intranet webiste, but when users select this PEOPLESOFT Hyperlink it should open new window - using Firefox .

Could some one give a idea on this, one option i been searching for code - using Java script we could control this - but how??

Any suggestions or code snippets would be great help.

Thanks and regards,VIJAY.


Vijay Gadde
Coming together is a beginning. Keeping together is progress.. Working together is success........
Tim Moores
Rancher

Joined: Sep 21, 2011
Posts: 2407
No, you can't control this - it's a setting under the control of the user. What you can do is detect if a non-Firefox browser is used, and in case it is -instead of the link- show a message to the effect of "you need to be using Firefox to proceed".
jhon masco
Ranch Hand

Joined: May 13, 2010
Posts: 93
Hi Vijay
Sorry for the delay.
1) I think that you must put a small comment beside the link or something similar explaining about this to the user.

2) Or just show the link when the user open the page with firefox

3) use try this code but.... what happend if the user have not installed firefox?
I modified and tried it and i wont be able to run Firefox in my pc.


or this

MOre theory information here
I personally dont like the third option
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: How to make a URL should always open using Firefox
 
Similar Threads
re:How to use hyperlink in applet
how to use function javascript key word as an attribute in javascript
Problem in opening PDF or FDF in Firefox?
open a heper link in a new window using trinidad tags
Reduce Excel XML file size