1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 21:27:34 +00:00

LibWeb: Send User-Agent in HTTP requests

Coming soon to a Browser Market Share graph near you! :^)
This commit is contained in:
Andreas Kling 2020-05-21 12:58:57 +02:00
parent 897998017a
commit 63d98bbd76
4 changed files with 19 additions and 3 deletions

View file

@ -39,6 +39,8 @@ public:
private:
virtual const char* class_name() const override { return "NavigatorObject"; }
static JS::Value user_agent_getter(JS::Interpreter&);
};
}