This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "How to make a URL should always open using Firefox" Watch "How to make a URL should always open using Firefox" New topic

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

Joined: Sep 21, 2011
Posts: 2409
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: 95
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
rocket mass heater kickstarter
subject: How to make a URL should always open using Firefox