xpcom
Found the type of element selected by getSelection
I need to know the type of item selected by getSelection: Sel:=ContentWindow.GetSelection; Range:=Sel.GetRangeAt(0); // le premier élément selectioné[详细]
2023-02-26 09:09 分类:问答URL filtering with Firefox add-on
During the page load there are number of HTTP requests for document itself and it开发者_如何学Gos requisites. How do i hook them, retrieve target URL and prevent request from being sent if certain con[详细]
2023-02-25 02:16 分类:问答using Range.StartContainer in ContentWindow
what is the result that this instruction using xpcom Sel:=ContentWindow.GetSelection; Range:=Sel.GetRangeAt(0开发者_StackOverflow中文版);[详细]
2023-02-25 01:25 分类:问答Replace HTTP request
I need to redirect http request as part of a filter addon. I am using an nsIObserverService which provides me with subject, topic, and data.[详细]
2023-02-24 05:22 分类:问答ActiveX / XPCOM equivalent for Google Chrome
Is there any way in Google Chrome to access the clipboard (i.e. get and set content of clipboard)? Internet Explorer allows for this by using ActiveX and I got it working in Firefox via XPCOM, I am wo[详细]
2023-02-24 02:13 分类:问答Using addProgressListener and onStatusChange to obtain DNS lookup times for pages
I\'m trying to add functionality to a firefox extension to time how long it takes a webpage to perform DNS lookup. Looking at Firebug, I figured it\'s possible to do so by adding a web progress listen[详细]
2023-02-23 04:10 分类:问答Can you check if an object is wrapped by XPConnect (Firefox)?
My scenario: I am iterating over the window object and trying to retrieve only user-defined variables/functions and filtering out native browser objects.[详细]
2023-02-17 06:32 分类:问答what's the javascript function scope in firefox components?
I am making a firefox component using javascript. But i am always confused about what 开发者_运维技巧is the global scope of the current javascript function, which results in the following questions?[详细]
2023-02-14 14:48 分类:问答What does NS_IMETHODIMP means in a XPCOM?
I\'m having trouble to find the meaning of his NS_IMETHODIMP in a XPCOM, 开发者_运维技巧and I would like to understand this function\'s signature:[详细]
2023-02-14 02:31 分类:问答window resize event for firefox using xpcom
I am creating XPCOM Exte开发者_运维知识库nsion for firefox,I want to handle resize event for firefox Can Anyone tell me how to Register For Resize event and how to handle resize event.[详细]
2023-02-13 19:39 分类:问答