General :  K-Meleon Web Browser Forum
General discussion about K-Meleon 
Pages: 12345Next
Current Page: 1 of 5
Why kMELEON is SO BIG????
Date: January 13, 2009 02:16AM

Allright..this one goes for the developers

Can a very small k-meleon be made??
I am only interesed in having the capacity of surfing the net opening an email account and beeing able to watch youtube videos and stuff (I guess this means flash support)

Could it be compiled starting from scratch and remove the all flufy stuff..
and the unnecessary options..??
I am thinking in trying to compile my own k-meleon with a very basic interface
No no skins at all no icons and ONLY DESIGNED FOR English lanuage..


Any ideias where should i start from??


I tried to download the mozzila source code but is huge (200 MB ) and i am kinnda lost..I do not know where to start from

Cheers

Options: ReplyQuote
Re: Why kMELEON is SO BIG????
Posted by: JamesD
Date: January 13, 2009 02:49AM

I guess it all depend on what you mean by big. My KM 1.5.2 takes up 63 MB on disk but it could take a lot less. Of that 63 MB, 43 is for the cache file, another 1.5 for macros ( I have a lot ), and 1 MB for history. That gets KM down to 17.5 MB. I could do without the plugins for bookmarks, hotlist, gestures, history and update. I could also do without the exe for win98x. All those get rid of another 1 MB. I don't think 17 MB is a large program in today's world.

Options: ReplyQuote
Re: Why kMELEON is SO BIG????
Date: January 13, 2009 03:35AM

Quote
JamesD
I guess it all depend on what you mean by big. My KM 1.5.2 takes up 63 MB on disk but it could take a lot less. Of that 63 MB, 43 is for the cache file, another 1.5 for macros ( I have a lot ), and 1 MB for history. That gets KM down to 17.5 MB. I could do without the plugins for bookmarks, hotlist, gestures, history and update. I could also do without the exe for win98x. All those get rid of another 1 MB. I don't think 17 MB is a large program in today's world.

By big i mean just out of the box just extracted...
K-meleon is about 17-20 MB even the so called portable versions..are uite big..

No it is not ,,,But there's lots of features most of the user will not use..
And i was actually thinking to compile my own k-meleon starting from scrath

Options: ReplyQuote
Re: Why kMELEON is SO BIG????
Posted by: Arrow
Date: January 13, 2009 03:49AM

TheWorld Browser with default skin and no plugins is 1.28mb smiling smiley

Now you might deride it because it is on the IE shell
but it has a privacy setting that hides the gui of the restore menu, sidebar history, addressbar & auto-complete. Doesn't save browser history, typed urls or temporary internet files and the restore menu is clear when exiting this mode.

This makes it an excellent portable standalone browser that simply needs copying over to a pen drive, you can even run it from a floppy disk - albeit slowly - it's so small.

Options: ReplyQuote
Re: Why kMELEON is SO BIG????
Posted by: guenter
Date: January 13, 2009 07:01AM

Quote
Arrow
TheWorld Browser with default skin and no plugins is 1.28mb smiling smiley

Now you might deride it because it is on the IE shell

1.) K-Meleon Browser with Klassic skin is about 1.4 MB. sad smiley But can do more.

2.) K-Meleon hosts the Gecko engine. Gecko is faster leaner and more modern than Trident (IE layout engine). K-Meleon has similar features plus ... You can toggle items mentioned for TheWorld - and it is more flexible.

Which reduces the advantages of TheWorld IMHO to: has a sidebar smiling smiley



Edited 1 time(s). Last edit at 01/13/2009 07:02AM by guenter.

Options: ReplyQuote
Re: Why kMELEON is SO BIG????
Posted by: disrupted
Date: January 13, 2009 08:57AM

try this
download kmeleon 1.0, get fred's latest 1.8 gre update for it.. remove unneeded plugins. overall size will be around 15mb

Options: ReplyQuote
Re: Why kMELEON is SO BIG????
Date: January 13, 2009 11:24AM

