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
 
Roger WANG  
View profile  
 More options Oct 29 2012, 10:18 am
From: Roger WANG <roger.w...@intel.com>
Date: Mon, 29 Oct 2012 22:17:58 +0800
Local: Mon, Oct 29 2012 10:17 am
Subject: Re: [node-webkit] Listen for url changes on opened windows?

<scottgmead...@gmail.com> 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.