Extensions :  K-Meleon Forum
All about K-Meleon extensions. 

Pages: 12345...LastNext
Current Page: 1 of 8
Results 1 - 30 of 223
6 months ago
adodupan
1.  
 
Forum: Announcements
7 months ago
adodupan
2.  
 
Forum: General
7 months ago
adodupan
If there missing 'resource', you can do something like this on startup, paste this in error console: Components.utils.import('resource://gre/modules/Services.jsm'); Components.utils.import('resource://gre/modules/FileUtils.jsm'); Services.io.getProtocolHandler('resource') .QueryInterface(Components.interfaces.nsIResProtocolHandler) .setSubstitution('root', Services.io.newFileURI(File
Forum: Bugs
7 months ago
adodupan
4.  
 
Forum: Announcements
7 months ago
adodupan
5.  
 
Forum: Announcements
7 months ago
adodupan
Macro is not dependent of gecko and this should not change. I understand what you want to do and check what can be done. Before you spend your time on 'check what can be done', it might be good to specifying your reasons why it should not be changed. Function RunMacro crashes kmeleon, or does nothing. Seems to work for me. Any sample code? It seems to me, it is great to be
Forum: Announcements
7 months ago
adodupan
7.  
 
Forum: Announcements
7 months ago
adodupan
8.  
 
Forum: Announcements
8 months ago
adodupan
9.  
 
Forum: Announcements
8 months ago
adodupan
10.  
 
Forum: General
9 months ago
adodupan
11.  
 
Forum: Development
10 months ago
adodupan
12.  
 
Forum: Development
10 months ago
adodupan
13.  
 
Forum: General
10 months ago
adodupan
14.  
 
Forum: Development
1 year ago
adodupan
15.  
 
Forum: General
1 year ago
adodupan
16.  
 
Forum: General
1 year ago
adodupan
17.  
 
Forum: General
1 year ago
adodupan
These few lines will add and set Zoho as default mailto handler. Paste code in error console: var name = 'Zoho', url = 'http://mail.zoho.com/mail/compose.do?extsrc=mailto&mode=compose&tp=zb&ct=%s', handlerService = Components.classes['@mozilla.org/uriloader/handler-service;1'] .getService(Components.interfaces.nsIHandlerService), handlerInfo = Components.classes['@mozilla.org
Forum: General
1 year ago
adodupan
Try this kmHelper.js file: clearformhistory: function () { const fhBundle = Services.strings.createBundle('chrome://kmprefs/locale/kmprefs/ovrl-history.properties'); if (!FileUtils.getFile('KAPlugins', ['privacy.dll']).exists() || !Services.prefs.getBoolPref('kmeleon.plugins.privacy.load')) { // KMeleon.SetMenu('PrivateData', KMeleon.MENU_POPUP, fhBundle.GetStringFromName('Clea
Forum: Development
1 year ago
adodupan
Everything above must be ok. Now, it is necessary to register observer to get notification 'kmeleon-init'. This will initiate our code. The easiest way to do this is to edit a file browser\omni.ja\components\kmHelper.js. There is already registered observer and some code that we need. We will make a small modification in our code, we will replace constant JSB with KMeleon, then we will put
Forum: Development
1 year ago
adodupan
Be patient, i will show you all you need that you can finish your update. I agree, callback to check if formhistory database empty, is not simple. Put this in your xul file: add new line in init() function <!-- Added for Form History options --> this.initFormBtn(); // new line This is your callback - new function: <!-- Added for Form History options --> initFormBtn: func
Forum: Development
1 year ago
adodupan
At the beginning, you should forget macros.dll and kmm files. This code will add a menu item 'Clear &Forms History' in popup '&Clear Data' using a function SetMenuCallback(). I recommend function SetMenu() in this case, because this menu item will be enabled or not depending on whether formhistory database is empty or not. But in your update missing part whether 'Clear' button is enable
Forum: Development
1 year ago
adodupan
Dorian must add a ClearForms() function to privacy.dll kplugin and add entry in menus: In file: \K-Meleon75\browser\defaults\settings\menus.cfg - Also add it to Clear Au&tomatically...=privacy(Config) "Privacy Plugin Settings" dialog. - And modify macro function Clear All in file: \K-Meleon75\macros\main.kmm I don't know if you follow what Dorian doing in the last months,
Forum: Development
1 year ago
adodupan
24.  
 
Forum: Announcements
1 year ago
adodupan
Using enabled parameter in function RegisterCmd on the button has the effect of freezing, not disabling. There missing possibility to add toolbar and toolbar item with text, this is only possible to make in 'Main' toolbar. Also, there missing possibility to add toolbar item with icon and with text. Toolbar item should look as a menu item, try this example: Components.utils.import('resource
Forum: Announcements
1 year ago
adodupan
26.  
 
Forum: Announcements
1 year ago
adodupan
Enabled and checked (last two parameters in RegisterCmd) work fine on the buttons, but has no effect on menu items. Function GetWindows crashes km. Paste this code in error console and open several windows and tabs in km: Components.utils.import('resource://gre/modules/Services.jsm'); const JSB = Components.classes['@kmeleon/jsbridge;1'].getService(Components.interfaces.nsIJSBridge); var te
Forum: Announcements
1 year ago
adodupan
28.  
 
Forum: Announcements
1 year ago
adodupan
29.  
 
Forum: Announcements
1 year ago
adodupan
Give me your test example for last two parameters. (in RegisterCmd)
Forum: Announcements
Pages: 12345...LastNext
Current Page: 1 of 8

K-Meleon forum is powered by Phorum.