mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 06:17:34 +00:00
Browser+Ladybird: Let the list of user agent strings be shared
This commit is contained in:
parent
d93911928b
commit
63d09f6daf
5 changed files with 45 additions and 14 deletions
16
Userland/Libraries/LibWebView/UserAgent.h
Normal file
16
Userland/Libraries/LibWebView/UserAgent.h
Normal file
|
@ -0,0 +1,16 @@
|
|||
/*
|
||||
* Copyright (c) 2023, the SerenityOS developers.
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <AK/HashMap.h>
|
||||
#include <AK/StringView.h>
|
||||
|
||||
namespace WebView {
|
||||
|
||||
extern HashMap<StringView, StringView> const user_agents;
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue