mirror of
https://github.com/redstrate/Astra.git
synced 2025-04-22 04:37:46 +00:00
Bypass the annoying FFXIV website browser check
This pops up because the built-in Qt web engine is considered
"unsupported" despite the FFXIV websites working fine. Even worse, when
continuing through this check it sends you back to the homepage. Now a
cookie is set so the pop-up doesn't come up at all.
(cherry picked from commit f97204a422
)
This commit is contained in:
parent
801cf12765
commit
7ca6c0eeb7
1 changed files with 3 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
||||||
// SPDX-FileCopyrightText: 2023 Joshua Goins <josh@redstrate.com>
|
// SPDX-FileCopyrightText: 2023 Joshua Goins <josh@redstrate.com>
|
||||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
|
import QtQuick
|
||||||
import QtWebView
|
import QtWebView
|
||||||
|
|
||||||
import org.kde.kirigami as Kirigami
|
import org.kde.kirigami as Kirigami
|
||||||
|
@ -18,5 +19,7 @@ Kirigami.Page {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
|
|
||||||
url: page.url
|
url: page.url
|
||||||
|
|
||||||
|
Component.onCompleted: setCookie("finalfantasyxiv.com", "ldst_bypass_browser", "1")
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Add table
Reference in a new issue