I am trying to write a browser of a specific site for several sites and am encountering a problem with webkitgtk. WebKitGtk blocks some cross-domain request as a security measure, and there is no way to disable it in the WebKitGtk API
A simple Python example
from gi.repository import Gtk, WebKit window = Gtk.Window() webview = WebKit.WebView() webview.load_uri('http://drive.google.com') window.add(webview) window.show_all() Gtk.main()
Output:
** Message: console message: @0: Unable to post message to https:
user250145
source share