/r/WebKit
/r/WebKit
Just curious how powerful it is
Hi everyone, I'm using Linux, and currently trying to build a cross-platform application that takes input from a stylus on a Wacom tablet. Specifically, I really need to get the stylus pressure. I decided to use Tauri, which unless I'm gravely mistaken is based on WebKit, at least on Linux.
I tried using the pressure
property of PointerEvent
, but it always seems to be equal to 0. On the other hand, I can get the X and Y coordinates of my pointer just fine.
I tried to see if the issue came from WebKit by visiting https://pressurejs.com/ using Epiphany, a WebKit-based browser, and indeed my stylus' pressure does not have an impact on the animations. On the other hand, the animations react to stylus pressure when I visit the webpage using Firefox.
I also tried using the webkitForce
property of MouseEvent
, instead of pressure
from PointerEvent
, to no avail.
So I have the following questions; any help on any one of those would be appreciated:
pressure
is not valid in WebKit, even though this table indicates that it has been compatible with all considered browsers for a long time?webkitForce
is not valid in WebKit, even though... it has "WebKit" in the name?I am still a little fuzzy on the specifics of how WebKit interacts with webkitgtk, GTK, Tauri and the wry library, so sorry if my post is confused. If this is not a WebKit issue, but an issue in one of those other projects, please let me know.
Thank you for any help!
Is there an easy way (perhaps in WebKit) to search for a given word on the displayed web page?
In my app, I have a long help page written in HTML, displayed using Webkit (MacOS 12.6). I would like to be able to quickly search for particular keywords.
Some quick googling brings up lots of links about how to do an "on page" search within Safari (Cmd-F) but almost nothing about how to create such functionality myself. Or am I googling in the wrong direction?
Device : IPHONE 13 (MLPH3ZD/A)
Version : IOS 16.6
here are the 2 lines that appear within the instagram setting tab:
Version : 303:1.0.8.111
Branch Type : local
My account has a strange behavior. It behaves differently than what it used to.
Conclusion : I still look for diverse point of views regarding what I evoked previously. I am determined to get rid of the spiderweb trap my previous digital marketing departement put me into, to expose myself to diverse marketing stimuli. I have rights as a human being for the protection of my data and the malicious use of my person as an object for brand exposures.
Thank you for staying until the end,
A sympathic large boy õ¿õ¬
Hi, I know this sub isn't that active, but I figured there is not a better place to post this.
I was trying to build WebKit from source for the past few days now. And every time I get this (look at the end of the post) error, I tried re-cloning the git repository but it didn't help.
I am using macOS 10.13.6 High Sierra with Xcode version 10, which I guess could be the problem since they're kind of outdated, but the WebKit readme says this version is supported.
I tried both command line and Xcode build but they all fail.
Here is the output that the command line build gives (I edited my user's name if you don't mind):
Build settings from command line:
ARCHS = x86_64
OBJROOT = /Users/{user}/Development/WebKit/WebKitBuild
SDKROOT = macosx
SHARED_PRECOMPS_DIR = /Users/{user}/Development/WebKit/WebKitBuild/PrecompiledHeaders
SYMROOT = /Users/{user}/Development/WebKit/WebKitBuild
2022-09-06 18:23:46.904 xcodebuild[18922:324757] NOTE: Referenced project PAL was written by a newer Xcode version (52) -- temporarily downgrading it (without modifying project file)
note: Using new build system
note: Planning build
note: Constructing build description
Build system information
warning: WebKitTestRunner isn't code signed but requires entitlements. It is not possible to add entitlements to a binary without signing it. (in target 'WebKitTestRunner')
Build system information
warning: TestWebKitAPI isn't code signed but requires entitlements. It is not possible to add entitlements to a binary without signing it. (in target 'TestWebKitAPI')
Build system information
warning: Skipping duplicate build file in Compile Sources build phase: /Users/{user}/Development/WebKit/Source/JavaScriptCore/llint/LowLevelInterpreter.asm (in target 'JSCLLIntSettingsExtractor')
Build system information
warning: Skipping duplicate build file in Compile Sources build phase: /Users/{user}/Development/WebKit/Source/JavaScriptCore/llint/LowLevelInterpreter.asm (in target 'JSCLLIntOffsetsExtractor')
Build system information
warning: Traditional headermap style is no longer supported; please migrate to using separate headermaps and set 'ALWAYS_SEARCH_USER_PATHS' to NO. (in target 'DumpRenderTree (Library)')
Build system information
warning: Traditional headermap style is no longer supported; please migrate to using separate headermaps and set 'ALWAYS_SEARCH_USER_PATHS' to NO. (in target '
DumpRenderTree.app
')
Build system information
warning: Traditional headermap style is no longer supported; please migrate to using separate headermaps and set 'ALWAYS_SEARCH_USER_PATHS' to NO. (in target 'LayoutTestHelper')
Build system information
warning: Traditional headermap style is no longer supported; please migrate to using separate headermaps and set 'ALWAYS_SEARCH_USER_PATHS' to NO. (in target 'DumpRenderTree')
Build system information
warning: Traditional headermap style is no longer supported; please migrate to using separate headermaps and set 'ALWAYS_SEARCH_USER_PATHS' to NO. (in target 'WebKitTestRunnerInjectedBundle')
Build system information
warning: Traditional headermap style is no longer supported; please migrate to using separate headermaps and set 'ALWAYS_SEARCH_USER_PATHS' to NO. (in target 'WebKitTestRunnerApp')
Build system information
warning: Traditional headermap style is no longer supported; please migrate to using separate headermaps and set 'ALWAYS_SEARCH_USER_PATHS' to NO. (in target 'WebKitTestRunner (Library)')
Build system information
warning: Traditional headermap style is no longer supported; please migrate to using separate headermaps and set 'ALWAYS_SEARCH_USER_PATHS' to NO. (in target 'WebKitTestRunner')
Build system information
warning: Traditional headermap style is no longer supported; please migrate to using separate headermaps and set 'ALWAYS_SEARCH_USER_PATHS' to NO. (in target 'MiniBrowser')
Build system information
warning: Traditional headermap style is no longer supported; please migrate to using separate headermaps and set 'ALWAYS_SEARCH_USER_PATHS' to NO. (in target 'WebProcessPlugIn')
Build system information
warning: Traditional headermap style is no longer supported; please migrate to using separate headermaps and set 'ALWAYS_SEARCH_USER_PATHS' to NO. (in target 'TestIPC')
Build system information
warning: Traditional headermap style is no longer supported; please migrate to using separate headermaps and set 'ALWAYS_SEARCH_USER_PATHS' to NO. (in target 'InjectedBundleTestWebKitAPI')
Build system information
warning: Traditional headermap style is no longer supported; please migrate to using separate headermaps and set 'ALWAYS_SEARCH_USER_PATHS' to NO. (in target 'TestWebKitAPILibrary')
Build system information
warning: Traditional headermap style is no longer supported; please migrate to using separate headermaps and set 'ALWAYS_SEARCH_USER_PATHS' to NO. (in target 'TestWTFLibrary')
Build system information
warning: Traditional headermap style is no longer supported; please migrate to using separate headermaps and set 'ALWAYS_SEARCH_USER_PATHS' to NO. (in target 'TestWebKitAPI')
Build system information
warning: Traditional headermap style is no longer supported; please migrate to using separate headermaps and set 'ALWAYS_SEARCH_USER_PATHS' to NO. (in target 'TestWTF')
Build system information
warning: missing creator for mutated node: ('/Users/{user}/Development/WebKit/WebKitBuild/Debug/DumpRenderTree.app/Contents/MacOS/DumpRenderTree') (in target '
DumpRenderTree.app
')
Build system information
warning: duplicate output file '/Users/{user}/Development/WebKit/WebKitBuild/Debug/usr/local/include/pal/CoreUISPI.h' on task: CpHeader /Users/{user}/Development/WebKit/Source/WebCore/PAL/pal/spi/mac/CoreUISPI.h /Users/{user}/Development/WebKit/WebKitBuild/Debug/usr/local/include/pal/CoreUISPI.h (in target 'PAL')
Build system information
warning: duplicate output file '/Users/{user}/Development/WebKit/WebKitBuild/Debug/usr/local/include/pal/SystemPreviewSPI.h' on task: CpHeader /Users/{user}/Development/WebKit/Source/WebCore/PAL/pal/spi/mac/SystemPreviewSPI.h /Users/{user}/Development/WebKit/WebKitBuild/Debug/usr/local/include/pal/SystemPreviewSPI.h (in target 'PAL')
Build system information
warning: duplicate output file '/Users/{user}/Development/WebKit/WebKitBuild/Debug/usr/local/include/wtf/SoftLinking.h' on task: CpHeader /Users/{user}/Development/WebKit/Source/WTF/wtf/cocoa/SoftLinking.h /Users/{user}/Development/WebKit/WebKitBuild/Debug/usr/local/include/wtf/SoftLinking.h (in target 'WTF')
Build system information
error: Multiple commands produce '/Users/{user}/Development/WebKit/WebKitBuild/Debug/usr/local/include/wtf/SoftLinking.h':
1) Target 'WTF' (project 'WTF') has copy command from '/Users/{user}/Development/WebKit/Source/WTF/wtf/SoftLinking.h' to '/Users/{user}/Development/WebKit/WebKitBuild/Debug/usr/local/include/wtf/SoftLinking.h'
2) Target 'WTF' (project 'WTF') has copy command from '/Users/{user}/Development/WebKit/Source/WTF/wtf/cocoa/SoftLinking.h' to '/Users/{user}/Development/WebKit/WebKitBuild/Debug/usr/local/include/wtf/SoftLinking.h'
Build system information
error: Multiple commands produce '/Users/{user}/Development/WebKit/WebKitBuild/Debug/usr/local/include/pal/SystemPreviewSPI.h':
1) Target 'PAL' (project 'PAL') has copy command from '/Users/{user}/Development/WebKit/Source/WebCore/PAL/pal/spi/ios/SystemPreviewSPI.h' to '/Users/{user}/Development/WebKit/WebKitBuild/Debug/usr/local/include/pal/SystemPreviewSPI.h'
2) Target 'PAL' (project 'PAL') has copy command from '/Users/{user}/Development/WebKit/Source/WebCore/PAL/pal/spi/mac/SystemPreviewSPI.h' to '/Users/{user}/Development/WebKit/WebKitBuild/Debug/usr/local/include/pal/SystemPreviewSPI.h'
Build system information
error: Multiple commands produce '/Users/{user}/Development/WebKit/WebKitBuild/Debug/usr/local/include/pal/CoreUISPI.h':
1) Target 'PAL' (project 'PAL') has copy command from '/Users/{user}/Development/WebKit/Source/WebCore/PAL/pal/spi/ios/CoreUISPI.h' to '/Users/{user}/Development/WebKit/WebKitBuild/Debug/usr/local/include/pal/CoreUISPI.h'
2) Target 'PAL' (project 'PAL') has copy command from '/Users/{user}/Development/WebKit/Source/WebCore/PAL/pal/spi/mac/CoreUISPI.h' to '/Users/{user}/Development/WebKit/WebKitBuild/Debug/usr/local/include/pal/CoreUISPI.h'
** BUILD FAILED **
Where does WebKit store the data (Browse History, etc) on Epiphany? Im trying to erase everything by code.
Submit email to form on https://iptv.fish
"URL is not valid or contains user credentials."
I'm using fetch natively in the browser and for some reason it thinks the email address is a credential.
https://github.com/WebKit/webkit/blob/main/Source/WebCore/Modules/fetch/FetchRequest.cpp#L166
If you're on linux you can test with Epiphany browser. or iOS/safari
edit: I discovered I had a space in my endpoint url. lol weird ass fucking bug, works fine in chrome/firefox -- safari don't likey spaces
Hi. I Wana develop a pure c++ application and embed WebKit inside it.
What's the latest version of WebKit that supports windows xp?
I can't seem to find information on what version of webkit is used in a particular version of webkitGTK. Is there a chart somewhere that has a version correspondence list?
It seems like a shame that WebKit isn't available on Windows anymore, because it's great for designing and developing various unique kinds of browsers, while Google's Blink is heavily designed around developing Chromium-style browsers. Also, the lack of such a browser for Windows means that web developers that want to test against WebKit have to use MacOS or Linux, which doesn't seem like an ideal situation. This seems like it constrains the creativity and options of browser developers, in addition to making things harder than they have to be for web designers that are using Windows.
So, I'm looking to use WebKit.NET, and I saw in the API [documentation] (http://webkitdotnet.sourceforge.net/docs/) that there are methods like getElementById, which I've seen JavaScript use often.
Are these methods there because thay're used by the JavaScript engine, or do they exist in the JavaScript engine because those are the methods that WebKit exposes?
Also, is there an event model, could I subscribe to the click event of a div, for example?
Don't click without care. My browser crash at here. What this CVE number is?
I'm on Elementary OS Freya (based on Ubuntu 14.04) and I have been following the steps here. I tried running 'Tools/Scripts/update-webkitgtk-libs' and it went well for about ten minutes before the process failed and gave this message:
START
././autogen.sh: 22: ././autogen.sh: autoreconf: not found
/bin/sh: 1: ./configure: not found
*** Error during phase configure of libseccomp: ########## Error running ././autogen.sh; ./configure --prefix /home/lerm/Downloads/WebKit-r189384/WebKitBuild/DependenciesGTK/Root --libdir '/home /lerm/Downloads/WebKit-r189384/WebKitBuild/DependenciesGTK/Root/lib64' --enable-introspection *** [35/36]
*** module webkitgtk-testing-dependencies not built due to non buildable cairo *** [36/36]
*** module webkitgtk-testing-dependencies not built due to non buildable gdk-pixbuf *** [36/36]
*** module webkitgtk-testing-dependencies not built due to non buildable gtk+ *** [36/36]
*** module webkitgtk-testing-dependencies not built due to non buildable glib-networking *** [36/36]
*** module webkitgtk-testing-dependencies not built due to non buildable gnome-icon-theme *** [36/36]
*** module webkitgtk-testing-dependencies not built due to non buildable gnome-icon-theme-symbolic *** [36/36]
*** module webkitgtk-testing-dependencies not built due to non buildable gnome-themes-standard *** [36/36]
*** module webkitgtk-testing-dependencies not built due to non buildable gtk-doc *** [36/36]
*** module webkitgtk-testing-dependencies not built due to non buildable libsoup *** [36/36]
*** module webkitgtk-testing-dependencies not built due to non buildable atk *** [36/36]
*** module webkitgtk-testing-dependencies not built due to non buildable at-spi2-core *** [36/36]
*** module webkitgtk-testing-dependencies not built due to non buildable at-spi2-atk *** [36/36]
*** module webkitgtk-testing-dependencies not built due to non buildable gstreamer *** [36/36]
*** module webkitgtk-testing-dependencies not built due to non buildable gst-plugins-base *** [36/36]
*** module webkitgtk-testing-dependencies not built due to non buildable gst-plugins-good *** [36/36]
*** module webkitgtk-testing-dependencies not built due to non buildable gst-plugins-bad *** [36/36]
*** module webkitgtk-testing-dependencies not built due to non buildable gst-libav *** [36/36]
*** module webkitgtk-testing-dependencies not built due to non buildable xserver *** [36/36]
*** module webkitgtk-testing-dependencies not built due to non buildable mesa *** [36/36]
*** module webkitgtk-testing-dependencies not built due to non buildable openwebrtc *** [36/36]
*** module webkitgtk-testing-dependencies not built due to non buildable libseccomp *** [36/36]
*** the following modules were not built *** [36/36]
cairo gdk-pixbuf atk at-spi2-core at-spi2-atk pango gtk+ glib-networking gnome-icon-theme gnome-icon-theme-symbolic librsvg gnome-themes-standard gtk-doc libsoup gstreamer gst-plugins-base gst-plugins-good gst-plugins-bad gst-libav xserver mesa libusrsctp gst-plugins-openwebrtc libnice openwebrtc libseccomp webkitgtk-testing-dependencies
Running jhbuild-wrapper build failed.
Died at Tools/Scripts/update-webkitgtk-libs line 24.
END
What am I doing wrong? Also yes, I ran the first step on the website.