LibWeb: Identify as "Ladybird" instead of "Browser"

Here's a small step towards integrating Ladybird and Browser. We now
identify ourselves as "Ladybird" to websites.
This commit is contained in:
Andreas Kling 2022-10-04 15:26:18 +02:00
parent c48931d15c
commit 2a0a274898
Notes: sideshowbarker 2024-07-17 06:22:45 +09:00

View file

@ -44,7 +44,7 @@ namespace Web {
# error Unknown OS
#endif
constexpr auto default_user_agent = "Mozilla/5.0 (" OS_STRING "; " CPU_STRING ") LibWeb+LibJS/1.0 Browser/1.0";
constexpr auto default_user_agent = "Mozilla/5.0 (" OS_STRING "; " CPU_STRING ") LibWeb+LibJS/1.0 Ladybird/1.0";
class ResourceLoaderConnectorRequest : public RefCounted<ResourceLoaderConnectorRequest> {
public: