Click here to Skip to main content
15,907,687 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Window.external is deprecated... Any alternate solution for this?


I am using windows.external for passing the control from web application to a normal windows form, but as
Window.external is deprecated
is there any alternative way that i can use?

What I have tried:

havent tried anything as couldnt find any alternative for window.external
Posted
Updated 7-Aug-19 8:50am
Comments
Richard MacCutchan 7-Aug-19 7:46am    
The documentation states that it will be removed from browsers, so the feature will not be available. That probably means that your code will stop working. Time to rethink your project.
MadMyche 7-Aug-19 8:00am    
Provide some context on what you exactly are doing.... usually when one has a problem with a line of code, they provide the actual line of code

1 solution

They're removing/deprecating it because direct communication from the browser to an external client-side app is NOT secure, nor even to be trusted. In other words, it's a BAD idea, and you shouldn't be doing it.

If you need to transfer data between the browser and a client side app, have the browser write that data to a database that the client side app can connect to.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900