master
yutent 2023-09-05 16:54:00 +08:00
parent ebe9eacd10
commit 5b96a9a291
1 changed files with 1 additions and 2 deletions

View File

@ -16,13 +16,12 @@ class Settings(WebKit2.Settings):
WebKit2.Settings.__init__(self)
self.set_enable_page_cache(True)
self.set_enable_offline_web_application_cache(True)
self.set_javascript_can_access_clipboard(True)
self.set_javascript_can_open_windows_automatically(True)
self.set_user_agent_with_application_details('WebEngine', '0.2.0')
self.set_user_agent_with_application_details('WebEngine', '0.3.0')
# indexedDB 和 localStorage 和 离线缓存