1
Fork 0
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:
Joshua Goins 2024-03-22 19:19:48 -04:00
parent 801cf12765
commit 7ca6c0eeb7

View file

@ -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")
} }
} }