Skip to content

Commit 5b283d6

Browse files
Update APIReview_UAString.md
Wording
1 parent 063e857 commit 5b283d6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

specs/APIReview_UAString.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# Background
2-
The User Agent is a client-side piece of information that the browser/webcontrol sends to the server/website a user visits. It contains information about user’s system and is modifiable by the user.
2+
The User Agent (UA) is a client-side piece of information that the browser/webcontrol sends to the server or website a user visits. It contains information about user’s system and is modifiable by the user.
33

44
Currently, a developer can pass the --user-agent browser args to the CreateWebView2EnvironmentWithDetails function.
55
Ex. CreateWebView2EnvironmentWithDetails(nullptr, nullptr, L"--user-agent=\"myUA\"", ...);
6-
For more info about the ‘—user - agent’ flag visit: https://peter.sh/experiments/chromium-command-line-switches/#user-agent.
6+
For more info about the ‘—user - agent’ flag visit: https://peter.sh/experiments/chromium-command-line-switches/#user-agent.
77

88
However, there are a couple limitations to this workaround-- you cannot modify a command line switch at runtime, nor can you change the user agent per webview. In this document we describe the new API. We'd appreciate your feedback.
99

0 commit comments

Comments
 (0)