Re: [webkit-dev] Problems with injecting js-code on first load

2024-08-29 Thread Michael Catanzaro via webkit-dev
On Thu, Aug 29 2024 at 06:41:45 AM +00:00:00, Erik Lundin via webkit-dev wrote: I’m trying to inject javascript code on each page load but it fails on the first load every time. If I reload the page it works. How do I fix this? Is there something I’ve missed in the code below? You're injectin

[webkit-dev] Problems with injecting js-code on first load

2024-08-28 Thread Erik Lundin via webkit-dev
Hi, I'm trying to inject javascript code on each page load but it fails on the first load every time. If I reload the page it works. How do I fix this? Is there something I've missed in the code below? The printfs work but the js-code does not get injected. #include #include GtkWidget *win