Extensions :  K-Meleon Forum
All about K-Meleon extensions. 
Pages: 12Next
Current Page: 1 of 2
About functions
Posted by: adodupan
Date: May 21, 2011 11:53PM

 



Edited 2 time(s). Last edit at 03/12/2016 03:48AM by adodupan.

Options: ReplyQuote
Re: About functions
Posted by: disrupted
Date: May 22, 2011 12:55AM

you can't inject a js from chrome using readfile command because it's not able to read from a chrome jar-compressed folder. there's not much need for it and normally in kmeleon, the js is either coded inside the macro itself or called from a nornal file path, usually a 'scripts' folder in k-meleon's root. you can make kmeleon call a xul file inside the jar using open command that xul may call the js inside its own jar or another registered jar. the xul can be coded as simple xhtml window just to call the js but it's much easier/practical to have the js in kmeleon's root or scripts folder if its function isn't linked to a xul extension.

Options: ReplyQuote
 
Posted by: adodupan
Date: May 22, 2011 01:43AM

 



Edited 2 time(s). Last edit at 03/01/2016 02:36AM by adodupan.

Options: ReplyQuote
 
Posted by: adodupan
Date: June 07, 2011 09:01PM

 



Edited 3 time(s). Last edit at 03/01/2016 02:23AM by adodupan.

Options: ReplyQuote
Re: About functions
Posted by: adodupan
Date: September 23, 2011 03:12AM

 



Edited 6 time(s). Last edit at 03/12/2016 04:33AM by adodupan.

Attachments: browser v.0.4.7z (1.6 KB)  
Options: ReplyQuote
Re: About functions
Posted by: ndebord
Date: September 23, 2011 06:44AM

Quote
adodupan
Last week i read that Nick wants to open websites in other browsers and it fails. This is irrelevant, but sometimes it can bother users. I've tried all the extensions, but none passed my criteria. So, i wrote a universal code for easy opening websites in any browser. With this km macro, the end user can simply add an item on the menu for every browser (the user can also easily delete any item from the menu). It is not necessary to restart km, after selecting the exe file, the item will appear in the menu.

adodupan,

This works perfectly.... although I tried to get Alain's macro to work with Seamonkey portable, it never did work right. This one does. Very much appreciated.

Why Seamonkey was a problem and others not, I do not know. The right click macros work for Firefox, QTweb, IronPortable, IE, and Maxthon just fine. Now I have all the browsers available from within K-Meleon. (Will have to think about loading up Opera too, although that is a browser I never got used to, in terms of its quirky interface, that is.)

N

Options: ReplyQuote
Re: About functions
Posted by: John
Date: September 23, 2011 12:25PM

Quote
ndebord
Will have to think about loading up Opera too

Like there? http://kmext.sourceforge.net/ext5.htm

Options: ReplyQuote
Re: About functions
Posted by: ndebord
Date: September 23, 2011 08:30PM

Quote
John
Quote
ndebord
Will have to think about loading up Opera too

Like there? http://kmext.sourceforge.net/ext5.htm

John,

Yes or Alain's executable that does the same thing.

http://extensions.geckozone.org/K-MeleonEn#O

N

Options: ReplyQuote
Re: About functions
Posted by: jsnj
Date: September 24, 2011 02:51AM

Quote
adodupan
Last week i read that Nick wants to open websites in other browsers and it fails. This is irrelevant, but sometimes it can bother users. I've tried all the extensions, but none passed my criteria. So, i wrote a universal code for easy opening websites in any browser. With this km macro, the end user can simply add an item on the menu for every browser (the user can also easily delete any item from the menu). It is not necessary to restart km, after selecting the exe file, the item will appear in the menu.
To add items:
Tools > Open in browser > Add a new browser
To open a website you need to right click.
For developers, i suggest this code for the next update of km. The best way is to combine ie.kmm with this code.
Try this macro.

}

Nice addition. I'm curious why you chose not to use the 'Send To' menus in your _browser_03 macro.

