473,800 Members | 2,647 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Open IE Window from Firefox

Greetings,

I want users to browse the site with IE since my pages are not well
displayed in firefox. I created a client script and hooked it to a Redirect
button. This button will show as users open the site with firefox. It did
open a new window, but the firefox window. I need this window to be IE
window.

I need your help, thanks.

--Calsun
Nov 19 '05 #1
2 1273
Add browser caps (in web.config) for firefox, and it will probably look good
here too:

<!-- 2003-12-03, Rob Eberhardt -
http://slingfive.com/pages/code/browserCaps/ -->

<browserCaps>
<!-- GECKO Based Browsers (Netscape 6+, Mozilla/Firebird, ...) //-->
<case match="^Mozilla/5\.0 \([^)]*\) (Gecko/[-\d]+)?
(?'type'[^/\d]*)([\d]*)/(?'version'(?'m ajor'\d+)(?'min or'\.\d+)(?'let ters'\w*)).*">
browser=Gecko
type=${type}
frames=true
tables=true
cookies=true
javascript=true
javaapplets=tru e
ecmascriptversi on=1.5
w3cdomversion=1 .0
css1=true
css2=true
xml=true
tagwriter=Syste m.Web.UI.HtmlTe xtWriter
<case
match="rv:(?'ve rsion'(?'major' \d+)(?'minor'\. \d+)(?'letters' \w*))">
version=${versi on}
majorversion=${ major}
minorversion=${ minor}
<case match="^b" with="${letters }">
beta=true
</case>
</case>
</case>

<!-- AppleWebKit Based Browsers (Safari...) //-->
<case
match="AppleWeb Kit/(?'version'(?'m ajor'\d)(?'mino r'\d+)(?'letter s'\w*))">
browser=AppleWe bKit
version=${versi on}
majorversion=${ major}
minorversion=0. ${minor}
frames=true
tables=true
cookies=true
javascript=true
javaapplets=tru e
ecmascriptversi on=1.5
w3cdomversion=1 .0
css1=true
css2=true
xml=true
tagwriter=Syste m.Web.UI.HtmlTe xtWriter
<case
match="AppleWeb Kit/(?'version'(?'m ajor'\d)(?'mino r'\d+)(?'letter s'\w*))(
\(KHTML, like Gecko\) )?(?'type'[^/\d]*)/.*$">
type=${type}
</case>
</case>

<!-- Konqueror //-->
<case
match="Konquero r/(?'version'(?'m ajor'\d+)(?'min or'\.\d+)(?'let ters'));\w*(?'p latform'[^\)]*)">
browser=Konquer or
version=${versi on}
majorversion=${ major}
minorversion=${ minor}
platform=${plat form}
type=Konqueror
frames=true
tables=true
cookies=true
javascript=true
javaapplets=tru e
ecmascriptversi on=1.5
w3cdomversion=1 .0
css1=true
css2=true
xml=true
tagwriter=Syste m.Web.UI.HtmlTe xtWriter
</case>

<!-- OPERA 5+ //-->
<case match="Opera[
/](?'version'(?'m ajor'\d+)(?'min or'\.\d+)(?'let ters'\w*))">
browser=Opera
type=${type}
frames=true
tables=true
cookies=true
javascript=true
javaapplets=tru e
ecmascriptversi on=1.5
w3cdomversion=1 .0
css1=true
css2=true
xml=true
tagwriter=Syste m.Web.UI.HtmlTe xtWriter
<case
match="rv:(?'ve rsion'(?'major' \d+)(?'minor'\. \d+)(?'letters' \w*))">
version=${versi on}
majorversion=${ major}
minorversion=${ minor}
<case match="^b" with="${letters }">
beta=true
</case>
</case>
</case>

</browserCaps>
Nov 19 '05 #2
Can't be done. You don't have any control over the user's computer.
Only the contents of their browser.

Why not just use standard HTML & CSS so your site will render on
different browsers?

Jason Kester
Expat Software Consulting Services
http://www.expatsoftware.com/

Nov 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
4795
by: Merlin | last post by:
Hi there, I have a serious problem with opening a new window with the help of JavaScript. The problem only occures with Firefox. Once you click on the item which fires up the open function, the new window opens up, but in the background the original window loads the homepage. I cant find a way to fix this so the site remains in the old window. Please have a look, if you click on the picture with the car you will see the problem.
8
5660
by: Dominic Tocci | last post by:
I'm searching for a way to use window.open on my web page to open a window in firefox that allows the sidebars to work (bookmarks, history, etc). When I use the following: var popWindow=window.open('http://www.yahoo.com','','width=600,height=400,toolbar=1,location=1,menubar=1,resizable=1,titlebar=1,directories=1,status=1,scrollbars=1'); the sidebars are disabled. I click on the buttons for bookmarks and history and they do nothing. I...
23
6416
by: Markus | last post by:
Hi, i have this problem: Sometimes, i can't reproduce, if i click on an small image on the website, the popup _AND_ an other Tab in firefox open. Here are the linkcode: <div align="center">
4
3606
by: Csaba Gabor | last post by:
Up until a few weeks ago, javascript code like window.open("http://mydomain.com", "windowName"); would always bring my new or reused window to the top, with focus. Lately, Firefox (Deer park alpha 2) only brings it to the top if the window is new. If it's being reused, the window does not come to the foreground (with IE 6 it does). Is there a new way in Mozilla/Firefox that I can ensure that this
13
22176
by: tochiromifune | last post by:
Hello The window.open method brings my window to the top only if it is new. If it's being reused, the window does not come to the foreground (with IE 6 it does). Is there a new way in Mozilla/Firefox that I can ensure that this window comes to the top? Thank you for your help
18
3350
by: len.hartley | last post by:
Hi, I am trying to pop-up a window when the user clicks on an image. The problem is that when the user clicks on the image and the window pops up OK, but the window underneath also proceeds to the image. The desired behavior is that when the pop-up is invoked, I want the underlying window to stay put. I don't have this problem when I run the code on my local computer but I do have it when I run the code on geocities.
4
3271
by: arajunk | last post by:
In Firefox this opens a full size window (maximized) . In IE it opens the partial window requiring user to click restore (upper right) to maximize. What am I missing ? var infoWindow=window.open('usgsMain.html','USGSwindow','status=no,resizable=yes,scrollbars=yes');
4
9829
by: deBaer | last post by:
Hi! For an in-house web application (it will only be deployed on Firefox browsers with JavaScript turned on), I need to open a preview window (which needs to be a separate window, even if Firefox is set to open targeted links in new tabs) and be able to change the preview window's location.href from the opening window, even after a new page is loaded into that window. Is there any way to do that?
7
17910
by: chambers.anya | last post by:
Hi, I've just been scouring the web trying to find an answer for how to do this but so far without any success. Basically I want some of the links in my page to open in new tabs (I'm using Firefox) or windows if the user has their options configured that way. And I want my page to remain intact as it involves some AJAX and takes a while to load. But ...and this seems to be a big "but"... I don't want the focus to
0
9694
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9553
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10509
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10281
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10256
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10039
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9095
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7584
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
3
2953
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.