mirror of
https://github.com/danbulant/dots-hyprland
synced 2026-05-24 12:22:09 +00:00
add default user agent option
This commit is contained in:
parent
b7e3b5d887
commit
0af7924be9
2 changed files with 5 additions and 1 deletions
|
|
@ -36,6 +36,10 @@ Singleton {
|
|||
}
|
||||
}
|
||||
|
||||
property QtObject networking: QtObject {
|
||||
property string userAgent: "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36"
|
||||
}
|
||||
|
||||
property QtObject osd: QtObject {
|
||||
property int timeout: 1000
|
||||
}
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ Singleton {
|
|||
property string failMessage: qsTr("That didn't work. Tips:\n- Check your tags and NSFW settings\n- If you don't have a tag in mind, type a page number")
|
||||
property var responses: []
|
||||
property int runningRequests: 0
|
||||
property var defaultUserAgent: "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36"
|
||||
property var defaultUserAgent: ConfigOptions.networking.userAgent
|
||||
property var providerList: ["yandere", "konachan", "zerochan", "danbooru", "gelbooru", "waifu.im"]
|
||||
property var providers: {
|
||||
"system": { "name": "System" },
|
||||
|
|
|
|||
Loading…
Reference in a new issue