This question already has answers here:
Open IE browser in Firefox/Chrome page
(4 answers)
Closed 7 years ago.
I am running my web application on Firefox. I have hyperlink on one of the page and when I click on it, it opens another application as a new popup.
But that application is not supported on Firefox. So I want to open it in Internet Explorer, i.e., though I am running the application on Firefox, that particular popup should open in Internet explorer. I am using this to open new window:
var win = window.open(url, "NewWindow", strFeatures);
You can't do this with just ordinary JavaScript; as Levi notes, if you could, that would be a usability and security nightmare.
That said, there are a couple of ways you could get something like this to work. For example, a Firefox add-on can launch external programs, so you could write such an add-on to open your app in IE, and ask your users to install it (or have an admin pre-install it for them, if this is e.g. for an in-house app in a managed workplace setting).
Another possibility might be to use a custom URL scheme (like myapp:) to link to your application, and register that URL scheme to be opened in IE (or, rather, in some kind of a wrapper script that takes the custom URL, converts it to a normal HTTP URL, and opens it in IE). Again, though, this requires configuring (and, probably, installing a script on) the end-user's computer, so it's probably only suited for office or similar environments.
Note that both of these solutions have security implications that you should keep in mind. In particular, any add-on or script you use for them should only work for specific URLs that point to your app, and should refuse to open any other URLs someone might try to feed it.
In any case, if you're trying to do this for a public website, keep in mind that there's no way you can make this work for Linux / Mac users who don't have IE to begin with. And even many Windows users might be reluctant to use IE (not to mention installing an untrusted extension!) without a very good reason; after all, there's presumably a reason why they chose to use Firefox (or Chrome or Opera or whatever) in the first place.
That's not possible and for good reason. Just think of what someone clever -- arguably -- could do if they could cause various programs to run on your computer because you clicked a link on a website...
This is what you're trying to do...run another native application from clicking a link in a browser.
Why not just use Internet Explorer for everything since it works for the pop up?
Related
For example, in chrome you can have 25 tabs plus, is their an application to treat multiple open browsers on the task bar in one single window and switch between these browsers as if the were tabs?? i am new to the world of programming and this would likely be come my first project if needed. Cheers!
As i'm not so sure to understand. But i think i may cover everything to answer. If you are talking about "group" of process from the same application that will merge or show separate on your taskbar.
If you are asking to create your own application that will be able to group many browser window on the same application interface. Maybe you can look at electronjs and get some idea from the galery.
If you are talking about being able to manage browser window/tabs with customs features/options. You can look at Browser extension (when we are talking for google) or browser Add-on (firefox) . Both company is offering tools and tutorials and workshop that will let create an easy Apps that you would be able to turn into Browser extension ( If you are using chrome, at the same area you will put keywords for search or a full url, you can put chrome://extensions/ and you'll be direct on the extensions gallery.
You can also take a look if you want to create something that will use the chrome engine. https://www.chromium.org/Home
If you got more concern about building around "user privacy respect" , you can take a first look at Mozilla Firefox Developer Your first extenzion
For both you can also just browser apps/extensions already build from other users
I have designed a website using Firefox and am now looking to integrate a softphone into the webpage, but unfortunately it is made with ActiveX, so Firefox won't support it.
I have tried opening my page in IE9, and it looks a mess because I've used CSS3 for a lot of it and haven't coded it for different browsers because we will only be using Firefox within the office.
Is there a way that I can tell my page in Firefox to specifically open a new page in Internet Explorer and just have the softphone in there? Or is there a way to get ActiveX running in Firefox with a plugin or something?
You can open a link in Microsoft Edge from any browser by adding microsoft-edge: in front of the url in the HREF.
EDGE (works)
I don't know how to get it to work in other browsers though. My team and I spent quite a bit of time on it and couldn't find a raw HTML/JavaScript solution.
I don't think you can open a IE window from firefox, but you can easily build a firefox plugin based on your activex using http://code.google.com/p/ff-activex-host/
It really depends on your exact situation.
If you are targeting multiple users outside a corporate network this is hardly possible to achieve. However, if you are targeting your company's network it's possible to do this using custom protocol.
Your link then would look like: ie://opens_in_ie.com
You'll have to make changes to registry of target computers though. More info about custom protocols is available here: http://msdn.microsoft.com/en-us/library/aa767914%28v=vs.85%29.aspx
In most cases, system administrator can do this remotely.
IETab V2 will let you open a tab within Firefox that runs the IE engine.
Once installed, you can force a link to open with IE by formatting the URL or bookmark like this:
chrome://ietab2/content/reloaded.html?url=http://domain.com
It's somewhat specific, but I created an internal site at work, and I wanted to link to another internal site that only works in IE. To do this, I created/defined my own application protocol in the registry. Then I added to my links the protocol header. This is similar to what apple does when you click a link and it opens iTunes. The downside to this approach, however, is that users will have to install the registry modification for it to work... like I said, it's really a solution for a very specific scenario.
Same answer as from chuck wallace
If you want to start from for example in Internet Explorer, go to C:\Program Files\Internet Explorer\iexplore.exe and create a shortcut to the Desktop.
When you check the properties from this created shortcut, you will see the Target: C:\Program Files\Internet Explorer\iexplore.exe.
Now you can place the shortcut from the website, behind the Target. It will show something like this: C:\Program Files\Internet Explorer\iexplore.exe www.nu.nl. Or this C:\Program Files\Internet Explorer\iexplore.exe https://stackoverflow.com.
This way it opens IE first and then the website.
This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
disabling chrome cache for website development
I'm working on a web app that is unfortunately built around frames. Before switching to Chrome, I used the web developer toolbar in firefox to disable cache. While I would rather do this for a single site, it worked well.
In Chrome, the Dev Console -> General -> Disable cache does not work all the time, but if I manually delete the cache it works fine. Some may say to just use the hard refresh shortcut, but the nature of my application would require me logging in each time I do this.
Is there anything else I can do? This would really save me a good bit of time in Dev and its the only remaining thing I miss from firefox :/
click on the wrench in the upper right hand corner of chrome and select "new incognito window". Using an incognito window will fix all your caching problems. I use it sometimes when developing, its useful.
There is a method that is not dependent on browser. If you surf to www.abc.com the browser might save data in cache. But, if you change the url, no chace will be used. So, just browse to www.abc.com?r=. This way the browser will think the page is different and will not use cache.
Hope this is help!
Web Developer is available for Chrome too. While it doesn't allow to completely disable caching it still has a very accessible "Clear cache" option.
There is also a wrench icon on the bottom right side where you can permanently disable cache. Take a look at this.
Is it possible to open an actual explorer window rather than have the look in directory on your browser?
So like the windows key + e window... preferably using html or JavaScript?
I've seen it been done in a Firefox add-on called new tab king, but i couldn't figure out how to split up this code.
Most, if not all, javascript is blocked from interacting with anything outside of the browser.
You maybe able to accomplish it with a flash based object. Like they use for some of the copy and paste techniques using javascript.
Its a huge security hole to open up the javascript to the windows environment.
I could ust open a hidden file browser and start coping files, or load something on to your system.
This is not reliably possible using pure HTML/JavaScript.
In general, website maintainers cannot use JavaScript to force the browser to open an application in a specific way, because that would heavily impact the user experience.
No, not definitely not using HTML and hopefully not in pure JavaScript.
Probably possible using some horrid ActiveX control in Internet Explorer but you really don't want to go down that route.
http://i.imgur.com/s4ZQI.png (Can't post image because I'm a new user)
Age old question; is there any way to make a piece of JavaScript safe to use on Internet Explorer without having the security warning popup box. The JavaScript I'm using is simply a drop-down sub-menu that appears when you hover over a link.
If it's something to do with the way the JavaScript is coded, I can link if needed.
Thanks
Assuming that your problem is caused by testing pages from your local disk (and not through some really esoteric scripting) either:
Run a web server and test your pages on that
Give your pages the mark of the web
The point being to run them in a security context that allows scripts to execute.