Our web browser plugin works fine in IE9 and IE10 but in IE11 the plugin is neither recognized as an add-on or allowed to run. It's as if IE11 no longer supports ActiveX.
Surely there is a workaround but what do we need to change?
NOTE: this questions is asked as the developer of the plugin and not the end-user who might need to correct IE settings!
IE displays a active x warning and ask for permission if you allow it to run or not. To overcome this the only solution is to;
Open Internet Explorer.
Click the Tools menu, and then click Internet Options.
On the Security tab, click the Custom level button.
Scroll down the Security Settings list until you see ActiveX
controls and plug-ins.
For Automatic prompting for ActiveX controls, click Enable.
Scroll down to Download signed ActiveX controls and click Enable or
Prompt.
Scroll down to Run ActiveX controls and plug-ins and click Enable or
Prompt.
Scroll down to Script ActiveX controls marked safe for scripting and
click Enable or Prompt.
Click OK, and then click OK again.
There is no way to overcome this issue except changing manually Internet explorer settings. Try checking if plugin works fine while changed settings. If its still not working or not showing any warning is display try checking console for other errors which are not related to active x. Good luck!
Does IE11 displays any message relative to the blocked execution of your ActiveX ?
You should read this and this.
Use the following JS function to detect support of ActiveX :
function IsActiveXSupported() {
var isSupported = false;
if(window.ActiveXObject) {
return true;
}
if("ActiveXObject" in window) {
return true;
}
try {
var xmlDom = new ActiveXObject("Microsoft.XMLDOM");
isSupported = true;
} catch (e) {
if (e.name === "TypeError" || e.name === "Error") {
isSupported = true;
}
}
return isSupported;
}
There is no solution to this problem. As of IE11 on Windows 8, Microsoft no longer allows ActiveX plugins to run in its browser space. There is absolutely nothing that a third party developer can do about it.
A similar thing has recently happened with the Chrome browser which no longer supports NPAPI plugins. Instead Chrome only supports PPAPI plugins which are useless for system level tasks once performed by NPAPI plugins.
So developers needing browser support for system interactive plugins can only recommend either the Firefox browser or the ASPS web browser.
Here's how I got it working:
Include your URL in IE Trusted Sites
run gpedit.msc (as Admin) and enable the following setting:
gpedit->Local->Computer->Windows Comp->ActiveX Installer->ActiveX installation policy for sites in Trusted Zones
Enabled + Silently,Silently,Prompt
Run gpupdate
Relaunch your Browser
NOTES: Windows 10 EDGE don't have trusted sites, so you have to use IE 11. Lots of folk moaning about that!
We started finding some machines with IE 11 not playing video (via flash) after we set the emulation mode of our app (web browser control) to 110001. Adding the meta tag to our htm files worked for us.
Try this tag on the pages that use the ActiveX control:
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE10">
Note: this has to be the very first element in the <head> section.
In my IE11, works normally.
Version: 11.306.10586.0
We can test if ActiveX works at IE, in this site: http://www.pcpitstop.com/testax.asp
Related
I am just starting out with Plunker, and I want to use Firefox or Chrome developer tools to debug javascript. It looks like the javascript files get cached the first time I open them in the debugger panel. How can I get the panel to refresh after I make changes to the javascript? (I've tried developer tools in Chrome and Firefox, and I've tried Firebug too)
in chrome:
open the developer tools
open the file you want to debug: Ctrl+O and type app.js or similar
set a breakpoint
the only tricky part is the 2nd step, since the file is in a very obscure location, fortunately Ctrl+O comes handy
While debugging a JavaScript program I was writing with Firebug, the Script panel stopped working and I got the following message:
I went through all menus and sub-menus I could find but didn't see a option to re-enable this feature. The console.log() command doesn't work in Firebug as well (while it does work in the built-in devtools' console).
How can I re-activate the Firebug Script panel? What may have caused this?
This may have different causes. One of them is described in issue 5646, which is related to going back and forward in the browser history.
In such cases it normally requires a browser restart to work again.
Note that Firebug up to version 1.12 is based on an old debugger API exposed by Firefox called JSD, which is unmaintained and buggy. Since version 2.0 Firebug uses a new debugger API, which fixes this problem.
Coincidentally, I just "fixed" the same problem with my Firebug.
I went through re-installs, options resets and such and nothing helped.
After some investigation it boiled down to the content of the page I was debugging.
I have a function called by jQuery when page load is finished:
<script>
$(onPageLoad);
</script>
Now, this function asks user to enter his name using prompt() function. It appeared that Firebug wouldn't activate script panel until prompt() is closed. That is not a problem when you have just one page opened since you just close the dialog and everything works. However, it is a problem when you have two same pages opened. Script panel is non-operational until you close both prompts.
I was facing this problem recently. I found that my Firebug was not getting updated because my Firefox was stuck on 29.x. Once I updated my Firefox the new Firebug got installed. It supports only Firefox 30+.
Note: I was using OSX v1.9.3.
I was having same problem, and, thanks to Roman Guralink, I figured out that the the dialogue Firefox prompts you to insert the master password was the cause. When you set a master password for all password stored, FFox usually opens a dialogue to ask it just after program started. BUT, sometimes this dialogu goes behind the main window, and you don't notice it is there.
I'm tasked with fixing a bug on the mobile version of a project I just came on (and still learning my way around it). Its a heavy use 24/7 kinda job, so not keen on the trial and error guess/upload/test style of debugging.The bug is that almost none of the controls, particularly tabs, respond to user "clicks" on the ipad. The app was developed in asp.net MVC4 and I work on windows 7 in vs2012.
We are not a mac shop, but still need to support the Ipad and phone.
This is probably a simple question: but my searching keeps taking me
here: iOS6 - removed console log for IPad - how to use web inspector on windows?
and here: Accessing iOS Safari Web Inspector from Windows Machine.
I need a way to gather actually diagnostics, like what would be available in web inspector, without having to acquire a mac.
Use weinre. It runs a webserver that that can repond to a bookmarklet or <script> to run a remote inspector.
weinre is a debugger for web pages, like FireBug (for FireFox) and Web Inspector (for WebKit-based browsers), except it's designed to work remotely, and in particular, to allow you debug web pages on a mobile device such as a phone.
Get NodeJS, NPM, and a webkit-based desktop browser to run it.
Homepage: https://people.apache.org/~pmuellr/weinre/
Docs: https://people.apache.org/~pmuellr/weinre/docs/latest/
To install with yarn:
yarn add --dev weinre
then because it's no longer maintained, you may get TypeError: mime.lookup is not a function when you try to use it, then you have to edit node_modules/connect/lib/middleware/static.js and change require('mime') to require('mime-types') on line 21 (thanks). Then start with
yarn run weinre
If you now open the url showed there, you'll see the bookmarklet you can use etc. (Note: If using this from other computers, you may have to open local firewall ports, and if debugging a https site you may have to add a reverse proxy with cors headers.)
Is this an internet browser component? that is more than the capability of TwebBrowser?
Im using TWebBrowser, and so if Im logged on to a website then I run my Delphi webbrowser to the site, I was already logged-on also, BUT if I logged-on to Mozilla firefox and run my Delphi webBrowser(TwebBrowser) it doesnt know if Im logged-on to the website from mozilla, TwebBrowser only integrate in internet explorer.
Does this Chromiumembedded also can integrate to mozilla or chrome?
thanks
It embeds a Google Chrome browser control in a Delphi form.
TWebBrowser is an embedded Internet Explorer control. It might have access to cookies and other data from your Internet Explorer settings, but it won't have access to any other browsers' settings, including Firefox and Chrome.
The embedded Chrome browser will not have access to the user's Chrome or Firefox settings. Those are entirely separate applications, and your application doesn't get any special standing related to them just because it's using an embedded browser control. If you want to gain access to another application's settings, you'll have to do it the same way anyone else does.
TWebBrowser uses the rendering engine of Internet Explorer, and shares several of its settings (like cookies).
TChromium uses the rendering engine of Chromium (which is the open-source part that Google Chrome is based on), and operates independently. It can't read Firefox's cookies, nor, AFAIK, Chrome's.
Im having a problem while changing the height of a div on Opera mobile, on other browser it works fine.
Im using a plan and simple $('div').height(newheight) but it's not changing, I believe this is a bug but there must be a workaround because Jquery Mobile is resizing the whole page.
Do you know what is this workaround?
Thanks
I'm having similar issues for all of the sites I've built, and do indeed believe it's a bug in the mobile browser. The only way I've found to fix it is actually playing with the width/height in the SMS plugin markup, but unfortunately it will mess up how it appears on the other browsers.
Two solutions I've found: option one is to wait, since Opera is switching over to web-kit, option two is to plug in a simple alert jQuery script that detects if a user is browsing with Opera, and notifies them to use a supported browser instead (ie Firefox, Safari). It will be along the same code block as what I use for anything below IE 9:
if ( $.browser.msie ){
if($.browser.version == '6.0')
{
// page redirect and alert for upgrade
alert("... REQUIRES YOU TO UPGRADE YOUR WEB BROWSER For enhanced security and features on this website, please download Internet Explorer 9");
}
else if($.browser.version == '7.0')
{
// page redirect and alert for upgrade
alert(".... REQUIRES YOU TO UPGRADE YOUR WEB BROWSER For enhanced security and features on this website, please download Internet Explorer 9");
}
else if($.browser.version == '8.0')
{
// page redirect and alert for upgrade
alert("... REQUIRES YOU TO UPGRADE YOUR WEB BROWSER For enhanced security and features on this website, please download Internet Explorer 9");
}
}
});
Sorry that I don't have the exact code match you'll need, I just haven't had time to do it yet, but you'll want to replace the browser.msie with whatever the markup is for m.O