Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

window.SetUserAgent() dose not work on linux #210

Open
towerbit opened this issue Sep 14, 2024 · 0 comments
Open

window.SetUserAgent() dose not work on linux #210

towerbit opened this issue Sep 14, 2024 · 0 comments

Comments

@towerbit
Copy link

towerbit commented Sep 14, 2024

The method 'SetUserAgent' works well on windows, but it never changes the user-agent on linux such as Debian 12.4 which always return 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.0 Safari/605.1.15')' by javascript navigator.userAgent.

I tried to set user-agent at first, it seems changed but make no sense to navigator.userAgent.
var window = new PhotinoWindow(); window.UserAgent="Custom user agent"; Console.WriteLine(window.UserAgent);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant