Questions tagged [webkit]
WebKit is an open-source Web content engine for browsers and other applications, such as Apple Safari, Mail, App Store and several mobile browsers including the pre-installed browsers for Android, iOS, RIM Blackberry, Symbian, and WebOS.
webkit
7,448
questions
-1
votes
0
answers
15
views
Securing Javascript to Native Calls using WebKit
When a Javascript posts a message to Native Code using
window.webkit.messageHandlers.<messageHandlerName>.postMessage(<messageBody>)
If I have a JS calling the Native code like this.
...
0
votes
0
answers
17
views
iOS Paysafe cards integration 3DS secure authentication pop-up doesn't appear
Platform: iOS, Swift
Feature to implement:
Cards payment integration using Paysafe provider. The user shall be able to fill their card details in textFields, which are generated in an HTML file ...
0
votes
0
answers
23
views
Cookie not working with webkit using Leptos
I'm working on an app using Leptos as the framework, I need to set some cookies but for some reason the code I use works on Chromium and Firefox, but fails on WebKit.
use leptos::*;
use wasm_bindgen::...
0
votes
1
answer
27
views
How to Retrieve the Browser's Default Hover Color?
Is there a way to obtain the default hover color of a browser? For example, the select element has a default blue hover color in Chrome, but a gray hover color in Firefox. I am creating a custom ...
-1
votes
0
answers
20
views
Can WebKit vulnerabilities be exploited by just processing a malicious link?
I'm trying to understand the mechanics of WebKit vulnerabilities, such as CVE-2023-42916, which involve processing malicious web content. Specifically, I want to know if these vulnerabilities can be ...
-1
votes
0
answers
26
views
App Crashes loading webview "** Assertion failure in -[UIApplication _performAfterCATransactionCommitsWithLegacyRunloopObserverBasedTiming:block:]"
In my app I am trying to load webview with an URL , I am checking is it loading on main thread also loading webview in main thread using
DispatchQueue.main.async { self.loadRequest() } ,
webview loads ...
0
votes
3
answers
58
views
HTML <video> element: how to remove the dark area around the timeline control when it appears?
When a video plays normally:
The timeline control will appear when one pauses the video or moves the mouse. In a WebKit-based browser like Chrome, it looks like this:
So there is a dark area around ...
0
votes
0
answers
26
views
Problems with Form POST in Safari and IOS
I have this simple router, relying on a simple HTML form.
export const authSigninRouter = new Hono();
const SigninForm = ({ email = '', errors }) => {
return (
<form class="mt-5 grid ...
0
votes
0
answers
23
views
Where do I find the concrete class for the CookieManager?
I'm looking for the concrete class of CookieManager found in the Android Webkit framework. I'm interested of how CookieManager.getInstance.flush() works, since i might have e bug caused by the method.
...
0
votes
0
answers
46
views
Not able to call a javascript function with evaluateJavaScript with swift
I have a webview where I'm setting up a bridge between javascript and the underlying native code.
I am able to call a swift function from javascript, but I am not able to call javascript functions ...
0
votes
0
answers
21
views
webkit2gtk-4.0: How to load URI with TLS test certificate?
I'm using the example from here:-
https://wiki.gnome.org/Projects/WebKitGtk/ProgrammingGuide/Tutorial
which works fine using the given URI
But I want to use to a test site such as https://192.168.0.1
...
0
votes
0
answers
38
views
iOS - WKWebView application Push Notification failed to navigate (Redirect) to the respective screen using deep linking
I am using WKWebView to load the URL for my hybrid web application. When I receive push notifications, I use deep linking to handle them by invoking the evaluateJavaScript function of WebView.
It ...
0
votes
0
answers
29
views
Displaying a Native Swift Alert When a JavaScript Method is Called in WebKit for iOS
I am developing an iOS app using WebKit. In my app, there is a website that includes a JavaScript method called showEnvConnectOptions(). I would like a native Swift alert to appear in the app whenever ...
0
votes
0
answers
54
views
Safari 17.5 misreporting screen.width
iMac 27" (2015) Monterey 12.7.5 Safari Version 17.5 (17618.2.12.111.5, 17618)
I have been playing around with dynamic resizing and suddenly (since early May) the values reported by Safari for ...
0
votes
1
answer
839
views
iOS 17.5.1 Xcode WebKit Crash
iOS 17.5.1 Xcode WebKit Crash
Hello, I have two iPhone devices that I have.
These devices are iOS17.5.1, and all Wk related codes cause Crash.
Crash occurs when Xcode Build is complete and the app is ...