You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tharatau edited this page Jan 19, 2023
·
6 revisions
NOTE: some content in this wiki applies only to 0.12 and earlier versions. For official documentation on 0.13 and later, see http://docs.nwjs.io
The following changes to DOM is made to support native applications better:
Features marked with node only means that only Node frames can do this. Normal frames still follow the W3C standard. For definition of Node frames and Normal frames, see Security
setting value of file input element (node only)
// This behaviour is currently broken. See https://github.com/nwjs/nw.js/issues/7958varf=newFile('/path/to/file','name');varfiles=newFileList();files.append(f);document.getElementById('input0').files=files;
script can emulate user gestures
JavaScripts can emulate user gestures while in browsers they can't. e.g. Triggering click event on file input. See File-dialogs
nwUserAgent
since v0.9.0-rc1
A new attribute nwUserAgent is added to the iframe element. The value is used as the User-Agent header from HTTP requests from that iframe, or its descendants.