Is there a way I can detect if Firefox opens a specific URL in an IE tab?

I have a web page that links to another web application, which, unfortunately, only works fully in IE, so when I view the source page with a different browser (e.g. Chrome or Safari), I show a warning that the application is not will work fully if not open in IE.

Of course, some experienced Firefox users have the IE tab extension and set it up so that the problematic web application always opens on the IE tab. These users would have preferred this if my intrusive warning had not been shown to them, as this is not necessary.

So, is there a way for my webpage to detect that the URL will open in the IE tab? I guess this will require an extension to somehow expose this information, since Firefox usually does not allow javascript access to the settings for security reasons.

+3
source share
1 answer

I'm not sure how the FF IE tab works, but I assume that they share a cookie, set a cookie when it is IE, and check to see if it exists and do not show a warning. This will remove the warning only after the first use, if my assumption of cookies is correct.

- , css: puseudo, , XPI firefox.

+2

Source: https://habr.com/ru/post/1715843/


All Articles