tryphotino / photino.NET

https://tryphotino.io
Apache License 2.0
911 stars 74 forks source link

Possibility to inject custom javascript #58

Open mynameisvasco opened 3 years ago

mynameisvasco commented 3 years ago

The possibility to inject custom javascript would allow us to run custom javascript on external websites. This use case is suitable for things like web automation testing, web scrapers and bots.

As far as I know, that's not possible using the current version of Photino.

ottodobretsberger commented 3 years ago

Interesting thought. We will put that on our list of future considerations. There are a lot of security related questions that need to get evaluated and answered. Changes would need to be made in the .NET and the Native project (separate changes for WebKit and Chromium Edge) to allow these code injections.

artemiusgreat commented 1 year ago

Yes, that would be awesome. At the moment, the only way to interact with an external webpage is by using Chrome Extensions or Web Drivers, like Selenium, Puppeteer, etc. Photino could be a much simpler option.