Re: How to add a new HTTP header to all HTTP requests?

2006-02-27 Thread Nickolay Ponomarev
On 2/26/06, Boris Zbarsky <[EMAIL PROTECTED]> wrote: > Charles Iliya Krempeaux wrote: > > BTW, I created an article on devmo to document this in more detail, in > > case anyone else needs help on this: > > > > http://developer.mozilla.org/en/docs/XULRunner:Article:How_to_add_an_HTTP_request_header

Re: setting cookies for firefox programatically

2006-08-25 Thread Nickolay Ponomarev
On 8/18/06, Kapil <[EMAIL PROTECTED]> wrote: I want to set a cookie for firefox from my c/c++ program on windows for a specific website. First, please don't cross-post unless it's appropriate (and your crosspost to dev-mdc was not) and if you do cross-post, send a single message to several grou

Re: python xpcom fails to build with gran paradiso alpha 1

2006-12-20 Thread Nickolay Ponomarev
On 19 Dec 2006 22:55:54 -0800, Kannan <[EMAIL PROTECTED]> wrote: Hi, Has anyone built python xpcom with the gran paradiso alpha 1 code base? I am getting compile error with nsXPTCStubBase class. http://groups-beta.google.com/group/mozilla.dev.tech.xpcom/browse_thread/thread/5ba9ed18e37f2014/a44

Re: Redirect URL

2007-01-12 Thread Nickolay Ponomarev
On 11 Jan 2007 14:51:29 -0800, Andrei Korostelev <[EMAIL PROTECTED]> wrote: I need to have a Firefox extension which redirects certain URLs to another location. AFAIK using OnStartURIOpen() is not appropriate since it only allows or disallows the url load and cannot handle redirection. Any ideas?

Re: XULRUNNER_1_8_0_4 build failure: optimized

2007-02-01 Thread Nickolay Ponomarev
On 1 Feb 2007 04:08:56 -0800, edburns <[EMAIL PROTECTED]> wrote: Interestingly enough, building the XULRUNNER_1_8_0_4 source tarball with *this* mozconfig built just fine: . $topsrcdir/xulrunner/config/mozconfig mk_add_options [EMAIL PROTECTED]@/win32_d.obj ac_add_options --enable-debug ac_add_o

Re: License

2007-03-29 Thread Nickolay Ponomarev
On 3/29/07, Lloyd <[EMAIL PROTECTED]> wrote: > Hi, > I would like to know one thing about mozilla embedding. > Can I embed mozilla on commercial applications which are not open > source? (Any licensing problem will be there?) > IANAL, but most of the source code is available under MPL or a less r

Re: embedding xulrunner gecko-sdk 1.9

2007-05-02 Thread Nickolay Ponomarev
R headless. Also might be interesting to you is: http://weblogs.mozillazine.org/roc/archives/2006/07/the_good_the_bad_and_the_three.html which hints that making mozilla run headless is too much effort. Nickolay > > Nickolay Ponomarev wrote: > > On 1 May 2007 15:41:23 -0700, faayil &

Re: embedding xulrunner gecko-sdk 1.9

2007-05-02 Thread Nickolay Ponomarev
On 1 May 2007 15:41:23 -0700, faayil <[EMAIL PROTECTED]> wrote: > One of the features targeted for xulrunner/gecko-sdk ver 1.9 is > running the xulrunner headless. Is this feature implemented in > xulrunner-1.9a5pre.en-US? > Targeted by who, may I ask? (And do you mean running without X or somethin

Re: embedding xulrunner gecko-sdk 1.9

2007-05-02 Thread Nickolay Ponomarev
dom and the coordinates of > the nodes. > No, I can't. If you figure something out, please write it down on MDC. Nickolay > Nickolay Ponomarev wrote: > > On 5/2/07, Irfan Mohammed <[EMAIL PROTECTED]> wrote: > >> http://www.mozilla.org/roadmap/gecko-1.9-roadmap.h

Re: Get instance of the existing browser

2007-09-24 Thread Nickolay Ponomarev
On 9/23/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hi, I try to build the application on C++, which can get and modify > HTML content of the browser. Could you tell me, how I can get > interface nsIWebBrowser of existing browser and gain access to the > DOM. > I don't think Firefox (if that

Re: how to use "GetElementsByTagName" function to get urls from dom tree?

2007-09-24 Thread Nickolay Ponomarev
On 9/24/07, Brightman <[EMAIL PROTECTED]> wrote: > my code as follow,but it does't work :( > "Doesn't work" meaning what exactly? Did you check that "a" elements are lowercase in the DOM inspector? BTW, note that you don't check for any return values, meaning you'll crash on OOM and if the nodel

Re: trace/debug

2007-09-24 Thread Nickolay Ponomarev
On 9/21/07, bc <[EMAIL PROTECTED]> wrote: > is there any way to get trace for xulrunner? > What exactly is your question? You can build a debug XULRunner yourself of course. If you're asking about the symbols for release builds (for getting meaningful stacks for crashes and the like), I'm not sure

Re: trace/debug

2007-09-25 Thread Nickolay Ponomarev
ript. > Hm. I'm probably not being of much help here, but now I'm curious -- how do you "register" your XPCOM component? AFAIK, there's no component loader implemented for Java ATM. Nickolay > Nickolay Ponomarev wrote: > > On 9/21/07, bc <[EMAIL PROTECTED]>

Re: Load HTML from stream

2008-01-17 Thread Nickolay Ponomarev
On Jan 11, 2008 6:09 AM, <[EMAIL PROTECTED]> wrote: > Is it possible to load HTML from stream instead of URI? > > Thanks in advance. There has to be a URI associated with the document, but you can implement a custom protocol handler (see http://developer.mozilla.org/en/docs/nsIProtocolHandler and

Re: bypass security exception when calling xpcom from webpage | how to pass msg from webpage to application

2009-11-19 Thread Nickolay Ponomarev
On Thu, Nov 19, 2009 at 12:48 PM, testols ols wrote: > I have integrated xulrunner in my application and am able to load > webpages to it. My main requirement is to invoke native application > function through webpage. Through webpage i want to indicate > application to close/terminate browser an