Quote
disrupted
try this
download kmeleon 1.0, get fred's latest 1.8 gre update for it.. remove unneeded plugins. overall size will be around 15mb

OK..

Where can i get the code surece for the last stable version..?
Not the whole tree but only the source code for the last version


Thanks

Options: ReplyQuote
Re: Why kMELEON is SO BIG????
Date: January 13, 2009 12:59PM

Quote
Arrow
TheWorld Browser with default skin and no plugins is 1.28mb smiling smiley

Now you might deride it because it is on the IE shell
but it has a privacy setting that hides the gui of the restore menu, sidebar history, addressbar & auto-complete. Doesn't save browser history, typed urls or temporary internet files and the restore menu is clear when exiting this mode.

This makes it an excellent portable standalone browser that simply needs copying over to a pen drive, you can even run it from a floppy disk - albeit slowly - it's so small.

If i wanted trident stuff i would have sticked with "the great IE"

I downloaded the world browser took a look inside of the exe and this one in my opinion this is not an option...

it is so small because is using all the dll`s the internet explorer is using and nope ..with the last security issues ...somebody has to bbe crazy to stick with ie

Options: ReplyQuote
Re: Why kMELEON is SO BIG????
Posted by: Arrow
Date: January 13, 2009 03:49PM

No need to be disparaging, you asked about size and I replied, I'm not into this gecko / IE divide, that is your issue not mine, I've been using and adapting K-m for years in tandem with first Maxthon and subsequently TW browser with no security issues on either side. It's how you set things up that is important.

Options: ReplyQuote
Re: Why kMELEON is SO BIG????
Posted by: guenter
Date: January 13, 2009 03:54PM

Source Code downloads are available from the normal download page.
They come with major version updates. The last is 1.5.0.

Instructions & info page.

For low size You could base a version on chrmlite.dll instead of chrome.dll. Used in NX/ME versions by Fred/Hao.



Edited 1 time(s). Last edit at 01/13/2009 03:58PM by guenter.

Options: ReplyQuote
Re: Why kMELEON is SO BIG????
Posted by: disrupted
Date: January 13, 2009 04:14PM

i know a secret to make ie a very secure browser

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Internet Settings\5.0\User Agent]
@="Mozilla/4.0"
"Compatible"="compatible"
"Platform"="Mac_PowerPC"
"Version"="MSIE 5.17"


with these settings.. no sites cares to touch you. it has been tested
besides that, ie is a great browser.. for viewing local files smiling smiley

Options: ReplyQuote
Re: Why kMELEON is SO BIG????
Posted by: panzer
Date: January 13, 2009 04:39PM

Gorila, just use Browzar. 200 kb +. smiling smiley

Options: ReplyQuote
Re: Why kMELEON is SO BIG????
Posted by: disrupted
Date: January 13, 2009 05:45PM
Options: ReplyQuote
Re: Why kMELEON is SO BIG????
Posted by: panzer
Date: January 13, 2009 06:34PM

Off By One Web Browser 1 Mb.
Ijini browser 1,9 MB
AppliArt Browser 1,5 MB



Edited 3 time(s). Last edit at 01/13/2009 06:49PM by panzer.

Options: ReplyQuote
Re: Why kMELEON is SO BIG????
Posted by: desga2
Date: January 13, 2009 06:46PM

I like say one thing:
Gorilla you have a impossible dream.

Only, I like you read fine, O N L Y , Mozilla Gecko engine is 12 MB size.
K-Meleon is impossible to do that his size is less than 15 MB.
Please can you read again: I M P O S S I B L E.
But you can try with some CCF or Fred version without XUL support, this version are some more light, about 2 MB.

You must consider only the plugin to support Flash, you should include in the folder plugins to support Flash in a portable version, his size is 3.6 MB.

K-Meleon in Spanish



Edited 1 time(s). Last edit at 01/13/2009 06:56PM by desga2.

Options: ReplyQuote
Re: Why kMELEON is SO BIG????
Posted by: guenter
Date: January 13, 2009 06:46PM

OffByOne is not a full browser but ok.

Options: ReplyQuote
Re: Why kMELEON is SO BIG????
Posted by: panzer
Date: January 13, 2009 06:56PM

JBI Explorer 934 kb (it does not work) smiling smiley



Edited 1 time(s). Last edit at 01/13/2009 06:59PM by panzer.

Options: ReplyQuote
Re: Why kMELEON is SO BIG????
Date: January 14, 2009 12:37PM

Quote
desga2
I like say one thing:
Gorilla you have a impossible dream.

Only, I like you read fine, O N L Y , Mozilla Gecko engine is 12 MB size.
K-Meleon is impossible to do that his size is less than 15 MB.
Please can you read again: I M P O S S I B L E.
But you can try with some CCF or Fred version without XUL support, this version are some more light, about 2 MB.

You must consider only the plugin to support Flash, you should include in the folder plugins to support Flash in a portable version, his size is 3.6 MB.

WOw..

Thanks a lot Desga2

Now everything it makes sense...

I did not know that Mozilla Gecko engine is 12 MB size.

But yeah i did know about the flash size...Tough it can be Upx-ed..

Right...
An other question...Has anybody tried to trim down Mozilla Gecko engine??

Would that be possible??

Options: ReplyQuote
Re: Why kMELEON is SO BIG????
Date: January 14, 2009 12:54PM

Quote
Arrow
No need to be disparaging, you asked about size and I replied, I'm not into this gecko / IE divide, that is your issue not mine, I've been using and adapting K-m for years in tandem with first Maxthon and subsequently TW browser with no security issues on either side. It's how you set things up that is important.

Now,
Hang on a sec..You`ve got me wrong mate...
I am not takeing the piss or something...

