xpcom
Including XPCOM inFirefox extension
I have a ve开发者_如何学JAVAry limited experience with Firefox extensions development (read XUL School, written a couple of very simple extensions).[详细]
2023-01-10 13:03 分类:问答using eval.call() in firefox XPCOM component
I\'m making an extension that on load of every page creates an instance of my xpcom component specifically for that page.[详细]
2023-01-06 23:03 分类:问答Using sockets (nsIServerSocket) in XPCOM component (Firefox Extension) (sockets + new window = seg faults)
PLEASE READ THE UPDATE #2 BELOW IF YOU ARE INTERESTED IN THIS PROBLEM ;) Say I put this code into the JS of my extension.[详细]
2023-01-06 05:14 分类:问答Advice on implementing my own console as an XPCOM
I want to use my own console for my extension, where I would be printing out various debug info. I thought I would do that by doing[详细]
2023-01-05 11:56 分类:问答xpcom/jetpack observe all document loads
I write a Mozilla Jetpack based add-on that has to run whenever a document is loaded. For \"toplevel documents\" this mostly works using this code (OserverService = require(\'observer-service\')):[详细]
2023-01-05 11:56 分类:问答How to register an nsIModule DLL on Windows
I\'ve created a Windows library with an implementation of nsIModule (and nsIProtocolHandler) a while ago. I\'ve only recently got round to debugging it some more, but FireFox doesn\'t run my library a[详细]
2023-01-04 04:28 分类:问答Where's all the XPCOM user documentation?
Google can\'t find much user documentation for XPCOM. Sure, it can find endless references to making new XPCOM components in C++, but that\'s utterly useless to anyone who needs to know how to use the[详细]
2023-01-03 12:16 分类:问答Using nsIZipWriter or other to compress a string as a string?
I need to be able to take a javascript string, compress it using any fast and available means and get back a binary string/blob.[详细]
2023-01-01 19:34 分类:问答how can a firefox extension detect content-type of the page loaded?
since my extension\'s pageload is triggered 开发者_StackOverflow中文版even when I view css or js files, i want to add another check that triggers my extension only when the current page\'s content-typ[详细]
2022-12-31 12:59 分类:问答avoid dialog box when netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect"); is called
Hi i got to create.write,read a local file within the javascript using XPCom. For that i have included the below line at the beginning of javascript.[详细]
2022-12-28 18:50 分类:问答