summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/Loader/ResourceLoader.h
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2022-03-20 23:14:53 +0100
committerAndreas Kling <kling@serenityos.org>2022-03-20 23:16:22 +0100
commit8f1a3f787879e56b43b36819bf0985bd1000c992 (patch)
treecd000738a72f85e651ebc0ed24bdd4cb56ad51a7 /Userland/Libraries/LibWeb/Loader/ResourceLoader.h
parent97f622747b788b725e44610e57a31dbda95cef6c (diff)
downloadserenity-8f1a3f787879e56b43b36819bf0985bd1000c992.zip
LibWeb: Tweak our User-Agent string
- Switch from "Mozilla/4.0" to "Mozilla/5.0" to match other browsers. - Remove references to KHTML and Gecko. - Identify ourselves as "LibWeb+LibJS/1.0 Browser/1.0" New UA: "Mozilla/5.0 (SerenityOS; x86_64) LibWeb+LibJS/1.0 Browser/1.0"
Diffstat (limited to 'Userland/Libraries/LibWeb/Loader/ResourceLoader.h')
-rw-r--r--Userland/Libraries/LibWeb/Loader/ResourceLoader.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/Loader/ResourceLoader.h b/Userland/Libraries/LibWeb/Loader/ResourceLoader.h
index 6475dbe3da..8423f678af 100644
--- a/Userland/Libraries/LibWeb/Loader/ResourceLoader.h
+++ b/Userland/Libraries/LibWeb/Loader/ResourceLoader.h
@@ -24,7 +24,7 @@ namespace Web {
# define CPU_STRING "x86_64"
#endif
-constexpr auto default_user_agent = "Mozilla/4.0 (SerenityOS; " CPU_STRING ") LibWeb+LibJS (Not KHTML, nor Gecko) LibWeb";
+constexpr auto default_user_agent = "Mozilla/5.0 (SerenityOS; " CPU_STRING ") LibWeb+LibJS/1.0 Browser/1.0";
class ResourceLoader : public Core::Object {
C_OBJECT_ABSTRACT(ResourceLoader)