I was just ..well, i got burned once using IE despite of my expensive Kaspersky ANTI-VIRUS 6.0 So..You know what they say...Once beaten twice shy...grinning smiley
Anyway that was a good lesson because it really got me into taking security into my own hands and stuff..

Of course First move was to get rid of The antivirus..
Any way since then..No ie shell browsers on my computer And i am using Windows as little as possibile..Linux still rules..

Cheers

Options: ReplyQuote
Re: Why kMELEON is SO BIG????
Posted by: guenter
Date: January 14, 2009 02:09PM

Quote
desga2
But you can try with some CCF or Fred version without XUL support, this version are some more light, about 2 MB.

I still have a 0.8.2 that has 12.3 MB with chrome tongue sticking out smiley

Quote
Gorilla no baka

But yeah i did know about the flash size...Tough it can be Upx-ed..

Right...
An other question...Has anybody tried to trim down Mozilla Gecko engine??

Would that be possible??

1.) No Xul support. Get chrmlite.dll from NX or CCF. Uses almost npo chrome.

Or cut prefs, console2, & RSS reader out from normal Chrome.
You are at about 400 kb chrome after packing then & can use about: config.

2.) Create a static linked K-Meleon.exe that includes all dll from componets.
(like Firefox project does). That gains a few kb of each dll. Then upx it.
3.) Use xpt_link.exe to link xpt in components.

That is how Dorian and made the small 0.8.2+.
Current K-Meleon might be even smaller since it does not use mfc71.dll (1Mcool smiley.

4.) K-Meleon is about using only the components that are needed for a browser
That is the main advantage of K-Meleon. Firefox, Thunderbird, SeaMonkey...: they all use the same untrimmed GRE or XUL runner environment.

5.) Look at embed Project it is the the embeding of the core layout engine - so some needed browser components are not use. But it can travel the net.

5. b.) Yes = K-Meleon / it may use some parts that are not need - but not many grinning smiley



Edited 1 time(s). Last edit at 01/14/2009 03:57PM by guenter.

Options: ReplyQuote
Re: Why kMELEON is SO BIG????
Date: January 14, 2009 10:35PM

Quote
guenter
Quote
desga2
But you can try with some CCF or Fred version without XUL support, this version are some more light, about 2 MB.

I still have a 0.8.2 that has 12.3 MB with chrome tongue sticking out smiley

