/r/WebKit

Photograph via snooOG

/r/WebKit

147 Subscribers

1

what happned to arc team wanting to use webkit on windows after porting swift?

0 Comments
2024/09/08
17:23 UTC

1

What are some of y’all able to do with WebKit

Just curious how powerful it is

0 Comments
2024/04/23
12:18 UTC

2

Is there no way to get stylus pressure in WebKit?

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:

  • Why does it seem that pressure is not valid in WebKit, even though this table indicates that it has been compatible with all considered browsers for a long time?
  • Why does it seem that webkitForce is not valid in WebKit, even though... it has "WebKit" in the name?
  • Do you know of an actual way to get stylus pressure in WebKit?

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!

0 Comments
2024/01/29
18:36 UTC

1

How to implement "search within page" in MacOS webkit?

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?

0 Comments
2024/01/25
17:03 UTC

4

Instagram app - WebKit ? - Inspecting the current issue (open to any dm)

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.

  • AI seems to be omnipresent within the app as I can see some people with strange answers that do not reflect the way they use to write to me.
    • The instagram "local" thing makes me reflect on the following : When I am at the peer house, and use the app, the person has stories and posts that are part of my center of interest and that really seem similar to what I see. But to an extent that it makes the app perform anormaly close to my online activity.
    • It is probably due to the "local network setting in "security and confidentiality part" and the fact that I was connected to her network (she could use a WAN & LAN servor as well). I saw that every time I connected to her wifi, it made the same. So I changed by typing on the "i" icon near the network name the, IP, DNs setting using a third party VPN app that allowed me to have a distant DNS (Ikev2) and a local one, switching between two countries ones. And then magic, the person trick didn't worked no more and she began to stress asking if everything was alright and the story sounds weren't the same.
  • Live activities are activated and must be linked to "webkit" features that are unabled (without my consent) on my phone. I discovered these one when seeing the "advanced" tap within safari setting app.
  • After that, I pointed out the data I let online during 12 years was in the hands of a lot of advertisers, which I denied after choosing the "partner part" of the cookie panel.

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 õ¿õ¬

6 Comments
2023/10/02
17:18 UTC

2

I am getting an error every time I try to build WebKit on macOS.

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 **

4 Comments
2022/09/06
16:34 UTC

1

Where does WebKit store its stuff?

Where does WebKit store the data (Browse History, etc) on Epiphany? Im trying to erase everything by code.

2 Comments
2021/10/12
16:23 UTC

1

Why am I getting this error in webkit?

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

1 Comment
2021/07/24
11:46 UTC

1

What's the latest version of WebKit that supports windows xp?

Hi. I Wana develop a pure c++ application and embed WebKit inside it.

What's the latest version of WebKit that supports windows xp?

0 Comments
2021/02/03
08:21 UTC

1

How can I find out what version number of webkit is used by a particular version of webkitGTK?

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?

1 Comment
2020/09/26
02:19 UTC

3

Is there anyone working on bringing WebKit2 to Windows?

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.

0 Comments
2018/12/10
21:10 UTC

3

Next-generation 3D Graphics on the Web • /r/programming

0 Comments
2017/02/07
21:48 UTC

1

Question about interacting with WebKit

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?

0 Comments
2016/01/16
16:30 UTC

1

Webkit svg flaw's CVE number

Don't click without care. My browser crash at here. What this CVE number is?

0 Comments
2015/11/19
08:23 UTC

1

Building latest source - Died at Tools/Scripts/update-webkitgtk-libs line 24?

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.

0 Comments
2015/09/30
21:25 UTC

Back To Top