mirror of
https://github.com/redstrate/Astra.git
synced 2025-04-20 11:47:46 +00:00
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.
25 lines
No EOL
448 B
QML
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")
|
|
}
|
|
} |