Bugs :  K-Meleon Web Browser Forum
You can talk about issues with k-meleon here.  

Pages: 12345...LastNext
Current Page: 1 of 9
Results 1 - 30 of 245
1 year ago
adodupan
Quoteroytam1 nsIPermissionManager API has been changed. this extension needs an update. It looks like the extension has already been updated, but km stores the data in a sqlite file differently than ff and the updated extension doesn't work. km stores the website address as nsIURI.host ff stores the website address as scheme + nsIURI.host
Forum: K-Meleon on Goanna
1 year ago
adodupan
CreateButton, CreateCallbackButton These functions are not implemented. AddToolbar QuoteAddToolbar The current implementation of this function does not work as expected. Somewhere i wrote almost the same comment, in fact this function works as expected. You can try this function in error console, then open a new km window and you will see the new toolbar there. const JSB = Components.c
Forum: General
3 years ago
adodupan
Quotesiria What macro writers never dared to dream yet, a chance to modify pages BEFORE they finished loading... QuoteKris_88 It would of course be very tempting to call the macro so that it can load the script. But if I understand correctly, communication between the browser and macros is done asynchronously. When a macro is triggered by an event, it may be too late to load the script. In 2
Forum: Extensions
4 years ago
adodupan
Quotecmdline.GetSwitch("-P", NULL, TRUE); // remove the flag from the command line It's ok, -P -clstest Regards
Forum: K-Meleon on Goanna
4 years ago
adodupan
First test seems fine. Also, when i tried your last km, i made a test for observers notification 'command-line-startup'. Subject is nsICommandLine now, but km is not behaving as expected. It treats the command-line flag as a url. Read about nsICommandLine. nsICommandLine.handleFlag() function should determine if the flag was provided and remove it from the list of flags waiting to
Forum: K-Meleon on Goanna
4 years ago
adodupan
Function JSB.SendMessage() crashes km. If not immediately, try several times to refresh the webpage. Paste this in error console and open any webpage: Components.utils.import('resource://gre/modules/XPCOMUtils.jsm'); Components.utils.import('resource://gre/modules/Services.jsm'); XPCOMUtils.defineLazyServiceGetter(this, 'JSB', '@kmeleon/jsbridge;1', �
Forum: K-Meleon on Goanna
4 years ago
adodupan
QuoteJohnHell so the XPI add-ons can't create/interact with the K-meleon interface. To mimic buttons and menus from those add-ons, they must be created through macro language (http://kmeleonbrowser.org/docs.php). It is unexpected to read this from you. I have km, all the user interface is written in javascript, or to be clear, all menu items and toolbar buttons are written in javascri
Forum: Extensions
4 years ago
adodupan
Quotesiria How can macros be called by a chrome xul context-menu? Am currently discovering exciting new possibilities for kmm-macros on chrome pages, specifically on aboutconfig, but cannot modify the context menu there with macro "setmenu". It is possible to add items to the context menu in the xul file. You can do this by using xul overlays. When you do that, you can run the macro
Forum: General
4 years ago
adodupan
Quotegiro1991 My question is like the title implies, is there an easy way to do that? A dialog would be cool, if not a makeshift solution would be to prompt the preferences window at first launch - one of the pages has a 'make k-meleon default browser' button which works well. Any ideas? Find the last 1.8 build and look there. Regards
Forum: General
4 years ago
adodupan
Guys there is no reason for your allergies, using json should not be so difficult, it is possible even in macrolanguage. Here is an example of how to use it, i hope it will help to demystify this. Macro search selected text in a new tab, it will appear in the Tools menu and in the context menu. $OnInit = $OnInit."_sst_01;"; $OnStartup = $OnStartup."_sst_02;"; $__varsst_0
Forum: General
5 years ago
adodupan
Seven days from today, i'll meet you here to see if there are changes in your attitude Regards
Forum: K-Meleon on Goanna
5 years ago
adodupan
Quoteroytam1 Quoteadodupan Quoteroytam1 Note: for unknown reason, this code becoming broken after my 8 Feb merge: (follow code found in Easy Drag2Go extension) var tPrefs = Cc['@mozilla.org/preferences-service;1'].getService(Ci.nsIPrefService); var lang = tPrefs.getComplexValue('general.useragent.locale', Ci.nsISupportsString).data; 07:20:40.283 TypeError: tPrefs.getCom
Forum: K-Meleon on Goanna
5 years ago
adodupan
Quoteroytam1 Note: for unknown reason, this code becoming broken after my 8 Feb merge: (follow code found in Easy Drag2Go extension) var tPrefs = Cc['@mozilla.org/preferences-service;1'].getService(Ci.nsIPrefService); var lang = tPrefs.getComplexValue('general.useragent.locale', Ci.nsISupportsString).data; 07:20:40.283 TypeError: tPrefs.getComplexValue is not a function
Forum: K-Meleon on Goanna
5 years ago
adodupan
You can register observer and receive these notifications: kmeleon-createwindow kmeleon-opentab kmeleon-closetab kmeleon-switchtab So, you can write code to track when km open, switch or close a tab, then you can use this data for anything you want. This would be a partial solution, because there is missing part or notification 'kmeleon-movetab'. This means, you will not be able
Forum: General
6 years ago
adodupan
Guys, i did not follow this, it seems you have some problems when you use 'resource:///' or what, what preferences panel bug?
Forum: K-Meleon on Goanna
6 years ago
adodupan
Quoteroytam1 I'd say "unlikely" unless someone providing me a patch since almost whole print portions are K-Meleon specified(i.e. not using engine's functions). Perhaps you need to forget current km's way (which btw does not work as expected) and consider option to use engine's functions. To use engine's functions you need a xul window. This means, when you c
Forum: K-Meleon on Goanna
6 years ago
adodupan
QuoteTrisha So it is impossible to allow JS only on certain websites? Yes, it is possible. In past, i've added a few lines to km and it works fine. I prefer to block javascript just on several websites, but same code will do the job for you. Go to about:config and check if there exist pref 'permissions.default.script'. If not, you need to add a new INT pref, then set the value
Forum: General
7 years ago
adodupan
You can embed image data directly in kmm file using data uri. Using data uri you can use high quality images and keep good performance. Here is an example of how to use it: $OnInit = $OnInit."_psf_;"; $_psf = true; function psf1($p) { if($p == "cold") # it is not used, here is just in case if you want to add other stuff return "data:image/png;base64,iVBORw0
Forum: Development
7 years ago
adodupan
Yes, they look like twins. I don't see the difference Missing this: onload="window.sizeToContent();HistorySidebarInit();" Code in js file should be at the beginning of the function. What is god spoke this morning, will it ever stop this madness
Forum: Development
7 years ago
adodupan
What a crazy story Lucky my man, you are really special character. But you have my sympathy. Code above is a way to avoid this bug and it doing its job, of course. This is so simple, i'm not sure i can explain this better. Email is a shortcut for me, it's just faster than this, because i can't attach files here. So, only thing i still can do is show you how it looks xul file.
Forum: Development
7 years ago
adodupan
Hey lucky, god probably had his hands full of other demands last night. You should try tomorrow. Don't forget this QuoteJohnHell To ensure that all works, delete, as well, the startupCache folder in the profile directory before start K-meleon again. In case it will not work again, send me your email, you will get edited files. Good luck
Forum: Development
7 years ago
adodupan
QuoteJohnHell I can't make the window to remember the size and, for whatever reason, it takes the kmeleon.display.xul values, instead of what I tell. Looks like setting a persist and an id, doesn't help. It would be nice surprise that working as expected. Put some id and persist attribute in xul file and put this in js file: function HistorySidebarInit() { /** new lines **/
Forum: Development
8 years ago
adodupan
23. Â 
 
Forum: Announcements
8 years ago
adodupan
24. Â 
 
Forum: General
8 years 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) .setSubstit
Forum: Bugs
8 years ago
adodupan
26. Â 
 
Forum: Announcements
8 years ago
adodupan
27. Â 
 
Forum: Announcements
8 years ago
adodupan
QuoteDorian 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. QuoteDorian Quoteadodupan Function RunMacro crashes kmeleon, or does nothing. Seems to work for me. Any sample code?
Forum: Announcements
8 years ago
adodupan
29. Â 
 
Forum: Announcements
8 years ago
adodupan
30. Â 
 
Forum: Announcements
Pages: 12345...LastNext
Current Page: 1 of 9

K-Meleon forum is powered by Phorum.