Development :  K-Meleon Web Browser Forum
K-Meleon development related discussions. 
Cargar plugins XPI en k-meleon...
Posted by: jose
Date: February 06, 2007 12:24AM

Hola quisiera saber como se cargan los plugins xpi en k-meleon, gracias.

Options: ReplyQuote
Re: Cargar plugins XPI en k-meleon...
Posted by: nene777
Date: February 06, 2007 12:26AM

Hola me gustaria saber como se instalan los plugins xpi en el k-meleon, gracias.

Options: ReplyQuote
Re: Cargar plugins XPI en k-meleon...
Posted by: guenter
Date: February 08, 2007 02:36PM

1.) They are unpacked manually (xpi = zip). You will find some useless files that
facilidate the installing with Firefox/Seamonkey ... ( chrome.manifest, install.rdf plus maybe install.js when You open a SeaMonkey extension )

And You will find usefull files:

(XUL, chrome)
chrome/boxtoolbar.jar

+ maybe preferences that configure
defaults/preferences/boxtoolbar.js
( the folder name is ./prefs for SeaMonkey and K-Meleon; preferences for other Mozilla products )

+ maybe files in:
components/any-xpt or js.
plugins/anyplugin.dll

+ maybe files in root:
./any.dll that is not in a folder - goes (normally) where K-Meleon exe is.

2.) The files that You find are distributed to K-Meleon folders ( chrome > chrome, preferences > pref, components > compenents, ...

3.) You create entries in ./chrome/installed-chrome.txt ( see exaple for aggerg8).


content,install,url,jar:resource:/chrome/boxtoolbar.jar!/content/
skin,install,url,jar:resource:/chrome/boxtoolbar.jar!/skin/

my example does not have a translation or extra lanuage file.

4.) You delete
./K-Meleon/chrome/ chrome.rdf and overlays.rdf
So that k-meleon makes new ones that include Your items.

5.) You delete
./K-Meleon/components/compreg.dat
./K-Meleon/components/xpti.dat
So that k-meleon makes new ones that include Your items.

6.) You create a macro that calls the extension.

example like aggreg8

boxtoolbar1{
$xul="chrome://boxtoolbar/content/boxtoolbar.xul"; &XUL;
}

maybe also for options: options.xul

boxtoolbar2{
$xul="chrome://boxtoolbar/content/options.xul"; &XUL;
}

if this is not good? there are other macros that pass additional info k-m.
( but You have to ask a macro specialist how that is done )

7.) and create a entry for menus:

macros(boxtoolbar1,Box Passwords)
macros(boxtoolbar2,Box Options)

8.) Then You look whether it will work.


The example I chose is a Firefox password manager - I do not expect it to work.

Firefox XUL(chrome) extension xpi rarely work.

The better chances are with SeaMonkey xpi.
SeaMonkey XUL(chrome) extensions often work

Best chances are with xpi that only include plugins dll
(plus maybe contain some js or xpt or other dll ).
:-) ! plus they do not need a K-Meleon macro ! :-)

All Netscape plugins and similar extensions that contain/need no XUL/chrome will (normally) be able to work with K-Meleon.
specific for k-meleon: http://plugindoc.mozdev.org/es-ES/ ( translated? )
http://plugindoc.mozdev.org/faqs/kmeleon.html

Examples at:
http://plugindoc.mozdev.org/
Spanish http://plugindoc.mozdev.org/es-ES/windows.html

Or ActiveX plugin.
details about the plugin use and prroblems.
http://forums.mozillazine.org/viewtopic.php?t=206213

Saludos

p. s. Sorry - if You have problems with my bad English we can ask Enaitz (es-ES) to translate. He can normally understand my English, greetings from Germany.

Options: ReplyQuote
No realiza descargas
Posted by: Oscar Vanegas
Date: February 08, 2007 04:48PM

Quien me ayuda, cuando trato de descargar algun archivo me sale un error. npfdm.dll
file in the plugin directory in browser
error 80040154

Options: ReplyQuote
Re: No realiza descargas
Posted by: guenter
Date: February 08, 2007 08:21PM

Error code: 80040154 is a windows media player error

You will find a test page for the ActiveX and other plugins at my home page: Third Party Plugins
The page is proper code - if it plays like described the plugin & player is not broken.

If it works at my page, the media player could be missing a codec. Try to add some free codec libraries.


thx for reading my post, Saludos.

Options: ReplyQuote
Re: Cargar plugins XPI en k-meleon...
Posted by: jose
Date: February 09, 2007 03:41PM

me lo pueden poner en español, es k no entiendo lo que me decis, gracias.

Options: ReplyQuote
Re: Cargar plugins XPI en k-meleon...
Posted by: guenter
Date: February 09, 2007 07:39PM

ok. jose i mail for translator.

