General :  K-Meleon Web Browser Forum
General discussion about K-Meleon. Questions about how to setup it, macro coding, all related to its usage and the project itself, including this website. 
Make ActiveX work in K-Meleon based on 1.8?
Posted by: Hao Jiang
Date: January 12, 2006 12:40AM

Any idea?

Just tried the mozilla activieX plugin for Firefox 1.5 in K-MeleonCCF but can't make it work.

Hao

Options: ReplyQuote
Re: Make ActiveX work in K-Meleon based on 1.8?
Posted by: bst82551
Date: January 12, 2006 01:00AM

Actually, I couldn't get it to work in Firefox OR K-MeleonCCF. I think there are certain settings you have to have or something... :-(.

Brian

Options: ReplyQuote
Re: Make ActiveX work in K-Meleon based on 1.8?
Posted by: Hao Jiang
Date: January 12, 2006 01:53AM

Here 's the download link of the plugin:

http://www.iol.ie/~locka/mozilla/plugin.htm#download

Options: ReplyQuote
Re: Make ActiveX work in K-Meleon based on 1.8?
Posted by: guenter
Date: January 12, 2006 02:00AM

inform U about result tomorrow. thx for download location.

Options: ReplyQuote
Re: Make ActiveX work in K-Meleon based on 1.8?
Posted by: Drahken
Date: January 12, 2006 01:04PM

There's some sort of permissions file you have to create/edit to make it work.

Options: ReplyQuote
Re: Make ActiveX work in K-Meleon based on 1.8?
Posted by: guenter
Date: January 12, 2006 01:34PM

I have not been able to test yet - this system has no sound card.
But we will use that of the coresponding FF GRE (AFAIK 1.5 for Dorians exe):

activex.js goes into defaults/pref /

msvcp60.dll & msvcrt.dll go where k-m exe is

npmozax.dll into plugins

nsAxSecurityPolicy.js & nsIMozAxPlugin.xpt into components You need to delete
xpti.dat and compreg.dat to force k-m to write them new which registers the 2 files.

p. s. but better have a look into 0.9.12´s activex.js which i quote here;
///////////////////////////////////////////////////////////////////////////////
// By default the ActiveX support for FireFox is a WHITELIST.
// Only a pre-installed Windows Media Player control is enabled by default. If
// you want to open up the plugin to other controls, read the instructions
// and sample prefs below to learn how to do it.


pref("security.xpconnect.activex.global.hosting_flags", 9);
pref("security.classID.allowByDefault", false);
pref("capability.policy.default.ClassID.CID6BF52A52-394A-11D3-B153-00C04F79FAA6","AllAccess");
pref("capability.policy.default.ClassID.CID22D6F312-B0F6-11D0-94AB-0080C74C7E95", "AllAccess");


///////////////////////////////////////////////////////////////////////////////
// General hosting flags settings. Read nsIActiveXSecurityPolicy.idl in
// http://lxr.mozilla.org/seamonkey/find?string=nsIActiveXSecurityPolicy.idl
// for more combinations.
//
// Briefly,
//
// 0 means no hosting of activex controls whatsoever
// 13 means medium settings (safe for scripting controls and download / install)
// 31 means host anything (extremely dangerous!)
//

// pref("security.xpconnect.activex.global.hosting_flags", 13);


///////////////////////////////////////////////////////////////////////////////
// Whitelist / Blacklist capabilities
//
// The whitelist and blacklist settings define what controls Gecko will host
// and the default allow / deny behavior.
//
// Note 1:
//
// The hosting flags pref value above takes priority over settings below.
// Therefore if the hosting flags are set to 0 (i.e. host nothing) then
// no control will be hosted no matter what controls are enabled. Likewise,
// If safe for scripting checks are (wisely) enabled, no unsafe control
// will be hosted even if it is explicitly enabled below.
//
//
// Note 2:
//
// Gecko always reads the IE browser's control blacklist if one is defined
// in the registry. This is to ensure any control identified by Microsoft
// or others as unsafe is not hosted without requiring it to be explicitly
// listed here also.
//


