xpcom
Expose an XPCOM component to javascript in a web page
I\'d like to write a XPCOM component that gets exposed as a javascript object in a web page.Something like Google Gears is what I\'m seeking.That is, after installing the Google Gears Firefox extensio[详细]
2023-02-13 18:59 分类:问答Monitor outgoing request body using nsihttpchannel
I understand that nsIHttpChannel can be used to monitor and manipulate HTTP request/response headers.[详细]
2023-02-12 12:56 分类:问答NS_ERROR_FAILURE with absent property
I trying to capture pageLoad event in progressListener, in onLocationChange i check URI of fresh page, and in case URI = about:blank i got[详细]
2023-02-10 10:49 分类:问答Handling and aborting downloads from Firefox extension
I need strange behavior for my extension :) When user enters URL or clicks on link that points to some document I need show him some web page instead of downloading this file (web viewer for pdf, for[详细]
2023-02-09 07:08 分类:问答Last inserted id from SQLite in FireFox add-on
im writing addon for firefox and use SQLite trough XPCOM. Can anyone explain how to get last in开发者_JS百科serted id from autoincrement column?You can use the lastInsertRowId on the connection.Howev[详细]
2023-02-08 04:13 分类:问答Help me create a Firefox extension (Javascript XPCOM Component)
I\'ve been looking at different tutorials and I know I\'m close but I\'m getting lost in implementation details because some of them are a little bit dated and a few things have changed since Firefox[详细]
2023-02-07 22:01 分类:问答Firefox not loading XPCOM Component under Fedora
I am trying to build simple XPCOM component for Firefox 3.6.13 under LINUX operating system. I successfully compiled the component using Xulrunner SDK 1.9.2.13. I kept it under components directory. B[详细]
2023-02-07 12:54 分类:问答How to get images from cache using a XPCOM Component in Firefox
I need to get the cache file path for ever image lo开发者_高级运维aded in a document, I am wondering what are the Interfaces I need to use in order to do that[详细]
2023-02-06 23:52 分类:问答Trouble with XPCOM XPathEvaluator
I\'m having trouble evaluating XPaths using the nsIDOMXPathEvaluator from Mozillas XPCOM. I\'m running the following javascript code through XPCShell:[详细]
2023-02-06 10:21 分类:问答Windows 7 and installing files to another program's install directory - FireFox XPCOM component
I am helping another programmer build an install program that needs to locate the Mozilla program directory and install the files necessary to support an XPCOM component.M开发者_开发问答y tool of choi[详细]
2023-02-05 02:52 分类:问答