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.
7,295
questions
-1
votes
0
answers
8
views
letting WebView component field the page response
As part of a JFX-based browser, I would like to use Webkit's WebView to deal with cookies, https connections, login credentials, partially (or fully) javascript generated pages, ... and then get the ...
0
votes
1
answer
16
views
Force a scrollbar to scroll the full height of a table, regardless of the number of rows
I have a custom vertical scrollbar applied on all tables on a website. It's a technical website, all the tables have the same height but different numbers of rows. The scrollbar allows to discover the ...
0
votes
0
answers
8
views
Use javascript: in address bar on iOS/WebKit based browser
On almost all browsers not based on WebKit, you could enter, for example, javascript: alert('hey') into the address bar and it would run. On WebKit however, this is not the case. Is there any way to ...
0
votes
1
answer
9
views
Android webview, evaluateJavascript and get values as Array
I am trying to get javascript results using webView.evaluateJavascript method. I can get the return value as type of string. When i changed the variable type from String to String[], it automatically ...
0
votes
0
answers
15
views
Download pdf from base64 url webview swift
I am trying to download a pdf from a url in a webview to the device. here is what the base64 endpoint looks like data:application/pdf;base64,JVBERi0xLjMKJf////...
0
votes
0
answers
28
views
Cookies don't get attached even after using storage API
const iframe = document.createElement("iframe");
iframe.sandbox.add('allow-scripts', 'allow-storage-access-by-user-activation', 'allow-same-origin');
iframe.onload = function () {
window....
0
votes
1
answer
27
views
Obscene amount of conflicting errors when using GTK4 and webkit2gtk together in Vala
Using the GNOME Documentation, I wanted to write a demo of using webkit and GTK4 together in Vala by porting GTK3 code. However, when changing the library from gtk3 to gtk4, a crazy amount of errors ...
0
votes
0
answers
18
views
Button text won't be displayed properly in browsers other than Firefox
So I'm studying javascript and I had to do Pokemon-themed app. My goal was to create a Pokeball shaped button and it looked actually pretty decent, but then I deploy it and my friends start notifying ...
0
votes
0
answers
15
views
Only getting RangeError when Chrome Developer Tools is closed
So I have this weird error where the script stops executing with RangeError: Maximum call stack size exceeded when I launch it normally, but when I open the Developer Tools and launch it, it loads up ...
0
votes
1
answer
13
views
Styling -webkit-scrollbar to be shorter than the height of the container?
I'm trying to style up the scrollbar so that it's positioned inside the scrollable area (container with scrollbar), effectively with margin just on the top & bottom of the bar itself.
In the ...
0
votes
0
answers
22
views
WebKit view web WhatsApp not keep logged in
in my app, I am using WebKit to open the web WhatsApp but when the user goes back it logged out how I can keep the user logged in to WhatsApp.
0
votes
0
answers
13
views
Make ul touch scroll on mobile
Hello on my website https://www.khayeriflooring.com the mobile menu have problem when the submenus expands and all elements go out of height I can't seem to scroll it on mobile. I have tried applying ...
0
votes
0
answers
55
views
How to style input search cancel icon? [duplicate]
After reading this post, I am trying to style the tiny cross icon inside my input search field:
HTML:
<input class="search-field textfield-closed" type="search" placeholder=&...
0
votes
1
answer
16
views
Save page of WebKitWebView into file
I have this almost solved. I've found this function:
void
webkit_web_view_save_to_file (WebKitWebView *web_view,
GFile *file,
WebKitSaveMode ...
0
votes
0
answers
18
views
How to recognize an audio, using webkitSpeechRecognition?
I need to recognize an audio, which picked there, but the lib uses only micro. How to avoid it and make it right?
And if it's just impossible, the can you suggest me any other lib to do that?
So I ...
0
votes
0
answers
20
views
Issue with cross-site tracking in safari (post-purchase)
We are having an issue with Shopify post-purchase where the extension isn't loading with shop-pay.
It works fine when disabling the "do not allow cross-site tracking" setting.
Does anyone ...
-1
votes
1
answer
34
views
Safari not displaying bootstrap dropdown menu correctly
I'm using bootstrap and struggling to get Safari to display the dropdown menu correctly. It looks fine in Edge. Safari appears to be using default browser controls. Is there a way to override this? ...
0
votes
0
answers
24
views
-webkit-mask-image does not work in Webkit engine
-webkit-mask-image does not work in Webkit engine, if previous element has inline translate style, e.g:
-webkit-transform: translateZ(0px);
Also filter won't work to.
Here is an example: https://...
0
votes
0
answers
29
views
[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'...
0
votes
0
answers
70
views
How can I apply Win UI 3 to a traditional Win32 app without rewriting it?
First of all, thank you for seeing my question. As the title says. How to add some Win UI3 elements to a traditional Win32 application. Because the project itself is very large, and the UI part is ...
0
votes
0
answers
29
views
evaluateJavaScript never called in webview in swiftui
I am trying to call a function in my javascript file using evaluateJavaScript from webkit in swiftui. But it seems that that function is never called and it throws error:
Error Domain=WKErrorDomain ...
0
votes
1
answer
42
views
Creating a PDF from WKWebView in macOS 11.+
As WKWebView contents can finally be printed out in macOS 11+, I'm trying to replace old WebView dependencies.
However, with the HTML correctly loaded in WKWebView, creating PDF files using ...
0
votes
0
answers
30
views
How to get rid of flickering on Leaflet Vue in WebKit
I have a Leaflet Vue map I display in my web app. While everything works properly in other browsers there is a really annoying flickering that happens to elements on top of the map when I zoom on it.
...
1
vote
0
answers
32
views
Side scrolling doing vertical scrolling
How can I make vertical scrolling to a horizontal layout?
When I scroll vertically with the cursor on the bar, the whole page scrolls, but when I press shift and scroll wheel it just scrolls the bar, ...
0
votes
1
answer
28
views
WKDownloadDelegate download fails with error -3000
When using the new WKDownloadDelegate, I try to download a file, and the first time it downloads fine, but when I attempt to download the same file again, WKDownloadDelegate invokes this method:
func ...
0
votes
1
answer
33
views
Strange issue on webkit browsers with transition on label childs
I have this strange issue that happens on Chrome and Opera, but not on Firefox. I have a checkbox input with custom styled label. The label has two elements inside with transition on them.
Snippet:
...
0
votes
0
answers
39
views
Flutter simulator reads and writes Firestore data but physical ios device only writes. Running the app to the physical device from XCode
I'm using Google, Apple, Facebook, and email sign-in methods, and those all work. They create documents correctly. The documents show the UID as well, so they're fine, but none of the profiles read/...
1
vote
1
answer
92
views
How to pause speech recognition (JS SpeechRecognition) before audio is played by the computer and then resume speech recognition after being played?
Is there a way to pause and resume speech recognition in webkitSpeechRecognition when audio is played by the computer? The computer right now seems to be confusing what is user input via the ...
3
votes
1
answer
119
views
Swift/JS Restore WebView Back Forward List
I am trying to figure out how to restore the back forward list in a WKWebView. Apple defaults the BackForwardList to be readonly. However, FireFox, Chrome, and other mobile browsers are able to ...
0
votes
1
answer
37
views
How to perform regular expressions on a Speech Recognition transcript?
Summary of my application:
Input: Have the user speak to the computer (ask the computer "What is your name?") ✅
Perform a regular expression on the 'transcript' result (from ...
0
votes
1
answer
152
views
Webkit Memory leak in iOS
I have a memory leak on WebKit, and profiling through Xcode instruments gives a memory leak on the following.
WKHoverPlatter 1 0x281e7f7e0 96 Bytes WebKit -[WKContentView(WKInteraction) ...
0
votes
0
answers
36
views
Detect and stop Airplay on WKWebView that plays a video
What I have tried?
UIScreen.screens.count > 1
Ans : Always getting one even though my app is currently Airplay(ing) on my Macbook
Setting configuration of WKWebView
mediaPlaybackAllowsAirPlay = ...
0
votes
0
answers
86
views
CSS transform not working properly in Safari, even with -webkit-prefix
Been working on a project and wholly unsurprisingly Safari is throwing a curveball. It's a personal project so I don't really care for browser compatibility but this just bugs me beyond all else.
The ...
0
votes
0
answers
20
views
How to read the change in URL and take some action with WebKit and SwiftUI
I am trying to show a sign in page in app with SwiftUI that will redirect to my other app views, once the sign up is complete, I want o do that by observing the change in URL with SwiftUI and WebKit. ...
0
votes
0
answers
92
views
iOS Safari/WebKit current state of PWA persistence as of version 15.2
I am reevaluating PWA feasibility for mostly offline based, occasionally used applications.
So far I had experience that PWAs on iOS does not have permanent storage as the website allocated space is ...
1
vote
2
answers
62
views
WebKitGtk doesn't load local files
I've tried loading a local html file using webkit_web_view_load_uri() with a file:// URL. However, the webview would display a blank page. To circumvent this, I tried using webkit_web_view_load_html() ...
0
votes
0
answers
9
views
Trying to invoke an event in an Angularjs + RequireJS running in a WKWebView
We are trying to invoke event in an AngularJS + RequireJS app from a WKWebView.
So far we have used window.webkit.messageHandlers to invoke events from the web app to the native app using window....
0
votes
0
answers
26
views
Buildroot: Unable to build webkitgtk v2.12.4
I am attempting to build a custom linux based OS for raspberrypi 3B by using buildroot.
I am using buildroot version 2017.05, Ubuntu 16.04. While attempting to "make", I get the following ...
0
votes
0
answers
56
views
Youtube WkWebView blank space issue
At first, YouTube videos run well. However, when the app enters the background thread, an empty screen appears. Even if the tableview is refreshed, the video screen does not return to normal, and the ...
0
votes
0
answers
32
views
Why shaka player is loading multiple urls in videotag
I am completely new to the application development using shaka, I was trying to integrate a shaka player based ott app in an webkit based embedded device. While investigating an AV sync issue, I could ...
0
votes
0
answers
47
views
How can I take a screenshot of a WKWebView in SwiftUI without showing the view itself?
I want to load an HTML file locally (one that is opened from the files app in my app) and then render that HTML file as an image. Is there any way to render this image without actually showing the ...
0
votes
1
answer
206
views
In Playwright, can't use page.goto with headless webkit
I'm trying to write a test for a Drupal website in Playwright. I'm running on Ubuntu 20.04 via WSL2.
I set a base url (https://www.example.com) in my Playwright config file.
I have a few simple steps:...
0
votes
0
answers
24
views
reloadContentBlocker not reloading Safari as well
I am using safari content blockers to block & unblock specific elements of a website when a user toggles on/off. I was assuming that when user toggles the blocking off & I remove blockings ...
0
votes
0
answers
29
views
Im trying to implement simulated/programmatic scrolling but its not working(with code)
this is my code. im not sure if its outdated, contains bad references and or uses incorrect frameworks with methods, but please provide a simple solution
the commented out code is what is possibly the ...
0
votes
0
answers
130
views
Why is "This browser or app may not be secure" displayed on Webkit browser?
Recently, our web application that uses OAuth2.0 authentication to connect to Google Drive has encountered a problem.
We already registered and verified our application (through Google Console),and ...
1
vote
1
answer
38
views
CSS grid justify-self not centering element in Safari
I have this div (mobile menu) that is centered in chrome via css grid and justify-self property but in safari it sits on the left side of the screen (behind the instagram icon):
Is there a webkit ...
1
vote
0
answers
463
views
WebKit assertion "Error" after dismissing ViewController
So I have a XIB file with some views and a WKWebView.
This file is linked to a UIViewController class.
Everything works fine, all the functionalities work. However, upon dismissing the ViewController ...
1
vote
1
answer
110
views
Chrome bug for autofill color and background on mobile
I am experiencing a really odd bug which only appears in Chrome when it is viewed on an actual mobile device. In my checkout the default colors of the input fields are dark with white text (stylised ...
0
votes
0
answers
37
views
Can't figure out where to put curly bracket and other errors?
I'm trying to add a simple scroll down icon animation from this website,
https://codepen.io/TKS31/pen/gOaKaxx
to my project but I'm getting an error
10 problems
} expected css(css-rcurlyexpected) x1
{ ...
0
votes
1
answer
112
views
How to combine CSS ::part() selector with browser specific ::-moz or ::-webkit selectors
EDIT: After a hard refresh Firefox seems to work.
EDIT 2: Example works on Firefox but not Chrome (or other webkit browsers Opera/Edge) Webkit Bug?
How do I arrange the following CSS so that I can ...