Basically, since I am not going for full screen with my game, I need a plugin to help me extract the user screen resolution variable.
This is so that I can center the game window every time the player change the screen resolution and at the start of the game itself using node-webkit.
My Javascript skill is terrible and I hope there would be a kind soul that can help to make this plugin for me and others who also intend to use it.
From here, I see that it looks easy but I kinda new to the whole making your plugin thing.
http://stackoverflow.com/questions/10022584/can-you-get-a-users-screen-size-resolution-using-javascript
Thanks for reading.