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

Setting the user agent #73

Open
moelena opened this issue Jul 10, 2023 · 2 comments
Open

Setting the user agent #73

moelena opened this issue Jul 10, 2023 · 2 comments

Comments

@moelena
Copy link

moelena commented Jul 10, 2023

I'm not sure about this, but is it even technically possible to set the user agent when using the Chrome extension? At the moment it always says "chrome" as user agent. I worked around this by accepting a custom header as user agent in my API, so it's not a big problem for me. But would be nice if it worked "out of the box".

@jonrosner
Copy link
Contributor

An easy way to configure the user-agent would be using the server proxy. We could add a parameter to configure this server-side.

Would this be enough or does it need to be the extension?

@moelena
Copy link
Author

moelena commented Jul 10, 2023

I work with different development/system environments. One works indeed, if I just use the server proxy 👍

Unfortunately for the other environment I set the hostname in my local hosts file. The server that runs the docker container doesn't know of that hostname. My teammates use the same hostname but with different IPs in their own local hosts files. This environment works only with the extension proxy.
I get the following error when I switch to server proxy:
Failed to resolve '...' and search domain query for configured domains failed as well: [...]

What do you mean by configuring the user-agent server-side? With server or extension proxy enabled?

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

2 participants