///////////////////////////////////////////////////////////////////////////////
// This pref sets the default policy to allow all controls or deny them all
// default. If the value is false, only controls explicitly enabled by their
// classid will be allowed. Otherwise all controls are allowed except those
// explicitly disabled by their classid.
//
// If you are writing an embedding application that only needs to run
// certain known controls, (e.g. an intranet control of some kind) you are
// advised to use the false value and enable the control explicitly.

// pref("security.classID.allowByDefault", true);


///////////////////////////////////////////////////////////////////////////////
// Specify below the controls that should be explicitly enabled or disabled.
// This is achieved by writing a policy rule, specifiying the classid of the
// control and giving the control "AllAccess" or "NoAccess".
//
// CIDaaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee
//
// You could explicitly ban a control (using the appropriate classid) like this
//
// pref("capability.policy.default.ClassID.CID039ef260-2a0d-11d5-90a7-0010a4e73d9a", "NoAccess");
//
// If you want to explicity enable a control then do this:
//
// pref("capability.policy.default.ClassID.CID039ef260-2a0d-11d5-90a7-0010a4e73d9a", "AllAccess");
//
// If you want to explicitly ban or allow a control for one or more sites then
// you can create a policy for those sites. This example creates a domain
// called 'trustable' containing sites where you allow an additional control
// to be hosted.:
//
// user_pref("capability.policy.policynames", "trustable");
// user_pref("capability.policy.trustable.sites", "http://www.site1.net http://www.site2.net");
// user_pref("capability.policy.trustable.ClassID.CID039ef260-2a0d-11d5-90a7-0010a4e73d9a", "AllAccess");
//

Options: ReplyQuote
Re: Make ActiveX work in K-Meleon based on 1.8?
Posted by: Hao Jiang
Date: January 12, 2006 03:38PM

@guenter,

Actually that's exactly what I did and still can't make CNN vedio (WMP) work.

@Drahken,

What kind of permission files I need to create / change?

Thanks.

Hao

Options: ReplyQuote
Re: Make ActiveX work in K-Meleon based on 1.8?
Posted by: Drahken
Date: January 12, 2006 04:28PM

The securitypolicy and activex.js files that guenter mentioned are the ones I was thinking of. They tell the plugin what active-x controls it's allowed to load/run.

I've got a copy of KM with the activex plugin installed. It's listed on the about:plugins page, but it isn't recognized by browserspy, so I'm not sure whether or not it actually works.

Options: ReplyQuote
Re: Make ActiveX work in K-Meleon based on 1.8?
Posted by: Hao Jiang
Date: January 12, 2006 04:53PM

@Drahken,
Although it's listed in "about:plugin" page, it's actually not working. That's what I am a little confused.

Hao

Options: ReplyQuote
Re: Make ActiveX work in K-Meleon based on 1.8?
Posted by: Drahken
Date: January 12, 2006 06:57PM

I'm guessing that the settings in the securitypolicy file and/or activex.js file need adjusting to make it work.
Also, defaults->pref seems a strange post-install location for the activex.js file. Does that even get accessed unless you make a new profile?? I'm thinking that a copy of the activex.js file needs to be placed in the actual profile folder, or that you need to create a new profile after placing it in the defaults folder, or something along those lines.

Options: ReplyQuote
Re: Make ActiveX work in K-Meleon based on 1.8?
Posted by: Hao Jiang
Date: January 12, 2006 07:14PM

@Drahken,
The files in defaults/pref work even in the post-install phase like kmelen.js file in this folder.

Regards,

Hao

Options: ReplyQuote
Re: Make ActiveX work in K-Meleon based on 1.8?
Posted by: guenter
Date: January 12, 2006 10:59PM

@Drakken - i am possively sure about location, way and have had time now to test.
@Hao - Runing: but i use correct GRE for plugin,
plus slightly other menus, macros and other chrome than You.

version I use: http://www.iol.ie/~locka/mozilla/mozactivex-ff-15.xpi

Docu Reads: Firefox 1.5 / Test version. Does not work in any other version of Firefox or Mozilla & Do not download the plugin if it does not exactly correspond with your browser version. If you ignore this advice, you may now have a broken browser. If you discover this to be the case or just get sick of the plugin, delete npmozax.dll from your plugins\ dir to fix it.