Quote
Gorilla no baka

But yeah i did know about the flash size...Tough it can be Upx-ed..

Right...
An other question...Has anybody tried to trim down Mozilla Gecko engine??

Would that be possible??

1.) No Xul support. Get chrmlite.dll from NX or CCF. Uses almost npo chrome.

Or cut prefs, console2, & RSS reader out from normal Chrome.
You are at about 400 kb chrome after packing then & can use about: config.

2.) Create a static linked K-Meleon.exe that includes all dll from componets.
(like Firefox project does). That gains a few kb of each dll. Then upx it.
3.) Use xpt_link.exe to link xpt in components.

That is how Dorian and made the small 0.8.2+.
Current K-Meleon might be even smaller since it does not use mfc71.dll (1Mcool smiley.

4.) K-Meleon is about using only the components that are needed for a browser
That is the main advantage of K-Meleon. Firefox, Thunderbird, SeaMonkey...: they all use the same untrimmed GRE or XUL runner environment.

5.) Look at embed Project it is the the embeding of the core layout engine - so some needed browser components are not use. But it can travel the net.

5. b.) Yes = K-Meleon / it may use some parts that are not need - but not many grinning smiley

Thank you....

Just out of curiosity i started to shave things off the K-meleon (So far is 12.7Mcool smiley

But as far as i could see yeah lots of stuff can be deleted out of it..

I am tring to bring it under 7 MB (Shaving things off and than UPX-it)
So far this is my project--To see what it can be shaved off and than to try to compile one K-meleon for my personal use without the stuff i shaved...
You guys can watch my progress here

I am not new at slimming stuff..But somehow i got the feeling that this one is gonna be a bitch to slimm.Right now i am working on components folder and it is a lot of work...Take a look here


Directory of C:\Documents and Settings\Administrator\My Documents\k-meleon\components

01/08/2009 10:05 <DIR> .
01/08/2009 10:05 <DIR> ..
06/21/2008 11:11 148 accessibility-msaa.xpt deleted ---OK
12/17/2008 12:54 66,048 accessibility.dll deleted ---OK
06/21/2008 11:11 10,194 accessibility.xpt deleted ---OK
12/17/2008 12:55 86,016 appcomps.dll deleted neded to open the edit-compose box in forums
12/17/2008 12:53 26,624 appshell.dll deleted ---OK ??????
06/21/2008 11:08 2,434 appshell.xpt deleted ---OK ??????
06/21/2008 11:19 3,547 autocomplete.xpt deleted ---OK
12/17/2008 12:56 11,264 autoconfig.dll deleted ---OK
06/21/2008 11:32 211 autoconfig.xpt deleted ---OK
12/17/2008 12:34 27,136 caps.dll do not delete
06/21/2008 10:08 2,555 caps.xpt deleted ---OK
06/21/2008 10:02 679 chardet.xpt deleted ---OK
03/29/2008 04:11 20,480 chrome.dll do not delete
03/29/2008 00:14 344 chrome.xpt deleted ---OK
01/08/2009 10:05 0 components.txt
12/17/2008 12:53 20,480 composer.dll neded to open the edit-compose box in forum
06/21/2008 11:08 673 composer.xpt deleted ---OK
01/06/2009 05:14 109,064 compreg.dat deleted ---OK
12/17/2008 12:37 7,106 content_base.xpt deleted ---OK
06/21/2008 10:17 619 content_html.xpt deleted ---OK
06/21/2008 10:19 541 content_htmldoc.xpt deleted ---OK
06/21/2008 10:19 693 content_xmldoc.xpt deleted ---OK
06/21/2008 10:21 884 content_xslt.xpt deleted ---OK
06/21/2008 10:23 3,476 content_xtf.xpt deleted ---OK
12/17/2008 12:56 13,312 cookie.dll deleted ---OK
06/21/2008 11:32 588 cookie.xpt deleted ---OK
12/17/2008 12:51 76,288 docshell.dll do not delete
06/21/2008 10:57 10,265 docshell_base.xpt deleted ---OK



06/21/2008 10:13 435 dom.xpt deleted ---OK
06/21/2008 10:12 8,668 dom_base.xpt needed to see videos on you tube
06/21/2008 10:12 1,721 dom_canvas.xpt needed to see videos on you tube
06/21/2008 10:12 6,606 dom_core.xpt needed to see videos on you tube
06/21/2008 10:13 11,446 dom_css.xpt needed to see videos on you tube
06/21/2008 10:13 6,490 dom_events.xpt needed to see videos on you tube
06/21/2008 10:12 17,787 dom_html.xpt xpt needed to see videos on you tube



06/21/2008 10:13 2,621 dom_loadsave.xpt deleted ---OK
06/21/2008 10:13 1,397 dom_range.xpt deleted ---OK
06/21/2008 10:13 616 dom_sidebar.xpt deleted ---OK


06/21/2008 10:13 818 dom_stylesheets.xpt deleted ---OK
06/21/2008 10:13 17,935 dom_svg.xpt deleted ---OK
06/21/2008 10:13 1,282 dom_traversal.xpt deleted ---OK
06/21/2008 10:13 226 dom_views.xpt deleted ---OK
06/21/2008 10:13 498 dom_xbl.xpt -neded to see the scroll bar in about:config and for the search function in about:config
06/21/2008 10:13 1,417 dom_xpath.xpt deleted ---OK
06/21/2008 10:13 7,185 dom_xul.xpt needed to acces about:config

Guys....I got an other question >>>>

K-meleon is modular right ?!!?? It just stroke me that beeing modular you could add or remove modules out of it...Am i right..??

I was considering in taking out the part that contains the network protocol and compile a new one :Just the network protocol one (One with 8 pipelining requests limit removed and same about the maximum connections limit)

Would that be possibile???

Options: ReplyQuote
Re: Why kMELEON is SO BIG????
Posted by: dreamz
Date: January 15, 2009 02:41AM

i've been trying to slim down k-meleon as well. so far, i've removed unused plugins, macros, etc., and after upx-ing it, i've gotten the whole package down to 10.8mb.

there are a lot of functions that i don't need, and it'd be nice to excise them completely, which is why i find your project really interesting. i'd love to help you test the builds.

Options: ReplyQuote
Re: Why kMELEON is SO BIG????
Date: January 15, 2009 08:25AM

Quote
dreamz
i've been trying to slim down k-meleon as well. so far, i've removed unused plugins, macros, etc., and after upx-ing it, i've gotten the whole package down to 10.8mb.

there are a lot of functions that i don't need, and it'd be nice to excise them completely, which is why i find your project really interesting. i'd love to help you test the builds.

Ok no Worries...

It is going to take a while tough..

Because every time i remove a dll,or a file i have to test the browser to see how`s acting and stuff..Visiting all kind of web pages and all that..
Deleting files is easy...but it takes time patience and lots of madness to do it by hand and one by one..But you know what..You do learn a lot about the way the browser is working...
grinning smiley



Edited 1 time(s). Last edit at 01/15/2009 08:26AM by Gorilla no baka.

Options: ReplyQuote
Re: Why kMELEON is SO BIG????
Posted by: panzer
Date: January 15, 2009 10:24AM

Well, you can try Square Web browser 1,4 Mb. smiling smiley

Options: ReplyQuote
Re: Why kMELEON is SO BIG????
Posted by: JamesD
Date: January 15, 2009 11:35AM

Quote
Gorilla no baka
It is going to take a while tough..

Because every time i remove a dll,or a file i have to test the browser to see how`s acting and stuff..Visiting all kind of web pages and all that..
Deleting files is easy...but it takes time patience and lots of madness to do it by hand and one by one..But you know what..You do learn a lot about the way the browser is working...

As long as you still have the macro system, you could automate the tests.
Write a macro with an open() statement and an alert for each site you need to try and the alert to say what you are looking for on that site. You can also do that with sessions but you will not have the alert.

Options: ReplyQuote
Re: Why kMELEON is SO BIG????
Date: January 15, 2009 11:37AM

Quote
panzer
Well, you can try Square Web browser 1,4 Mb. smiling smiley
Not bad...That`s what i would look for ...But, there is a but...

That browser is a joke...You can not set anything in it...just use it and that`s all...I want to have the option to modify settings and stuff..
That`s how i decided to start with K-meleon..
Is relatively small (Opera@usb is a lot smaller but i do not have acces at the source code )

Options: ReplyQuote
Re: Why kMELEON is SO BIG????
Posted by: dreamz
Date: January 15, 2009 04:37PM

are there certain functions you're looking to retain? in my case, e.g., i'm looking to keep bookmarks, cookie management (so i can block and whitelist), macros, etc.

also, are you planning on building on chrmlite.dll or tweaking chrome at all?

Options: ReplyQuote
Re: Why kMELEON is SO BIG????
Posted by: guenter
Date: January 15, 2009 04:57PM

Quote
Gorilla no baka
I want to have the option to modify settings and stuff..

Needs at least about : config = needs chrome support and some chrome or CCFME.
View CCF and also 0.8.2 that has minimal chrome to modify settings.
Else You can modify settings via editing prefs.js.



Edited 1 time(s). Last edit at 01/15/2009 04:59PM by guenter.

Options: ReplyQuote
Re: Why kMELEON is SO BIG????
Date: January 16, 2009 12:31AM

Quote
dreamz
are there certain functions you're looking to retain? in my case, e.g., i'm looking to keep bookmarks, cookie management (so i can block and whitelist), macros, etc.

also, are you planning on building on chrmlite.dll or tweaking chrome at all?

I wish i could...

I am still learning C++...
And the only tweaking i am interesed is tweaking the network protocol to remove the hardcoded 8 pipelining requests
And of course the max connections and so on...

You know... The more i look into K-meleon the more i see there is nothing much to tweak except the network protocol max pipelining (REMOVE THE 8 LIMITiN MY OPINION M,MOST OF THE SERVERS RIGHT NOW THEY CAN SUPPORT more than 8 pipelining requests..The only left over servers that does not suport it More than sure it does not worth it visiting them..Just for fun :In the max connections area my setting is a 10 digit integer..and i never had a problem..Look here

user_pref("network.http.max-connections", 2147483647);
user_pref("network.http.max-connections-per-server", 2147483647);
user_pref("network.http.max-persistent-connections-per-proxy", 2147483647);
user_pref("network.http.max-persistent-connections-per-server", 2147483647);
user_pref("network.http.pipelining", true);
user_pref("network.http.pipelining.firstrequest", true);
user_pref("network.", 2http.pipelining.maxrequests147483647);
user_pref("network.http.pipelining.ssl", true);
user_pref("network.http.proxy.pipelining", true);
user_pref("network.http.request.max-start-delay", 0);

Now with this settings i visit small sites like friends blogs and huge site and download stuff..Never had a server to refuze a connection..Which tells me that the servers around can support a lot more than that..of course setting http.pipelining.maxrequests more than 8 is useles since is hard coded but just for fun i set it the same..I told you..there's not much to tweak around except the network protocol
)
The rest of it..Man... the devs have realy done a super job...

Options: ReplyQuote
Re: Why kMELEON is SO BIG????
Posted by: panzer
Date: January 16, 2009 09:55AM

Gorilla, why shouls you stay at gecko stable?

You can try to slim down Qtweb although Guenter said it is slow browser. You can use setup, zip or version or just stand-alone executable (11,7 MB and no twaking winking smiley). Do KM works with just stand-alone executable (.exe)? I have never tried that.

Another alternative: Lunascape 9Mb. World first triple engine browser.

Or why stay at Windows at all?

Kazahakase 1,4 Mb

Possibilities are endless. Explore it!



Edited 2 time(s). Last edit at 01/16/2009 09:57AM by panzer.

Options: ReplyQuote
Pages: 12345Next
Current Page: 1 of 5


K-Meleon forum is powered by Phorum.