Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Listen for url changes on opened windows?
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
scottgmead...@gmail.com  
View profile  
 More options Oct 29 2012, 8:02 pm
From: scottgmead...@gmail.com
Date: Mon, 29 Oct 2012 17:02:58 -0700 (PDT)
Local: Mon, Oct 29 2012 8:02 pm
Subject: Re: [node-webkit] Listen for url changes on opened windows?

Opened issue #128 <https://github.com/rogerwang/node-webkit/issues/128>.

Roger, thanks for the quick reply and your continued hard work on
node-webkit.

Let me give some context to my question here... I'm working on an
application that will use node-webkit as a browser for the web at large
with some added node functionality in the background, so access to
index.html is a bit tricky to say the least.

Is this kind of project 'in scope' for nw?

Cheers!
-Scott

On Monday, October 29, 2012 10:18:03 AM UTC-4, Roger WANG wrote:

> <scottg...@gmail.com <javascript:>> writes:

> > Now that the #36 fix is in, I'm curious about how I would do this
> > properly.

> At least in my testing the fix didn't work. Will re-open the issue and
> follow up on this.

> > Have tried the following code window api code in app.js which is defined
> as
> > node-main in the manifest.

> > <code>
> > var gui = require('nw.gui');
> > var newWindow = gui.Window.get(

> > window.open('http://google.ca');

> > )
> > </code>

> > This seems to throw an error (the nw ui just goes grey). Is this a bug
> or
> > am I doing something wrong?

> Even after #36 works, 'nw.gui' and windows objects cannot be opened
> here (which should be another item on our TODO).

> A callback function should be defined here and then referred from
> WebKit context (e.g. from your index.html)

> --
> Roger WANG                         Intel Open Source Technology Center


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.