'Overloaded method to handle links ourselves'

def acceptNavigationRequest(self, url, navigation_type, isMainFrame):

    if (navigation_type == QWebEnginePage.NavigationTypeLinkClicked):
        self.linkClicked.emit(url)
        return False
    return True
