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

Pages: 12345...LastNext
Current Page: 1 of 8
Results 1 - 30 of 231
Yesterday
adodupan
Dorian, this is not my area, i can not be helpful in this. Here are guys that can be really useful and they can help you to make good choice. Now it's clear that you want to move a project, write some criteria, and i expect in next few hours constructive discussion with some useful info. I hope.
Forum: General
2 days ago
adodupan
I don't know any alternatives with web hosting. You need to pay more attention to panzer's links. Some alernatives are mentioned here: http://helb.github.io/goodbye-sourceforge/ There are several options that offer web hosting, what i could see only Savannah provides cvs. You know best what you need. Of course, question is, do you want to move a project? If you want, i'm sure, gu
Forum: General
3 days ago
adodupan
Today i saw a new update is available for several days already, but can not be downloaded. Also CVS is unavailable. Perhaps Dorian should seriously consider alternatives and make a step in that direction.
Forum: General
24 days 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
24 days 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
4 weeks 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
4 weeks 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
4 weeks 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
4 weeks 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
5 weeks ago
adodupan
But I can't install other XPI extentions,K-Meleon will crash!And they don't work in KM75,except the NewsFox!Anybody can try ... There must be some mess in chrome, because i use only core files from official version in my km and everything works perfectly. I use last updates (updates before the last two full packages), and this is the most stable core so far. My os is win7 64bit. Edit: I ha
Forum: Announcements
7 weeks 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
2 months ago
adodupan
Very nice. There missing possibility to get a toolbar list, and possibility to hide and show the toolbar. Also, there missing function as statusbar Important: Any idea how to set icon on MENU_POPUP ? This is irrelevant, even if it is possible, it is bad and can not be the solution. Building menus should improve. how to set menu icon for callbacks without registering command
Forum: Announcements
2 months 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
2 months ago
adodupan
When you make a improvement for it, you just give me an example how to use 'menugrayed' and how to use 'buttongrayed'. there missing possibility to get a tab list (imagine this as nsIDOMWindow for each tab), Can you offer a good solution for this? There missing possibility to get a toolbar list, and possibility to hide and show the toolbar. Also, there missing function as statusbar
Forum: Announcements
2 months ago
adodupan
That is what i tried, but it is not working. I'm using the last RC and last update 3. Same example, paste this code in error console: Components.utils.import('resource://gre/modules/Services.jsm'); const JSB = Components.classes['@kmeleon/jsbridge;1'].getService(Components.interfaces.nsIJSBridge); var enabled = true, checked = false, checkedcommand = function () { checked = !checked;
Forum: Announcements
2 months ago
adodupan
Give me your test example for last two parameters. (in RegisterCmd)
Forum: Announcements
2 months ago
adodupan
There are still missing functions: menuchecked menugrayed also, there missing possibility to get a tab list (imagine this as nsIDOMWindow for each tab), also, possibility to listen to events TabOpen TabClose TabSelect I hope you will not spend one more year for this. After restarting, if previous session has more than one tab, km crashes after reload all tabs. If checked 'Show closing
Forum: Announcements
3 months ago
adodupan
Registered command in cpp with defined description has the effect defined description appear in statusbar on mouseover, same effect has defined description using macroinfo function. When i register command using nsIJSBridge.RegisterCmd(), and when i get command list with their properties, defined description is there but does not appear in statusbar. Unexpectedly, when i use same command as a
Forum: Announcements
3 months ago
adodupan
how to get popup or inline child list What do you mean? Can you imagine menu items as node objects?
Forum: Announcements
3 months 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('Misc', JSB.MENU_SEPARATOR, '', '', ''); E
Forum: Announcements
3 months ago
adodupan
Registered kmICommand.desc is listed, but does not appear in statusbar. How to remove separator from the menu? Edit: If possible: how to get popup or inline child list how to move menu item using just a index (without deleting menu item)
Forum: Announcements
3 months ago
adodupan
Bug nsIPromptService.prompt does not return correct checkbox value. Components.utils.import('resource://gre/modules/Services.jsm'); var input = {value: 'Test'}, check = {value: false}, result = Services.prompt.prompt(null, 'Test', 'Test nsIPromptService.prompt', input,
Forum: Announcements
3 months ago
adodupan
A few more questions: how to use SetAccel for callbacks without registering command how to set menu icon for callbacks without registering command how to remove added icon how to use data:image It would be useful functions such menugrayed menuchecked addtoolbar Not so important, but it would be nice to add functions for controlling statusbar (text and icons).
Forum: Announcements
3 months ago
adodupan
I see now. Events draft and other useless stuffs Scary :) Edit: OK, it's avoided. If someone need this: Components.utils.import('resource://gre/modules/Services.jsm'); const JSB = Components.classes['@kmeleon/jsbridge;1'].getService(Components.interfaces.nsIJSBridge); var exampleCallback = function (arg1, arg2, arg3) { Services.console.logStringMessage('HAS ARGUMENT: ' + (ar
Forum: Announcements
3 months ago
adodupan
When you use accel there shouldn't be argument, but accel sends object window as an argument. callbacks are called with 2 parameters: the domwindow of the active tab and a flag with not much usage for now. To see the difference, you should try code above in beta3, there works fine. consoleservice should be enabled
Forum: Announcements
3 months ago
adodupan
Bug Components.utils.import('resource://gre/modules/Services.jsm'); const JSB = Components.classes['@kmeleon/jsbridge;1'].getService(Components.interfaces.nsIJSBridge); var exampleCallback = function (arg) { Services.console.logStringMessage('HAS ARGUMENT: ' + (arg ? 'Yes = ' + arg : 'No')); }; JSB.SetMenuCallback('Misc', 'Test', (function (arg) { return function () { e
Forum: Announcements
6 months ago
adodupan
Indeed, my sexual life suffer from my work on kmeleon, therefore I should stop. It seems my joke is touched a painful place. Not tomorrow or today, you should stop yesterday. Sex in the morning and sex after lunch, you should not ignore it :) Best regards to all
Forum: Announcements
6 months ago
adodupan
It's done. About your kplugins question, is it your sexual life in crisis, or what :) I have already replied to you about that. Ok, one more time, perhaps this argument is good enough. Do you plan to disable kplugins in km - answer is no. So, you should make it possible to load kplugins inside addons.
Forum: Announcements
6 months ago
adodupan
It is not possible to add a new menu to 'Main' const JSB = Components.classes['@kmeleon/jsbridge;1'].getService(Components.interfaces.nsIJSBridge); JSB.SetMenu('Main', JSB.MENU_POPUP, '&JSBridge Test', '', ''); JSB.SetMenu('&JSBridge Test', JSB.MENU_COMMAND, 'Test About', 'ID_APP_ABOUT', ''); from macro is ok setmenu(Main, popup, _("&JSBridge Test")); setmenu
Forum: Announcements
6 months ago
adodupan
It seems it is not possible to get a nsIJSBridge in bootstrap.js. '@kmeleon/jsbridge;1' in Components.classes is false I know. The plugin is not initialised when bootstrap is called. The only solution I can think of for now, is to move jsbridge inside kmeleon. Edit: this is why initAddon in kmHelper.js is currently called from 'content-document-global-created' You should move jsbrid
Forum: Announcements
Pages: 12345...LastNext
Current Page: 1 of 8

K-Meleon forum is powered by Phorum.