SetUserAgent Support
Closed this issue · 4 comments
kinosang commented
Allow user to set custom User-Agent
MikeYeager commented
It would be interesting to know what your use case is for this.
kinosang commented
@MikeYeager to tracking visitor informations. and use injected functions from web pages when open from inner webview.
MikeYeager commented
Great. Thank you @kinosang. This is something we can probably do, but will have to do for each of the 3 browser controls used on the 3 OSs. It would be great if someone from the community could help us out with this.
philippjbauer commented
@kinosang This can be set with the new SetUserAgent()
method during PhotinoWindow startup in v2.5.0:
PhotinoWindow window = new PhotinoWindow()
.SetTitle("Photino Testing")
.SetUserAgent("Photino Testing")
/// more options ...
.LoadRawString("Hello World!");