Off-Topic :  K-Meleon Web Browser Forum
All which isn't K-Meleon related. 

Pages: Previous12345...LastNext
Current Page: 2 of 9
Results 31 - 60 of 245
8 years ago
adodupan
31. Â 
 
Forum: Announcements
8 years ago
adodupan
32. Â 
 
Forum: General
8 years ago
adodupan
33. Â 
 
Forum: Development
8 years ago
adodupan
34. Â 
 
Forum: Development
8 years ago
adodupan
35. Â 
 
Forum: General
8 years ago
adodupan
36. Â 
 
Forum: Development
8 years ago
adodupan
37. Â 
 
Forum: General
8 years ago
adodupan
38. Â 
 
Forum: General
8 years ago
adodupan
39. Â 
 
Forum: General
8 years 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 = C
Forum: General
8 years 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', K
Forum: Development
8 years 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 w
Forum: Development
8 years 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: functi
Forum: Development
8 years 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 �
Forum: Development
8 years ago
adodupan
Quotedesga2 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 th
Forum: Development
8 years ago
adodupan
46. Â 
 
Forum: Announcements
8 years 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.impor
Forum: Announcements
8 years ago
adodupan
48. Â 
 
Forum: Announcements
8 years 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.
Forum: Announcements
8 years ago
adodupan
50. Â 
 
Forum: Announcements
8 years ago
adodupan
51. Â 
 
Forum: Announcements
8 years ago
adodupan
Give me your test example for last two parameters. (in RegisterCmd)
Forum: Announcements
8 years ago
adodupan
53. Â 
 
Forum: Announcements
8 years ago
adodupan
54. Â 
 
Forum: Announcements
8 years ago
adodupan
55. Â 
 
Forum: Announcements
8 years ago
adodupan
JamesD, just as you wrote, works fine. /** ADD SEPARATOR **/ const JSB = Components.classes['@kmeleon/jsbridge;1'].getService(Components.interfaces.nsIJSBridge); JSB.SetMenu('Misc', JSB.MENU_SEPARATOR, 1, '', 1); /** REMOVE SEPARATOR **/ const JSB = Components.classes['@kmeleon/jsbridge;1'].getService(Components.interfaces.nsIJSBridge); JSB.SetMenu(&#
Forum: Announcements
8 years ago
adodupan
57. Â 
 
Forum: Announcements
9 years ago
adodupan
58. Â 
 
Forum: Announcements
9 years ago
adodupan
59. Â 
 
Forum: Announcements
9 years ago
adodupan
60. Â 
 
Forum: Announcements
Pages: Previous12345...LastNext
Current Page: 2 of 9

K-Meleon forum is powered by Phorum.