"S&end Page To"
"S&end Link To"
"S&end Image To"
"S&end To"

Options: ReplyQuote
 
Posted by: adodupan
Date: September 24, 2011 03:38PM

 



Edited 1 time(s). Last edit at 03/01/2016 02:23AM by adodupan.

Options: ReplyQuote
Re: About functions
Posted by: melo
Date: October 14, 2011 03:25PM

browser.kmm fails in KM 1.1.6 ! sad smiley



Edited 1 time(s). Last edit at 10/14/2011 03:26PM by melo.

Options: ReplyQuote
 
Posted by: adodupan
Date: October 15, 2011 02:34PM

 



Edited 2 time(s). Last edit at 03/01/2016 02:22AM by adodupan.

Options: ReplyQuote
 
Posted by: adodupan
Date: January 11, 2012 11:01PM

 



Edited 2 time(s). Last edit at 03/01/2016 02:21AM by adodupan.

Options: ReplyQuote
Re: About functions
Posted by: rodocop
Date: July 02, 2012 11:34PM

adodupan,
tell me please, what actually is changed inside kmprefs.jar?


Latest Release KM75.1 Latest dev KM76RC + u1 ||| Visit The K-Meleon Place and join me there!
Old good stuff: K-Meleon-1.6db+NS // KM-16-S2014 // 1.6beta2.6 // K-Meleon Twin+

RECOMMENDED! K-Meleon 75.1 Pro: Download portable =//= Discuss on forum

Options: ReplyQuote
 
Posted by: adodupan
Date: July 03, 2012 04:01AM

 



Edited 1 time(s). Last edit at 03/01/2016 02:21AM by adodupan.

Options: ReplyQuote
Re: About functions
Posted by: rodocop
Date: July 03, 2012 05:00AM

thank you very much for your answer!


Latest Release KM75.1 Latest dev KM76RC + u1 ||| Visit The K-Meleon Place and join me there!
Old good stuff: K-Meleon-1.6db+NS // KM-16-S2014 // 1.6beta2.6 // K-Meleon Twin+

RECOMMENDED! K-Meleon 75.1 Pro: Download portable =//= Discuss on forum

Options: ReplyQuote
 
Posted by: adodupan
Date: September 04, 2012 03:06AM

 



Edited 3 time(s). Last edit at 03/01/2016 02:22AM by adodupan.

Options: ReplyQuote
 
Posted by: adodupan
Date: March 10, 2013 03:22AM

 



Edited 2 time(s). Last edit at 03/01/2016 02:22AM by adodupan.

Options: ReplyQuote
Re: About functions
Posted by: rodocop
Date: March 10, 2013 07:44AM

adodupan,
great stuff!

But couldn't we ask you to create macro providing simple GUI for adding such strings (or assign one of predefined UA-strings to currently viewed site)?


Latest Release KM75.1 Latest dev KM76RC + u1 ||| Visit The K-Meleon Place and join me there!
Old good stuff: K-Meleon-1.6db+NS // KM-16-S2014 // 1.6beta2.6 // K-Meleon Twin+

RECOMMENDED! K-Meleon 75.1 Pro: Download portable =//= Discuss on forum

Options: ReplyQuote
 
Posted by: adodupan
Date: March 11, 2013 11:04AM

 



Edited 1 time(s). Last edit at 03/01/2016 02:24AM by adodupan.

Options: ReplyQuote
Re: About functions
Posted by: rodocop
Date: March 13, 2013 01:56AM

The case is only that I'm not enough capable in macrolanguage and not capable at all in JS or other languages.

KMML is the first language I've used to produce something really working but I'm too stupid to work with its GUI-handling part.

When I can I make macros by myself but not now, sorry...


Latest Release KM75.1 Latest dev KM76RC + u1 ||| Visit The K-Meleon Place and join me there!
Old good stuff: K-Meleon-1.6db+NS // KM-16-S2014 // 1.6beta2.6 // K-Meleon Twin+

RECOMMENDED! K-Meleon 75.1 Pro: Download portable =//= Discuss on forum

