K-Meleon development related discussions.
Tabs can be scripted?
Date: April 04, 2002 05:33PM
Okay, some of us love tabs (I do) and some hate 'em. Since developers won't do it we have to do it ourselves.
As I see there are two possible solutions to that kind of problem.
2) You can read and write frame contents arbitrarily if you give your script needed rights (netscape.security.PrivilegeManager.enablePrivilege()), you can store a content somewhere and replace it with another. You can replace the content of a frame or window dynamically. The problem here is that current KM doesn't understand securitymanager functions at all. New beta does, at least when I tested it for this.
I make no claims of whatsoever about the practical use of above methods. It's just an idea. I have only done preliminary tests. Because of my lack of time to start testing and working on this myself I'm passing the idea here to anybody who would be interested to give a try.
As stated before, I will not be able to engage in new projects anytime soon but I can share knowledge or ideas that I have.
Re: Tabs can be scripted?
Date: April 05, 2002 06:51AM
This looks doable, but it is too much of a hack IMO. Doing it with a plugin using MFC would be much cleaner and most probably merged with the main program by the authors if done right. It is possible to use MFC to make mozilla tabs, take a look at Scope (cyberian.tripod.com), the author might even want to let you have the code, since he doesn't seem to do any more development on it.
I would definitely prefer an MFC plugin, though your way might be okay too.