Options: ReplyQuote
Re: Make ActiveX work in K-Meleon based on 1.8?
Posted by: Hao Jiang
Date: January 13, 2006 12:26AM

@guenter,
What do you mean "running"? Do you mean the activex plugin is working so you can watch CNN vedio? Mine is still now working although I use the same plugin you 're using....

Hao

Options: ReplyQuote
Re: Make ActiveX work in K-Meleon based on 1.8?
Posted by: guenter
Date: January 13, 2006 12:57AM

running? Maybe that is litteral translation from German?

Yes Dorians exe plus active x plugin is working together.

but with:
Mozilla/5.0 (Windows; U; Win 9x 4.90; en-US; rv:1.8) Gecko/20051214 Firefox/1.5
a dynamic FF with correct GRE for plugin and FF chrome & no things like flashblock.

No I have not watched CNN but used offline test page with music.
I only wanted to know whether Dorians exe does the trick.
The combination of FF GRE and exe is not good.
it crashes when i try to download things.

Maybe we can feed plugin with wrong browser
& version info to persuade it to cooperation?
Else look whether nsAxSecurityPolicy.js must be altered.

Else someone will have to create a new plugin. Or we wait till Mozilla has one?
It is 1.57 now - i will quit experimenting for this night.

Options: ReplyQuote
Re: Make ActiveX work in K-Meleon based on 1.8?
Posted by: Hao Jiang
Date: January 13, 2006 01:24AM

@guenter,
Where can I download the dynamic FF?

Hao

Options: ReplyQuote
Re: Make ActiveX work in K-Meleon based on 1.8?
Posted by: guenter
Date: January 13, 2006 09:54AM

I will upload later today and send link. regards

Options: ReplyQuote
Re: Make ActiveX work in K-Meleon based on 1.8?
Posted by: Hao Jiang
Date: January 13, 2006 03:18PM

Thanks.

Hao

Options: ReplyQuote
Re: Make ActiveX work in K-Meleon based on 1.8?
Posted by: guenter
Date: January 13, 2006 04:44PM

missive is out @ about 17.41 CET = 12.00-13.00 hours or so at Your place?
Hope all survives and restarts after transport.

Options: ReplyQuote
Re: Make ActiveX work in K-Meleon based on 1.8?
Posted by: guenter
Date: January 13, 2006 06:50PM

@Hao the file called seamonkey1.8.exe is running here in the described way
win XP pro Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051210 SeaMonkey/1.0b but all the rest like the k-m-ff2.exe.

Sorry i am away from my mail.

Options: ReplyQuote
Re: Make ActiveX work in K-Meleon based on 1.8?
Posted by: Dorian
Date: January 13, 2006 08:55PM

Ah! Sorry but activex is disabled in my build, and I'm not sure I would like to see it enabled.

Options: ReplyQuote
Re: Make ActiveX work in K-Meleon based on 1.8?
Posted by: Hao Jiang
Date: January 13, 2006 10:40PM

@Dorian,
Guenter has sent me one package with your latest exe and the activex plugin and it works OK here. So that might be GRE related.

Hao

Options: ReplyQuote
Re: Make ActiveX work in K-Meleon based on 1.8?
Posted by: guenter
Date: January 13, 2006 11:51PM

: ) okay when the English & French version did not include active x upport
Your DE version including acitve x support was distributed instead : )

Dorian: I showed Your exe & plugins at a party tonight - all are real good & fast
thx guenter

Options: ReplyQuote
Re: Make ActiveX work in K-Meleon based on 1.8?
Posted by: Hao Jiang
Date: January 14, 2006 09:20AM

@All,
Thanks for Guenter, I have a new KMCCF package working with activeX and support CNN vedio.

I'm working on a all new KMCCF build based on a new GRE right now which also will support UI with both English and Chinese, it means ppl can choose in the menu to use the language they like. Not only the menus but also the internal menu will change with their choices. (This function still needs a little work at this moment. so I'm not going to include it now)

Here 's a preview version of it:

K-MeleonCCF ME 0.05 Test2

http://www-personal.engin.umich.edu/~haojng/K-MeleonCCFME0.05.exe

Options: ReplyQuote


K-Meleon forum is powered by Phorum.