Options: ReplyQuote
Re: Cargar plugins XPI en k-meleon...
Posted by: Anonymous User
Date: February 09, 2007 11:27PM

Proceso de instalación (traducción amateur de un mensaje original de Guenter):


1.) Se descomprimen a mano (xpi = zip). Encontrarás algunos archivos inutiles que facilitan la instalación con

Firefox/Seamonkey ... (chrome.manifest, install.rdf y quizá install.js cuando abres una extensión de Seamonkey)

Y tambien encontrarás algunos archivos muy útiles:

(XUL, chrome)
chrome/boxtoolbar.jar

y quizá preferences, que configura:
defaults/preferences/boxtoolbar.js
(el nombre dela carpeta es ./prefs para SeaMonkey y K-Meleon; preferences para otros productos de Mozilla)

y quizá los archivos de:
components/any-xpt or js.
plugins/anyplugin.dll

y quizá archivos de la raiz:
./cualquier .dll que no esté en una carpeta - va (normalmente) donde K-Meleon.exe esté.



2.) Copia los archivos que veas que van ubicados en carpetas con el mismo nombre que las carpetas de K-Meleon a sus carpetas

equivalentes de K-Meleon( chrome > chrome, preferences > pref, components > components, ...



3.) Crea las entradas necesarias en ./chrome/installed-chrome.txt ( mira el ejemplo para aggreg8).

content,install,url,jar:resource:/chrome/boxtoolbar.jar!/content/
skin,install,url,jar:resource:/chrome/boxtoolbar.jar!/skin/

Este ejemplo:

http://www.box.net/addons/firefox/boxtb-0.1.xpi

no contiene una traducción o archivos de lenguaje extras.



4.) Borra:
./K-Meleon/chrome/ chrome.rdf y overlays.rdf
Para que K-Meleon los cree de nuevo pero incluyendo tus cambios.



5.) Borra:
./K-Meleon/components/compreg.dat
./K-Meleon/components/xpti.dat
Para que K-Meleon los cree de nuevo pero incluyendo tus cambios.



6.) Crea un macro que llame a la nueva extensión.

Ejemplo (como aggreg8)

boxtoolbar1{
$xul="chrome://boxtoolbar/content/boxtoolbar.xul"; &XUL;
}

quizá tambien para options: options.xul

boxtoolbar2{
$xul="chrome://boxtoolbar/content/options.xul"; &XUL;
}

Si esto no funcionase quizá puedas usar otro tipo de macros que aportan información adicional (pero para esto necesitarás la

ayuda de un especialista en macros)



7.) Crear una entrada en menus:

macros(boxtoolbar1,Box Passwords)
macros(boxtoolbar2,Box Options)



8.) Mirar si funciona.

El ejemplo elegido es una manager de contraseñas de Firefox (que tengo serias dudas de que vaya a funcionar)

Las extensiones Firefox XUL(chrome) xpi rara vez funcionan.
Las que mejor suelen funcionar son las XPI de SeaMonkey.
Las extensiones SeaMonkey XUL(chrome) tambien suelen funcionar.

Las XPI que solo incluyen plugins dll suelen funcionar bien (a veces tambien funcionan si incluyen js o xpt o otras dll).
:-) además estás no necesitan una macro de K-Meleon :-)


Todos los plugins de Netscape y similares extensiones que contienen y necesitan XUL/Chrome normalmente funcionarán bien con

K-Meleon:

http://plugindoc.mozdev.org/es-ES/ ( translated? )
http://plugindoc.mozdev.org/faqs/kmeleon.html

Ejemplos disponibles en:
http://plugindoc.mozdev.org/
En español http://plugindoc.mozdev.org/es-ES/windows.html

O ActiveX plugin.
Detalles sobre el plugin y problemas:
http://forums.mozillazine.org/viewtopic.php?t=206213

Saludos



---------------------------------------
Segundo mensaje de Guenter:
---------------------------------------


El código de error: 80040154 es un error del windows media player.

Encontrarás una página de tests para activex y otros plugins en mi página web: Third Party Plugins.
Si la página funciona tal y como se describe es que todo funciona bien.

Si la página funciona pero no el Media Player, puede ser que te falte algún codec


----------------------
NOTA DE ENAITZ:
----------------------

Si buscas un buen pack de codecs gratuitos mira aquí (incluye el último DivX, etc):
If looking for a good Codec Pack just try this free pack (includes last DivX etc.)

Codec Pack



Edited 1 time(s). Last edit at 02/10/2007 12:33PM by enaitzjga.

Options: ReplyQuote
Re: Cargar plugins XPI en k-meleon...
Posted by: guenter
Date: February 10, 2007 05:11PM

thx Enaitz & Your translation is better than the original.

Options: ReplyQuote


K-Meleon forum is powered by Phorum.