General :  K-Meleon Web Browser Forum
General discussion about K-Meleon 
Kmeleon and IEtab plugin ...possible ?
Posted by: mchasard
Date: February 21, 2006 10:55PM

refering to the plugin IEtab from firefox i just ask me if it will be possible to make it work with kmeleon please ...

Thanks in advance

Options: ReplyQuote
Re: Kmeleon and IEtab plugin ...possible ?
Posted by: bst82551
Date: February 22, 2006 03:07AM

Yes, IEtab is already integrated into the build that I am currently using. I believe Hao includes it by default with his K-MeleonCCF's.
To add it to your existing installation is a little more difficult, but if you're really interested in adding it to your existing, I can whip something up to help you out with it.

Brian

Options: ReplyQuote
Re: Kmeleon and IEtab plugin ...possible ?
Posted by: mchasard
Date: February 22, 2006 10:45PM

ok thanks but i can find your build anywhere ? waiting for the next Hao ccf version...

Options: ReplyQuote
Re: Kmeleon and IEtab plugin ...possible ?
Posted by: bst82551
Date: February 23, 2006 03:24AM

Well, to use IEtab, you're going to need to do some extensive editing... make sure you back up your entire K-Meleon directory.
By the way, you may want to paste this post to notepad since you will need to have K-Meleon closed during some parts of the post.

1. Download the .zip file from here (click the Free button at the bottom and wait for link to appear):
http://rapidshare.de/files/13915898/ietab_for_k-meleon.zip.html

2. Close K-Meleon (also close the loader if you use it).

3. Extract the .zip file to your K-Meleon directory. Check your plugins directory inside of the K-Meleon directory for a file called npietab.dll. If you see it, we're on the right track.

