diff --git a/src/lib/webengine/webpage.h b/src/lib/webengine/webpage.h index b1f45db35..5bd91f900 100644 --- a/src/lib/webengine/webpage.h +++ b/src/lib/webengine/webpage.h @@ -39,7 +39,8 @@ class QUPZILLA_EXPORT WebPage : public QWebEnginePage public: enum JsWorld { #if QT_VERSION >= QT_VERSION_CHECK(5,7,0) - SafeJsWorld = QWebEngineScript::ApplicationWorld +// SafeJsWorld = QWebEngineScript::ApplicationWorld + SafeJsWorld = QWebEngineScript::MainWorld #else SafeJsWorld = QWebEngineScript::MainWorld #endif