28#include <QtWebEngineWidgetsVersion>
38 m_manager =
new GM_Manager(settingsPath,
this);
45 const auto windows =
mApp->windows();
61 return (QString::fromLatin1(
Qz::VERSION) == QLatin1String(FALKON_VERSION));
74 bool navigationType = type == QWebEnginePage::NavigationTypeLinkClicked || type == QWebEnginePage::NavigationTypeRedirect;
76 if (navigationType && url.toString().endsWith(QLatin1String(
".user.js"))) {
void downloadScript(const QUrl &url)
void mainWindowDeleted(BrowserWindow *window)
void showSettings(QWidget *parent)
void mainWindowCreated(BrowserWindow *window)
bool testPlugin() override
bool acceptNavigationRequest(WebPage *page, const QUrl &url, QWebEnginePage::NavigationType type, bool isMainFrame) override
void showSettings(QWidget *parent=nullptr) override
void init(InitState state, const QString &settingsPath) override
void mainWindowDeleted(BrowserWindow *window)
void mainWindowCreated(BrowserWindow *window)
FALKON_EXPORT const char * VERSION