Questions tagged [webkitgtk]

WebKit/GTK+ is the new GTK+ port of the WebKit, an open-source web content engine that powers numerous applications such as web browsers, email clients, feed readers, web and text editors.

WebKitGTK+ is the version of the WebKit open-source web engine that uses GTK+ as its user-facing front-end. It's a powerful system with a rich array of functionality.

103 questions
1
vote
1 answer

How to get JS results in webkit2gtk-4.0 in Vala?

I am using webkit2gtk-4.0 in my Vala appication to display Google Maps. And I need to get marker coordinates on button click. How can I manage it? I figured out how to run javascript using run_javascript(), but I can't understand hot to get the…
serge1peshcoff
  • 4,342
  • 11
  • 45
  • 76
1
vote
1 answer

How to get anchor part of URL in WebKitGTK?

I am trying to build an Instagram client for Linux. To login, I need to parse an URL like this: http://my-host-name.com/path#access_token=TOKEN But I can't figure out, how to get the anchor part in WebKitGTK, as get_uri() returns the URL without the…
serge1peshcoff
  • 4,342
  • 11
  • 45
  • 76
1
vote
1 answer

Using svg fonts in python webkit

I've a program written in python3 gtk webkit, and would like to start using some fonts in the CSS and HTML files. I see fontsquirrel creates four different types of fonts, and the CSS for them. Now I'm not sure, but I believe that different font…
Joshua Strot
  • 2,343
  • 4
  • 26
  • 33
1
vote
0 answers

track element in html5 video player

I am working with HTML5 video player in webkit, i have one webvtt file and i need to display subtitles in the video, however subtitles are not displayed even though i have specified webvtt file in track element. So can anyone tell me where should i…
1
vote
2 answers

Undefined reference, WebKitGTK

Well, I'm trying to compile a simple program, embedding the WebView of WebKit in a GTK Window. So, when the compiler check this line: webView = WEBKIT_WEB_VIEW(webkit_web_view_new()); It gave me some errors: /usr/local/lib/libwebkitgtk-3.0.so:…
1
vote
2 answers

How to download doc and open file in Webkit GTK View?

I'm currently running an html file in webkit gtk view. I set these settings: let new_settings = new WebKit.WebSettings (); new_settings.enable_universal_access_from_file_uris = true; this._web_view.set_settings(new_settings); thinking…
user2494251
  • 33
  • 2
  • 9
1
vote
0 answers

How to pass null parameter in webkit/python GTK

I am using a simple webkit view using GTK. I need to fire some xpath queries. At certain point after document is loaded, I fire following code to get xpath results. from gi.repository import WebKit from gi.repository import Gtk from gi.repository…
user871199
  • 1,420
  • 19
  • 28
1
vote
1 answer

LEAK with WebkitGTK

I'm experimenting with WebkitGTK. Using a simple "hello world" style app that does nothing but download a webpage and then quit, WebKit reports leaked objects after running the program: LEAK: 1 CachedResource LEAK: 12 WebCoreNode The WebkitGTK…
Channel72
  • 24,139
  • 32
  • 108
  • 180
1
vote
1 answer

Webkit GTK: Exposing HTTP headers

After experimenting with WebkitGTK in C, and looking through the documentation, I see that most of the signals/events relating to the loading of webpages are oriented around when a page begins loading or finishes loading. However, I don't see anyway…
Channel72
  • 24,139
  • 32
  • 108
  • 180
0
votes
0 answers

How to allow WebKit(Gtk) to use TLS for cross-site embedded resources without hostname checks?

We have a network where no hostnames are available, IP addresses can change dynamically and no reliable clock is available, yet we do want to use TLS with certificates from our own CA. Most communication is done directly using openssl and things…
Mr.K
  • 91
  • 1
  • 5
0
votes
0 answers

Build Error for webkitgtk when webkitgtk option is enabled in Buildroot

I am running buildroot (2022.02.7) using an Ubuntu VM (22.10, 64 bit). I enable the midori package and selecting this option also selects webkitgtk (v2.36.7), downloading and configuring of the source runs with no errors. During the build process,…
JasonP
  • 1
  • 1
0
votes
1 answer

Some WebKit2GTK WebContext functions missing from opensuse webkit2gtk4-devel c-headers

My installed version webkit2gtk4-devel 2.40.0 doesn't have all the functions, which are stated from the WebKitGTK documentation found here. The currently missing functions, which I have come across are (there are probably…
chm46e
  • 21
  • 3
0
votes
0 answers

How does WebKitGTK receive HTTP request information?

I want to make a POST request in JavaScript with XMLHttpRequest to send to my WebKitGTK program on Linux, however I don't know what IP address to send information to for WebKitGTK to receive information. Perhaps it is 127.0.0.1? Any help is…
0
votes
0 answers

Accessing the DOM and DOMEvents from Gtk with Webkit2Gtk

(I am not good in english, may anyone edit the question) I need to access DOM via Vala (Gtk), As direct access to dom is removed by webkit, i needed to use webkit extension (using dbus) (a example), but it also serves problem with multiple webkit…
0
votes
1 answer

[C/C++]WebKitGtk get scrollbar position

I'm trying to get the scrollbar position in a WebKitWebView. I've read enough documentation to know that there's no intuitive way. It needs to be packaged into one executable, so a WebKitExtension won't cut it out. I don't even know where to begin…