Created
January 13, 2013 05:40
-
-
Save zhchbin/4522522 to your computer and use it in GitHub Desktop.
Hide icon from task bar. For node-webkit #251
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
<title>Testing</title> | |
<script type="text/javascript"> | |
var gui = require('nw.gui'); | |
var win = gui.Window.get(); | |
gui.Window.open('pop.html', { | |
show_in_taskbar: false | |
}); | |
</script> | |
</head> | |
<body> | |
<p>This window without taskbar icon.</p> | |
</body> | |
</html> | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "nw-demo", | |
"main": "index.html", | |
"window": { | |
"show_in_taskbar" : false | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
<title>Popup Window</title> | |
</head> | |
<body> | |
<p>This window without taskbar icon.</p> | |
</body> | |
</html> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks.