[epiphany/mcatanzaro/user-agent] Remove "Epiphany" from user agent string
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany/mcatanzaro/user-agent] Remove "Epiphany" from user agent string
- Date: Wed, 26 Feb 2020 21:30:49 +0000 (UTC)
commit 9c0c23a14672325907fc2db4a9a18ed920deddb0
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Wed Feb 26 15:29:25 2020 -0600
Remove "Epiphany" from user agent string
This is a test to see if it reduces the number of unsupported browser
warnings we receive.
lib/ephy-user-agent.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/lib/ephy-user-agent.c b/lib/ephy-user-agent.c
index d30114053..56119b888 100644
--- a/lib/ephy-user-agent.c
+++ b/lib/ephy-user-agent.c
@@ -48,7 +48,7 @@ ephy_user_agent_get (void)
web_app = ephy_profile_dir_is_web_application ();
settings = webkit_settings_new ();
- user_agent = g_strdup_printf ("%s%s Epiphany/605.1.15%s",
+ user_agent = g_strdup_printf ("%s%s%s",
webkit_settings_get_user_agent (settings),
mobile ? " Mobile" : "",
web_app ? " (Web App)" : "");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]