Options: ReplyQuote
Re: About functions
Posted by: rodocop
Date: June 16, 2013 09:12AM

Oh, wise adodupan!

I need your help with nsUserAgent.js


Latest Release KM75.1 Latest dev KM76RC + u1 ||| Visit The K-Meleon Place and join me there!
Old good stuff: K-Meleon-1.6db+NS // KM-16-S2014 // 1.6beta2.6 // K-Meleon Twin+

RECOMMENDED! K-Meleon 75.1 Pro: Download portable =//= Discuss on forum



Edited 2 time(s). Last edit at 06/16/2013 09:13AM by rodocop.

Options: ReplyQuote
 
Posted by: adodupan
Date: June 19, 2013 04:48AM

 



Edited 3 time(s). Last edit at 03/12/2016 03:56AM by adodupan.

Options: ReplyQuote
 
Posted by: adodupan
Date: August 24, 2013 01:58AM

 



Edited 1 time(s). Last edit at 03/12/2016 03:56AM by adodupan.

Options: ReplyQuote
 
Posted by: adodupan
Date: October 07, 2013 10:28PM

 



Edited 1 time(s). Last edit at 03/12/2016 03:57AM by adodupan.

Options: ReplyQuote
Re: About functions
Posted by: rodocop
Date: October 10, 2013 08:27PM

Oh, what the magic!!!

Adodupan, you're a magician! It works like a charm!


Latest Release KM75.1 Latest dev KM76RC + u1 ||| Visit The K-Meleon Place and join me there!
Old good stuff: K-Meleon-1.6db+NS // KM-16-S2014 // 1.6beta2.6 // K-Meleon Twin+

RECOMMENDED! K-Meleon 75.1 Pro: Download portable =//= Discuss on forum

Options: ReplyQuote
Re: About functions
Posted by: naruman
Date: October 18, 2013 03:16AM

Hi adodupan , The useragent you made is a great Extension .

There is no large number of km extensions that using XPCOM Components , clearly you are on a high skill in those functions.

From your knowledge , Is it possible for km to sense of the change of tabs , or it will need kplugin?

I mean something like:

$OnChangeTab=$OnChangeTab."Do_Something;";

I've written a macro to hide pictures , kill css and bring them back (from Cache ), using the toolbar buttons .

Which improves performance , but could it do so in Auto way with the change of the tab?

Options: ReplyQuote
 
Posted by: adodupan
Date: October 18, 2013 12:56PM

 



Edited 1 time(s). Last edit at 03/12/2016 03:57AM by adodupan.

Options: ReplyQuote
Re: About functions
Posted by: rodocop
Date: October 19, 2013 02:34AM

naruman,
couldn't you share your extension, please!


Latest Release KM75.1 Latest dev KM76RC + u1 ||| Visit The K-Meleon Place and join me there!
Old good stuff: K-Meleon-1.6db+NS // KM-16-S2014 // 1.6beta2.6 // K-Meleon Twin+

RECOMMENDED! K-Meleon 75.1 Pro: Download portable =//= Discuss on forum

Options: ReplyQuote
Re: About functions
Posted by: naruman
Date: October 19, 2013 04:11AM

auto way >> Automatic ( bad Translation ) .

"On tab change "is the main thing , i was needed it for some other macros & i was forced to go around it by other long methods.

And about killing the elements is to get rid of all unimportant things running in the background.

To tell the engine , all the other pages is just text ,don't hold any places in the memory for it, don't play flash , images/gif ,css , js/XmlHttpRequest/AJAX ..

All of these elements can be hide, kill , dysfunction or stop & refresh it again by simple js code .

Now i have 6 tabs , everything is on & km is taking 110 MB of pc memmmory + Km cache space it use.






rodocop,

Kill images & css is part of complex toolbar , do some stuff for display some of my local sites, i will extract their own parts of it.

Options: ReplyQuote
Pages: 12Next
Current Page: 1 of 2


K-Meleon forum is powered by Phorum.