webkit

How to embed WebKit into my C/C++/Win32 application?

The solutions I have found are irrelevant: someone used WebKit in a Delphi project someone used it with Java there is QtWebKit (about:blank demo app takes 44 megs) .Net port of it GTK+ port I need a guide how to embed WebKit instance into a pure C/C++ application under Win32. ...

Image from WebView dragged onto IKImageView

I have WebView where I load content of webarchive. In the same view I have IKImageView outlet. Image drag n drop from web view onto image view doesn't work for me. What is weird, it works when I drag photo e.g. from iPhoto onto the same image view. Also, I can drag image from my web view onto NSScrollView (which creates a link to the im...

jQuery, $.load doesn't work in webkit and opera?

Hello, I'm trying to load an external document using jQuery, $.load call. It seems to work in IE6, IE8 and Firefox 3.5, but it doesn't work in Opera and Webkit browsers (Chrome and Epiphany)... all of them report (in their developer consoles) that they load external document successfully, but they don't show its content. Test case is h...

A good alernative to WebBrowser component?

I know that there is a WebBrowser component which is basically Internet Explorer but I'm highly dissatisfied with the amount of features it has + Internet Explorer's layout engine is terrible. Is there a better alternative to that? Something like a "Gecko" or a "Webkit" browser? I tried "Skybound Gecko" but I'm sure there are some bette...

Webkit threading javascript file loadsand execution order

I am trying to building a XSS widget and am having issues with Webkit browsers loading the external javascript files which I am appending into the dom. It works as below: Widget.js appends 3 javascript files into the dom (jquery, data, content) Jquery.js is standard jquery with a custom namespace Data.js is a javascript array Content.j...

How can I use WebKit.NET or GeckoFX in a .NET WinForms application with dynamically loaded assemblies?

Hi, I'm working on a .NET WinForms application that loads forms and other UI elements from separate assemblies at runtime. This works well. However, one of the assemblies I'm loading has a form that uses either GeckoFX or WebKit.NET to embed a web browser control. When I try to load that assembly with Assembly.CreateInstance() I'm ge...

jQuery.data() works in Mac OS WebKit, but not on iPhone OS?

I'm playing around with jQTouch for an iPhone OS app that I've been toying with off and on for a while. I wanted to try my hand building it as a web app so I started playing with jQTouch. For reference, here is the page+source (all my code is currently in index.html so you can just "View Source" to see it all): http://rpj.me/doughapp.co...

When does webViewDidFinishLoad get fired?

Does anyone have a precise understanding of when webViewDidFinishLoad is called on a UIWebViewDelegate? I've read that it fires once per iframe, if they exist, but I'm concerned about exactly when it loads with respect to the DOM and javascript events. Is all of the javascript and DOM guaranteed to be downloaded, interpreted and ready ...

CSS/Webkit: Background Images for Table Row

For some reason when you apply a background image to a tr in Safari/Chrome it renders it as if the rule applies to every td. Firefox: Safari: I found this article discussing a fix: http://snook.ca/archives/html%5Fand%5Fcss/applying%5Fa%5Fback I was able to get it working in IE with spacer gifs but can't figure it out for Safari....

WebKitPluginHost silently quits my 32 bit plugin on OS X 10.6

I have a custom OS X NPAPI plugin built as universal 32 bit bundle. It works fine under OS x 10.6 in Firefox. It also runs fine in Safari launched in 32 bit mode. However, it silently fails in Safari launched in 64 bit mode. The 64 bit Safari runs 32 bit plugins in a separate process (WebKitPluginHost). Plugin log shows that the host s...

Qt Webkit - AutoComplete an Input

Hi can someone help me find the documentation (im unsure what to look for) to be able withint Qt Webkit change the text inside a Input TextBox on a WebPage - i would like basically to make a feature so people could Remember their inputs on a webpage and save as a Preset.. once preset is clicked - auto fill in. ...

How to use -webkit-appearance: searchfield-results-decoration?

Happy holidays, all. I'll probably feel very silly when I get the answer to this, but I'd like to know how to use the CSS "-webkit-appearance: searchfield-results-decoration" rule to draw a small magnifying glass inside a search box. I'd like to create a search box like the one in the upper right corner of apple.com. It should have roun...

Webkit button: color overflows round corners

I'm trying to make a rounded button using -webkit-border-radius This gives me this button (in Safari): You can see that the color overflows in the rounding. I tried changing border size and radius, and it doesn't help. Is this a rendering bug with Safari or something? ...

-webkit-tap-highlight-color: rgba(0,0,0,0); on a div?

Is there any way to apply this to a div? ...

How to override WebKit's PDFViewSavePDFToDownloadFolder ?

Hi, I have an application that includes a WebView, which automatically displays PDFs in WebKits WebPDFView. When the user hovers above the lower portion of the document, an overlay appears that enables zooming, opening in Finder and saving the PDF in the download folder. I would like to implement the latter, but I have no idea how to g...

How to view console.log output when running javascript app in Palm Pre browser

I'm trying to debug a javascript-heavy webapp running on the Palm Pre browser. There are various useful debugging messages that the app will output to console.log(). This app was not built specifically for the Palm Pre but runs great on other Webkit-based browsers such as Safari. How can I view the output of console.log from the Web a...

OnSubmit with Mobile Safari

While using jCart I noticed that it did not work on the iPhone. After some testing (and speaking with the developer on the jcart forum ) it seems that it fails to call the submit handler when clicking a submit button: $('form.jcart').submit(function(){...}); I have tried changing this to: $("form.jcart input[type='submit']").click(f...

HTML5 <audio> Safari live broadcast vs not

I'm attempting to embed an HTML5 audio element pointing to MP3 or OGG data served by a PHP file . When I view the page in Safari, the controls appear, but the UI says "Live Broadcast." When I click play, the audio starts as expected. Once it ends, however, I can't start it playing again by clicking play. Even using the JS API on the aud...

One-by-one jQuery scrolling loader acting up in WebKit

I've been working on a little experiment where, as you scroll, new entries are loaded onto a page. You can see a practical example here. Now, if you look at this Firefox everything works as it should. As you scroll towards the bottom of the page entries start to load but only one-by-one. View it in WebKit and instead it will start to l...

Manipulating WebKit CSS data before loading?

Is it possible to manipulate CSS data before it is parsed in WebKit? I've tried using the delegate method - (NSURLRequest *)webView:(WebView *)sender resource:(id)identifier willSendRequest:(NSURLRequest *)request redirectResponse:(NSURLResponse *)redirectResponse fromDataSource:(WebDataS...