Hello. I have an application of type QMAinWindow in it QWebKit.QWebView. Everything works, but for example, the site mail.ru does not work correctly. And immeno, when you click on the news there is no transition. The same notice when clicking on some advertisements. LocalStorage is up and running. What is the reason for this and how to make WebKit work normally?
Here is the code
import sys from PyQt4 import QtGui, QtCore, QtWebKit if __name__ == "__main__": app = QtGui.QApplication(sys.argv) window = QtWebKit.QWebView() window.settings().globalSettings().setAttribute(QtWebKit.QWebSettings.LocalStorageEnabled, True) window.settings().setLocalStoragePath("/home/user/Browser/Storage/") window.load(QtCore.QUrl("https://mail.ru")) window.show() sys.exit(app.exec_())