General :  K-Meleon Forum
General discussion about K-Meleon. 

Pages: 12345...LastNext
Current Page: 1 of 8
Results 1 - 30 of 218
6 days 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
7 days 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
8 days ago
adodupan
Give me your test example for last two parameters. (in RegisterCmd)
Forum: Announcements
12 days 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
29 days 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
4 weeks ago
adodupan
how to get popup or inline child list What do you mean? Can you imagine menu items as node objects?
Forum: Announcements
4 weeks 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
4 weeks 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
4 weeks 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
5 weeks 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
5 weeks 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
5 weeks 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
5 weeks 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
4 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
4 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
4 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
4 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
4 months ago
adodupan
Is this address alive blist _at_ free.fr
Forum: Announcements
4 months ago
adodupan
So, the subject of this topic: really HOW are Firefox extensions installed AND how to run them. I know it is quite experimental, but, god, George Hall was able to do this big job adapting addons, shouldn't be that hard!!! Or, just a simple answer, this addon can't work, but tell me why so I can test and I can help. I feel quite useless :/ Wihtout a way to select cideos with the line chrom
Forum: Extensions
5 months ago
adodupan
Yogi, you need to try new JSBridge functions and everything will be clearer. Here is a simple code with new functions, just paste it in the error console: Components.utils.import('resource://gre/modules/Services.jsm'); const JSB = Components.classes['@kmeleon/jsbridge;1'].getService(Components.interfaces.nsIJSBridge); var TEST = { menuName: 'MenuName', menu: 'Menu Test', btn: 'Button T
Forum: Announcements
5 months ago
adodupan
Dorian, i can send you code, but if your code works, you just show us your 'basic test'. Edit: When i use a function AddButton, the images are rotated. Also, how to get an image from png files with several images inside.
Forum: Announcements
5 months ago
adodupan
Dorian, it's about what i expect, not about what i need. I expect some day you will finish a story about km addons, and i expect that day will come soon.
Forum: Announcements
5 months ago
adodupan
The plugin is not initialised when bootstrap is called. The only solution I can think of for now, is to move jsbridge inside kmeleon. I expect support for kplugins in addons soon. Does this mean that we should expect same trouble with kplugins in a bootstrap addons. If yes, move jsbridge inside km will not solve the problem.
Forum: Announcements
5 months ago
adodupan
It seems it is not possible to get a nsIJSBridge in bootstrap.js. '@kmeleon/jsbridge;1' in Components.classes is false
Forum: Announcements
5 months ago
adodupan
Yes, button was hidden. Function RemoveButton crashes km.
Forum: Announcements
5 months ago
adodupan
When i use RegisterCmd function with a SetMenu, i can not delete added item. Also, i can not get an icon. It's not a bad idea, but bug i mentioned earlier is not fixed. Are there some limitations with a function AddButton (like 'OnSetup' only), i can not get a button when i try this function in error console.
Forum: Announcements
5 months ago
adodupan
Untouched ExampleButton works fine, but my minimal skin can not display buttons. Also, in both cases, i have used file mainbar.png as default (in the latest beta file is already there in 'Default' folder), same behavior as above. Some suggestions?
Forum: Development
5 months ago
adodupan
You guys are involved in the recent changes, perhaps someone tried macro buttons already?
Forum: Development
5 months ago
adodupan
When i use a function SetMenu or SetMenuCallback, keyboard shortcuts (alt + 'some character') do not appear in the menu when i use a mouse. When i use the keyboard, everything is fine. I have tried this in old version 1.5, same behavior. It seems this is old bug. Components.classes['@mozilla.org/moz/jssubscript-loader;1'] .getService(Components.interfaces.mozIJSSubScriptLoader) .loadSubSc
Forum: Announcements
6 months ago
adodupan
To import ie favorites you need ff\browser\omni.ja file. With method above, bookmarks in sqlite file will be overwritten. You can't run this code from a macro.
Forum: General
Pages: 12345...LastNext
Current Page: 1 of 8

K-Meleon forum is powered by Phorum.