opening microsoft edge or chrome or (another browser (cascading)) on hyperlink [duplicate] - html

This question already has answers here:
Open IE browser in Firefox/Chrome page
(4 answers)
Closed last year.
Register
Above is my current a href tag.
Here's what I want to do:
For example I'm currently on google chrome, I want the link above be opened first on Microsoft edge, and the user doesn't have it, it would open internet explorer, if not google chrome, if not opera... etc.
ALSO. When I open the link, it also opens on the browser I'm using. How do I make it 'not' open on my current browser and only on the new one?
Thanks in advance. I'm using this on a patcher for a game I'm making, in-case you're wondering.

Its actually impossible to do it..
You can try creating custom domain using registry for testing purposes only..

Related

Is it possible for a website to know if i open another browser?

Websites can track if i open new tab . Can they track me if i open another browser ?
I researched on internet but i only found information related to tabs so i guess it's not possible.I have seen websites showing that if user is idle and can they tell the same if i haven't closed the browser but i have opened another browser ?
For example i have opened some website on google chrome . If i open Firefox without minimizing the google chrome, will the website on google chrome able to know this ?
Websites cannot use cookies from two browsers so i think they cannot track.

.NET Web Application Set Link to Open Only One New Tab in IE11

I'm working on a web application (IIS) targeting .NET 4.0 using Visual Studio 2015.
I have a link to a third party that I want to open in a new tab. However, if the user has already clicked it and opened the new tab and then they click the link again I don't want it to open yet another tab - it should use the tab it opened the first time they clicked.
I created a custom target name, as per this question:
How to limit the link open only once in new tab?
This works beautifully in Chrome, Firefox, and even Edge. However, it does not work in Internet Explorer - every click opens yet another tab, the same as setting the target to _blank
Unfortunately we are required to support IE11. Is there a way to get this to work in IE11?
EDIT: link code working in all but IE11
<a target="ThirdPartyLink" linkinfo="../THIRDPARTY/THIRDPARTYSSO.ASPX" href="#">Facility</a>
I finally got it to work in IE11 by adding the third-party URL to my Trusted Sites.

How to change browser from IE to Chrome on Hyperlink click [duplicate]

This question already has answers here:
Can I force a link to open in a specific browser?
(6 answers)
How can I open a link in the default web browser from an HTA?
(2 answers)
Closed 2 years ago.
I have one application which default open in IE browser. On the home page, there is link. if we click that link, application open in another tab of IE but I want to change the browser also.
<!DOCTYPE html>
<html>
<body>
<p>Open link in a chrome browser Visit Dotnet Tutorial</p>
</body>
</html>
If I click on Visit Dotnet Tutorial, it should open in chrome. How to setup browser also in Hyperlink.
Please help on this.
thanks
Place this code in between head tag.
<script type="text/javascript">
function openURL()
{
var shell = new ActiveXObject("WScript.Shell");
shell.run("Chrome https://google.com");
}
</script>
and use anchor tag like this.
<a href="#" title="your wish" onclick="openURL()">
Based on an answer to How can I open a link in the default web browser from an HTA? by Johnny Buchanon - Oct 9 2008.
This is not possible from the HTML.
Browser is chosen based on the Operating System settings.
Yours is obviously IE.
If you own the dotnet-tutorial page, you can set up a browser check there
and add a notification like:
"This page works best in Google Chrome"
This question explains how to detect browser:
How to detect Safari, Chrome, IE, Firefox and Opera browser?
Extension to Ajay's answers if ActiveX - Automation Server Can't Create Object and link doesnot open in chrome
please follow this steps:
a) Go to Tools-->Internet Options
b) Select security tab
c) Click on Trusted Sites (or Local Intranet depending on whether your site is trusted or not)
d) Click on Custom Level
e) Ensure that "Initialize and script active x controls is not marked safe for scripting" is enabled - this comes under Activex controls and plug-ins section towards 1/4th of the scroll bar.
Click OK, OK.
Once this is completed, clear the browser cookies and cache. Close all your browser sessions. Reopen the IE to launch your site.

HTML 5 Geo Location Browser prompt

I've a very simple HTML 5 app which tries to determine the users's current location.
Per the spec, supported browsers are supposed to show a prompt like this: "{XYZ} Would like to know your current location".
What does it work?
This is working fine if I open a broser window and directly open that page.
What it doesn't work?
However, when I get directed to that page via the link I don't see the prompt and an empty page. I have to refresh the page to see the browser prompt. I used FireFox 11 and Chrome on my iPhone 4.
Thanks,
You don't have any control over this as it's implemented by the browers.
As a side note, the Geolocation API is not part of HTML5, it's a W3C specification.

Force links in lotus notes emails to always open in a new window?

I'm using C# to generate emails that are read using Lotus notes. The problem is we want the links to always open up in a new window in IE but they always open in the same window when I use "Lotus Notes - Basic Edition" (8.0.1) but when I use the regular lotus notes 8.0.1, they always open up in a new window. I tried looking around in the preferences but can't find a setting that'll explain this.
(note: I'm using IE 8 as my default browser. If I change it to chrome or FF this doesn't happen)
Not sure you are still facing this problem or not, but for the sake of other users posting the solutions.
In Location Preferences, under Internet Browser, don't select "Microsoft Internet Explorer", instead select others and then browse to path of Internet Explorer -
"C:\Program Files\Internet Explorer\IEXPLORE.EXE"
Save it. Now your links will always open in different IE window.
When you generate the emails, are you able to enter HTML code for the links? If so, perhaps you just need to add a target="_blank" attribute?
The preferences for which browser to use in Lotus Notes are set on the client's location document, so I'm not sure if that's part of the issue your having?
This sounds more like an admin question, but the link will get opened based on the preferences in the individual client. In 8 basic the location document controls this. Edit the current location document and go to the Internet Browser tab. You can then choose which browser to use. It sounds like you have it set to use IE inside notes, rather than separately.
The fact you can open links properly with Firefox, Chrome means the issue is not with Lotus Notes.
I have seen issues where IE wasn't working with _Blank. Switching off UAE resolved the issue.