1
Fork 0
mirror of https://github.com/redstrate/Astra.git synced 2025-04-20 11:47:46 +00:00
astra/launcher/ui/Pages/BrowserPage.qml
Joshua Goins f97204a422 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.
2024-03-22 19:19:48 -04:00

25 lines
No EOL
448 B
QML

// SPDX-FileCopyrightText: 2023 Joshua Goins <josh@redstrate.com>
// SPDX-License-Identifier: GPL-3.0-or-later
import QtQuick
import QtWebView
import org.kde.kirigami as Kirigami
Kirigami.Page {
id: page
property var url
title: i18n("Web Browser")
padding: 0
WebView {
anchors.fill: parent
url: page.url
Component.onCompleted: setCookie("finalfantasyxiv.com", "ldst_bypass_browser", "1")
}
}