Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

Learn More

How to disable security alerts in Mozilla ActiveX Control?

  • 5 个回答
  • 10 人有此问题
  • 1 次查看
  • 最后回复者为 johnywhy

more options

hi

i'm using this Mozilla ActiveX control in Windows VBA. http://www.iol.ie/~locka/mozilla/control.htm

works great, but i'm getting the attached alert: "You have requested an encrypted page. The web site has identified itself correctly, and information you see or enter on this page can't easily be read by a third party."

On clicking OK, the page loads normally.

How can i prevent this alert in the ActiveX control? How would this alert be prevented in a standalone Firefox browser?

The following in VBA do not help:

       .PutProperty "Display mixed content", "Enable"    ' does not remove alert
       .Silent = True   ' does not remove alert

I believe this ActiveX control uses the Firefox engine in the background (because it requires a full Firefox install).

But, if i try to load the same page directly in the standalone browser, i do not get this alert.

(incidentally, the site says it is distributed in Mozilla nightly builds, but not sure if still true).

hi i'm using this Mozilla ActiveX control in Windows VBA. http://www.iol.ie/~locka/mozilla/control.htm works great, but i'm getting the attached alert: "You have requested an encrypted page. The web site has identified itself correctly, and information you see or enter on this page can't easily be read by a third party." On clicking OK, the page loads normally. How can i prevent this alert in the ActiveX control? How would this alert be prevented in a standalone Firefox browser? The following in VBA do not help: .PutProperty "Display mixed content", "Enable" ' does not remove alert .Silent = True ' does not remove alert I believe this ActiveX control uses the Firefox engine in the background (because it requires a full Firefox install). But, if i try to load the same page directly in the standalone browser, i do not get this alert. (incidentally, the site says it is distributed in Mozilla nightly builds, but not sure if still true).
已附加屏幕截图

由johnywhy于修改

被采纳的解决方案

Solved.

Create a user.js file in

    User\AppData\Roaming\MozillaControl\profiles\MozillaControl\profileFolder\

Put the following inside user.js:

    // Don't show security warning
    user_pref("security.warn_entering_secure", false);

This works to remove the security warning.

Note: this ActiveX control does not contain an outdated Firefox engine-- it does not contain any Firefox engine. It's just a wrapper for whatever Firefox is installed on my computer (which is the latest version). Therefor, i'm getting all the latest rendering and security features of Firefox.

thx!

定位到答案原位置 👍 0

所有回复 (5)

more options

It's completely bizarre to me now that the browser would display a warning about requesting an HTTPS page when everything is set up correctly, but that binary appears to be from 2005, so we're talking about a different era in the life of Firefox.

As an aside, is it safe to use something that old??

Back in the day, it seems there were preferences for this "Enter Secure" message, but I have no idea how to flip them in the control.

http://forums.mozillazine.org/viewtopic.php?f=38&t=570774

more options

hi

i'd be happy to use something more recent, but this ActiveX control is very lightweight and easy to use.

there's also Selenium, but seems much bigger, and not a plugin replacement for the IE browser control . http://www.seleniumhq.org/

"there were preferences for this "Enter Secure" message, but I have no idea how to flip them in the control."

This control has .PutProperty method. If i can find the config setting which controls this alert, then maybe i can disable it with .PutProperty.

thx

由johnywhy于修改

more options

Just guessing from the following page, try setting security.warn_entering_secure to false.

http://kb.mozillazine.org/About:config_entries#Security.

more options

that's the right setting!

if i nav the browser to "about:config", then i can manually change security.warn_entering_secure to false.

then i can nav to my desired page without receiving the warning.

now just need to figure how to set programmatically. the following do not work:

WebBrowser1.PutProperty "security.warn_entering_secure", -1 WebBrowser1.PutProperty "security.warn_entering_secure", 0 WebBrowser1.PutProperty "security.warn_entering_secure", False WebBrowser1.PutProperty "security.warn_entering_secure", "false"

there's gotta be a way :)

Update: There's a "Mozilla Control" folder in App Settings folder. I've read we can set config in user.js in the profile folder. Interestingly, it appears not as a separate profile under AppData\Mozilla\Firefox\Profiles, but as a separate application. I have:

\AppData\Roaming\MozillaControl \AppData\Roaming\Mozilla

Researching...

"As an aside, is it safe to use something that old??"

-- i would say "yes", because this ActiveX control does not contain an outdated Firefox engine-- it does not contain any Firefox engine. It's just a wrapper for whatever Firefox is installed on my computer (which is the latest version). Therefor, i'm getting all the latest rendering and security features of Firefox.

由johnywhy于修改

more options

选择的解决方案

Solved.

Create a user.js file in

    User\AppData\Roaming\MozillaControl\profiles\MozillaControl\profileFolder\

Put the following inside user.js:

    // Don't show security warning
    user_pref("security.warn_entering_secure", false);

This works to remove the security warning.

Note: this ActiveX control does not contain an outdated Firefox engine-- it does not contain any Firefox engine. It's just a wrapper for whatever Firefox is installed on my computer (which is the latest version). Therefor, i'm getting all the latest rendering and security features of Firefox.

thx!

由johnywhy于修改