Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Mimicking the features of node-webkit using a client and a server

Mimicking the features of node-webkit using a client and a server

Problem

I'm trying to find out whether it's possible to invoke node.js functions from a web page. Is there any way to make node.js functions accessible from Google Chrome (so that they are run on the node.js server), as shown here?

(I'm aware that it's possible to do this using node-webkit (a non-standard Chromium implementation) without modifying the code, but I'd prefer to do this using an unmodified browser, which will require the code shown below to be modified in some way.)


    
        

Click here to launch the Firefox web browser.

Problem courtesy of: Anderson Green

Solution

No, this is not possible, for clear security reasons.

You only have available to you what the browser gives you. node-webkit is the closest thing available, and does not meet your requirements.

Solution courtesy of: Brad

Discussion

View additional discussion.



This post first appeared on Node.js Recipes, please read the originial post: here

Share the post

Mimicking the features of node-webkit using a client and a server

×

Subscribe to Node.js Recipes

Get updates delivered right to your inbox!

Thank you for your subscription

×