diff --git a/src/iframeschemehandler.cc b/src/iframeschemehandler.cc index b3bbdd7d..eef0843b 100644 --- a/src/iframeschemehandler.cc +++ b/src/iframeschemehandler.cc @@ -74,6 +74,7 @@ void IframeSchemeHandler::requestStarted(QWebEngineUrlRequestJob *requestJob) // remove existed base tag articleString.remove( baseTag ); + articleString.replace( "window.location", "window.location1" ); QRegularExpression headTag( R"()", QRegularExpression::CaseInsensitiveOption