4. Go to the chrome directory inside of the K-Meleon directory and delete the following files (don't worry, these files are regenerated once K-Meleon is started):
chrome.rdf
overlays.rdf
stylesheets.rdf


5. Go to the components directory inside of the K-Meleon directory and delete the following files (these files are also regenerated once K-Meleon starts):
compreg.dat
xpti.dat


6. Go back to the chrome directory which is in the K-Meleon directory and open up the file named installed-chrome.txt. Add the following lines to the bottom:
content,install,url,jar:resource:/chrome/ietab.jar!/content/
locale,install,url,jar:resource:/chrome/ietab.jar!/locale/en-US/
skin,install,url,jar:resource:/chrome/ietab.jar!/skin/


7. Now we must test to see if IEtab was installed successfully. Start K-Meleon and try going to the following URL:
chrome://ietab/content/reloaded.html?url=http://kmeleonbrowser.org/forum/read.php?f=1&i=36136&t=36136

If the page loads, IEtab has been installed successfully.

8. Go to (Tools > Advanced Options > Macros...) and at the very bottom of the notepad window that comes up, add the following:
ietabpref{
open("chrome://ietab/content/ietabSettings.xul");
}

ietab {
$oldclip=getclipboard(); setclipboard();
id(ID_SELECT_URL); id(ID_EDIT_COPY); $theurl=getclipboard();
$theurl==""? $theurl=$URL:"";
&ResetURL; setclipboard($oldclip);
open("chrome://ietab/content/reloaded.html?url=".$theurl);
}

ietab_embed{
$loc = prompt("Enter URL to embed:", "Using IE Engine", "");
opennew("chrome://ietab/content/reloaded.html?url=".$loc);
}

ietab_link {
opennew("chrome://ietab/content/reloaded.html?url=".$LINKURL);
}



9. Save your changes and close macros.cfg. Now we must open up menus.cfg by going to (Tools > Advanced Options > Menus...). This is a little more complicated because you can't simply add the text to the bottom. You must figure out where you want to place them by searching for the text of some of the menu entries near where you would like to place the following. Add to menus.cfg (only add the bolded , underlined words... also, if yours looks a little different than mine, that's okay as I have edited mine repeatedly and don't have a copy of the default menus.cfg):
Permissions{
macros(Cookies)
macros(Images)
macros(Popups)
-
macros(Master, Master Password)
macros(Cert, Digital Certificates)
macros(ietabpref, IEtab Preferences)
}

#####

&File {
!New
-
&Open...\tCtrl+O = ID_FILE_OPEN
macros(ietab_embed, Open using IE engine)
:Open Options
macros(SavePage, Save Page &As...\tCtrl+S)

#####

View Page{
macros(CoralizePage, Coralize Page)
macros(URLInCB, View Page In Ccool smiley
macros(ietab, View in IEtab)
#Page Cache = ID_VIEW_PAGE_INFO
macros(PageCache, Page Cache)
Page So&urce = ID_VIEW_SOURCE
}

#####

Link{
Open in New Tab = ID_OPEN_LINK_IN_NEW_TAB
Open in Background Tab = ID_OPEN_LINK_IN_BACKGROUNDTAB
-
&Copy Link URL = ID_COPY_LINK_LOCATION
Sa&ve Link As = ID_SAVE_LINK_AS
%ifplugin macros
macros(LinkInfo, View Link URL...)
macros(CoralizeLink, Coralize Link)
macros(LinkInCB, View Link In Ccool smiley
macros(ietab_link, View Link in IEview)
macros(LnkFilter, AdBlock Link)
%endif
}



10. Save your changes to menus.cfg, then close it. Restart K-Meleon. You should have IEtab menu entries now along with a working IEtab.

If you have any problems, let me know. Thanks!


Brian

Options: ReplyQuote
Re: Kmeleon and IEtab plugin ...possible ?
Posted by: mchasard
Date: February 23, 2006 09:42AM

Many Thanks to you Brian ,

i follow all your explanations about the ietab install ...its seems to work but now every time i run kmeleon i have a macro error ...don't kow how to localise the error ?

i have the IE engine menu line and after trying it , its great exept some operations like to see video in yahoo page ...i don't know why cause normally through IE it should work ...

so perhaps should i wait for the IEtab include in the next ccf me hao version ...

thanks again to you

so for the macro error at the kmeleon boot its surely a character but i strongly copied only your lines ...

another thing in macro file , i have in "linkpopup" such this line

#macros(ietab, Open Link Using IE Engine)

Should i remove the # to make it work ?

thanks and bye ...

Options: ReplyQuote
Re: Kmeleon and IEtab plugin ...possible ?
Posted by: guenter
Date: February 23, 2006 11:50AM

# is the sign that starts a line with comment. therefore:
macros(ietab, Open Link Using IE Engine)
looks ok.

p.s. But i do not pretend that i know anything about this macro.
You may have to wait for Brian to answer. regards

Options: ReplyQuote
Re: Kmeleon and IEtab plugin ...possible ?
Posted by: bst82551
Date: February 23, 2006 11:56PM

Well, about the macro error, it's possible that you already have one or more of those macros within your macros.cfg. In this case, you would need to delete the old one to eliminate conflicts.

Try searching the entire macros.cfg for "ietab"... if you see any macros for "ietab" (which you definitely will) anywhere other than the bottom (or wherever you may have placed the others), simply add a # to the beginning of each line of the macro. Adding #'s to the beginning of a line tells K-Meleon "hey, don't read this line!" Make sure you get every line of the macro, not just the first or last! Turn off Wordwrap if it is on as it can mix up the lines and make you think there are more lines than there actually are.

As for that entry in LinkPopup, it appears that ietab has already been integrated into the build you were using... or at least the macros for it were integrated. If you plan on taking the # away from the #macros(ietab, Open Link Using IE Engine), then make sure you change "ietab" to "ietab_link" so that it opens using the right macro.

Brian

Options: ReplyQuote
Re: Kmeleon and IEtab plugin ...possible ?
Posted by: mchasard
Date: February 24, 2006 12:59AM

Hi Brian ,

all is fine now , effectively i already had some lines related to ietab so i do as you explained to me ...and the error message is away now ..cool ...many thanks to you

So to compare with ietab in firefox , i would have the way to run also ietab with the menu inside the tab ...with the right click . is it possible ?

Another trouble is that when i browse with ietab the "go back" and "go forward" button with the mouse appears to be inactive , i have to use keyb touch alt and right or left position ...but its a details ...

Endly i find ietab slowly and some features cannot be used : for exemple when i want to read some video clip in yahoo.fr , a javascript is called and ietab stop and don't show me the video ...so what can i do for that ? ietab is supposed to do the same as iexplorer ...

Thanks in advance ...

Options: ReplyQuote
Re: Kmeleon and IEtab plugin ...possible ?
Posted by: bst82551
Date: February 24, 2006 04:00AM

Do you mean you could right click on the tab in the tab bar and open up the page in IEtab? If this is what you mean, simply add the bolded, underlined line to LayerButtonPopup in menus.cfg:
LayerButtonPopup {
!CloseLayer
!New
%ifplugin macros
-
macros(URLInCB, View Page In Ccool smiley
macros(ieview, View Page In IEview)
macros(CoralizePage, Coralize Page)
%endif
-
:Open Options
:Close Options
}


It's odd that the back and forward buttons don't work. Usually, going back will at least go back to K-Meleon and out of IEtab. It's possible that you have a slightly buggy version of the browser that you are using. I don't know which browser you downloaded, but I believe I had the same problem at some point. I upgraded soon after though, so I never figured out how to fix the problem as it was already fixed in the next release.

About the videos, that's a tad bit more complicated. IEtab, in my experience, hasn't been able to handle some things. Sometimes, I will request for it to open a new window using javascript and the window will not open. If, for some strange reason, you have problems with IEtab (as I sometimes do), it's possible you will have to take it a step further and actually open up the URL in Internet Explorer or an IE Shell (Crazy Browser, Avant, GreenBrowser, etc.).

Brian

Options: ReplyQuote
Re: Kmeleon and IEtab plugin ...possible ?
Posted by: mchasard
Date: February 24, 2006 08:54AM

thanks to you brian ...

but it was not
"macros(ieview, View Page In IEview)"
but
"macros(ietab, View in IEtab)"

it works better now ...kmeleon is very powerful and interesting with those macros ...how can i learn something about it ? please is there a place where i could learn more ?

thanks in advance ...

byeeeee

Options: ReplyQuote
Re: Kmeleon and IEtab plugin ...possible ?
Posted by: kko
Date: February 24, 2006 11:03AM

K-Meleon's Macro Language is very simple. You can find more information there:

KMeleonWiki > Documentation > EndUserDocs > MacroLanguage

K-Meleon User's Guide and Reference Manual > 7. Reference > Macro Language

Options: ReplyQuote
Re: Kmeleon and IEtab plugin ...possible ?
Posted by: bst82551
Date: February 24, 2006 07:25PM

Yes yes, I forgot to correct that before I posted. Thanks for the correction.

You can learn tons about K-Meleon just by clicking the Resources link on the left side of this webpage and reading more of the things in there. If you notice any incorrect or out of date information, you can correct it yourself or ask someone here to put the correct information there.

Brian

Options: ReplyQuote
Re: Kmeleon and IEtab plugin ...possible ?
Posted by: Martin
Date: November 27, 2006 09:58AM

Is there any way to get the ietab preferences working in k-meleon?

Whenever I enter chrome://ietab/content/ietabSetting.xul to get to the preferences, I get the error

XML Parsing Error: undefined entity
Location: chrome://ietab/content/ietabSetting.xul
Line Number 7, Column 1:<dialog id="ietab-dialog"

Thanks
/Martin

Options: ReplyQuote
Re: Kmeleon and IEtab plugin ...possible ?
Posted by: guenter
Date: November 27, 2006 12:48PM

Martin,
chrome faults problem with this extension is long.
You would check whether all *.dtd listed are present or whether a single definition is missing (the later can be fixed easy). I will have a look also - with console2 we are in a better postion than we were in the past, but we may not be able to do anything - since it can be a missing definition or that k-meleon does not have a particular piece or function of chrome needed (some extensions do not work because FFox chrome is not here, that is the price for a lighter browser).

p. s. For next k-m there will be macro open in Opera/Firefox or IE, alain made it.

Options: ReplyQuote
Re: Kmeleon and IEtab plugin ...possible ?
Posted by: guenter
Date: November 28, 2006 07:55AM

ie_tab-1.2.0.20061120-fx+fl+mz+zm-windows prefences (ietabSetting.xul) does not throw an error with new test exe issued recently by Dorian. If it is different
with the exe You use You may habe to wait.

chrome: installed-chrome.txt gets:

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


locale,install,url,jar:resource:/chrome/ietab.jar!/locale/en-US/ietab/
locale,install,url,jar:resource:/chrome/ietab.jar!/locale/be-BY/ietab/
# locale,install,url,jar:resource:/chrome/ietab.jar!/locale/bg-BG/ietab/
locale,install,url,jar:resource:/chrome/ietab.jar!/locale/ca-AD/ietab/
locale,install,url,jar:resource:/chrome/ietab.jar!/locale/cs-CZ/ietab/
locale,install,url,jar:resource:/chrome/ietab.jar!/locale/da-DK/ietab/
locale,install,url,jar:resource:/chrome/ietab.jar!/locale/de-DE/ietab/
# locale,install,url,jar:resource:/chrome/ietab.jar!/locale/el-GR/ietab/
locale,install,url,jar:resource:/chrome/ietab.jar!/locale/es-AR/ietab/
locale,install,url,jar:resource:/chrome/ietab.jar!/locale/es-ES/ietab/
locale,install,url,jar:resource:/chrome/ietab.jar!/locale/fa-IR/ietab/
# locale,install,url,jar:resource:/chrome/ietab.jar!/locale/fi-FI/ietab/
locale,install,url,jar:resource:/chrome/ietab.jar!/locale/fr-FR/ietab/
# locale,install,url,jar:resource:/chrome/ietab.jar!/locale/he-IL/ietab/
locale,install,url,jar:resource:/chrome/ietab.jar!/locale/hr-HR/ietab/
locale,install,url,jar:resource:/chrome/ietab.jar!/locale/hu-HU/ietab/
locale,install,url,jar:resource:/chrome/ietab.jar!/locale/it-IT/ietab/
locale,install,url,jar:resource:/chrome/ietab.jar!/locale/ja-JP/ietab/
locale,install,url,jar:resource:/chrome/ietab.jar!/locale/km-KH/ietab/
locale,install,url,jar:resource:/chrome/ietab.jar!/locale/ko-KR/ietab/
# locale,install,url,jar:resource:/chrome/ietab.jar!/locale/lt-LT/ietab/
locale,install,url,jar:resource:/chrome/ietab.jar!/locale/nb-NO/ietab/
locale,install,url,jar:resource:/chrome/:ietab.jar!/locale/nl-NL/ietab/
locale,install,url,jar:resource:/chrome/ietab.jar!/locale/pl-PL/ietab/
locale,install,url,jar:resource:/chrome/ietab.jar!/locale/pt-BR/ietab/
locale,install,url,jar:resource:/chrome/ietab.jar!/locale/pt-PT/ietab/
locale,install,url,jar:resource:/chrome/ietab.jar!/locale/ro-RO/ietab/
locale,install,url,jar:resource:/chrome/ietab.jar!/locale/ru-RU/ietab/
locale,install,url,jar:resource:/chrome/ietab.jar!/locale/sk-SK/ietab/
locale,install,url,jar:resource:/chrome/ietab.jar!/locale/sl-SI/ietab/
# locale,install,url,jar:resource:/chrome/ietab.jar!/locale/sv-SE/ietab/
# locale,install,url,jar:resource:/chrome/ietab.jar!/locale/th-TH/ietab/
# locale,install,url,jar:resource:/chrome/ietab.jar!/locale/tr-TR/ietab/
locale,install,url,jar:resource:/chrome/ietab.jar!/locale/uk-UA/ietab/
locale,install,url,jar:resource:/chrome/ietab.jar!/locale/zh-CN/ietab/
locale,install,url,jar:resource:/chrome/ietab.jar!/locale/zh-TW/ietab/


& remember to delete chrome.rdf and overlays.rdf in chrome folder so that they are regenerated. Maybe delete unused languages in the archive and the code for better
startup performance.

After You added nsIIeTabPlugin.xpt to components folder also remember to delete
compreg.dat and xpti.dat there - so that the xpt becomes registered.

Remember that the preferences folder in defaults is named Pref.
ietab.js goes there.

I do not know which macros that are used by You - never used
or put it into a k-m used by me since last year.
mfG

Options: ReplyQuote
Re: Kmeleon and IEtab plugin ...possible ?
Posted by: Martin
Date: November 28, 2006 10:48AM

Thanks Guenter... I am using the alpha version K-Meleon 1.1 from here

I did all that you suggested (same as what I normally do), but it didn't work. I only have the locale en-US in the installed-chrome.txt file as that is what my browser is set to - I checked in config:about. Is that ok?

Is that the test version you are using? I'm not sure if I'm using alpha 1 or alpha 2 though... how can I tell? Couldn't see this in the Help-About.

Thanks!

Options: ReplyQuote
Re: Kmeleon and IEtab plugin ...possible ?
Posted by: Martin
Date: November 28, 2006 10:51AM

Quote
Martin
Thanks Guenter... I am using the alpha version K-Meleon 1.1 from here

I did all that you suggested (same as what I normally do), but it didn't work. I only have the locale en-US in the installed-chrome.txt file as that is what my browser is set to - I checked in config:about. Is that ok?

Is that the test version you are using? I'm not sure if I'm using alpha 1 or alpha 2 though... how can I tell? Couldn't see this in the Help-About.

Thanks!

Woops.. now I see my fault.. my locale was set to
locale,install,url,jar:resource:/chrome/ietab.jar!/locale/en-US/
and not
locale,install,url,jar:resource:/chrome/ietab.jar!/locale/en-US/ietab/
as it should be!

Thanks!
All working fine! smiling smiley

Options: ReplyQuote
Re: Kmeleon and IEtab plugin ...possible ?
Posted by: guenter
Date: November 28, 2006 11:53AM

Solved problem = good problem.

There are differnt/older versions of ietab - did You copy from an old one?
I changed a fresh manifest file (i use chrome.dll and chrome.xpt that uses that ).

p. s. same exe generation here - they are nifty :-)
alain works on prototype of installer-script for extensions.

I did not know that You also often try to get chrome extensions working.
Nice info - we might be the last to learn doing it oursleves ;-)
Do You also delete the redundant locales inside jar with 7 zip?
I only keep 2 locales: German for usage and English for testing.

Options: ReplyQuote
Re: Kmeleon and IEtab plugin ...possible ?
Posted by: Martin
Date: November 29, 2006 02:05AM

Yep.. all locales deleted except en-US.

I had ietab working in K-Meleon 1.0, but I downloaded an update when trying to install it in K-Meleon 1.1.

Its quite easy to install as long as you do everything ok... smiling smiley I guess everything is easy once you know how! Thanks for all the help.

Options: ReplyQuote
Re: Kmeleon and IEtab plugin ...possible ?
Posted by: Ascaris
Date: December 09, 2006 01:28AM

Is there a new place I can download the plug-in? The URL above does not work. Thanks!

Options: ReplyQuote
Re: Kmeleon and IEtab plugin ...possible ?
Posted by: Hao Jiang
Date: December 09, 2006 01:58AM

@Ascaris,

You can download K-MeleonCCF 0.05.6.5, you should be able to find all the files you need.

Hao

Options: ReplyQuote
Re: Kmeleon and IEtab plugin ...possible ?
Posted by: bst82551
Date: December 09, 2006 03:32AM

I would recommend just downloading K-MeleonCCF 0.05.65.5, however if you are particularly interested in this, I can supply a new link to the file:
http://rapidshare.com/files/6690298/ietab_for_k-meleon.zip.html

This ietab_for_k-meleon.zip file was created almost a year ago... so it most likely needs to be updated. If I'm correct, the new files you would need to grab from K-MeleonCCF 0.05.6.5 to use them in your own K-Meleon are listed below:
in the chrome folder:
ietab.jar

in the components folder:
nsIeTabWatchFactory.js
nsIIETabPlugin.xpt


in the plugins folder:
npietab.dll

And, of course, you must follow the same steps from my lengthy post above. Good luck.

Brian



Edited 1 time(s). Last edit at 12/09/2006 03:41AM by bst82551.

Options: ReplyQuote
Re: Kmeleon and IEtab plugin ...possible ?
Posted by: cisiodon
Date: December 13, 2006 01:27PM

I am using KM 1.02 for Windows, and some config in Macros and Menus does not exist. But Ietab is working fine, including File Menu item.
I did not get the Icon, only menu entry.
Mike

Options: ReplyQuote


K-Meleon forum is powered by Phorum.