webkit

Is it possible to Embed Gecko or Webkit in a Windows Form just like a WebView?

Hi, I'd love to know if there is such thing as a Gecko.NET ;) I mean, just like we can embed a WebView and that is an "instance" of IE7 inside any Windows Forms application (and tell it to "navigateto (fancy_url);", I'd love to use FireFox or WebKit. Anybody tried this? UPDATE: Please bear in mind that although it is possible to embed...

why are all links in my site are red, in google chrome and safari?

just started using google chrome, and noticed in parts of our site, all the links on the page are bright red. They should be black with a dotted underline. Is there some gotcha in webkit rendering that turns all links red regardless of style? ...

How to call an Objective-C method from Javascript in a Cocoa/WebKit app?

I have a Cocoa app that uses a WebView to display an HTML interface. How would I go about calling an Objective-C method from a Javascript function within the HTML interface? ...

Full page zoom in Safari

By default zoom in Safari is text only. Is there way to change to "full page zoom", in which images are zoomed as well? Or better yet, preserve existing "text only" zoom and also allow full page zoom for people who want it? Full page zoom is the default on Internet Explorer 7+ and Firefox. ...

Best way to manipulate pages while embedding Webkit?

I'm using Webkit-sharp to embed Webkit into an application and I need to hook certain links to perform actions in my app rather than their normal action. I've considered using Javascript to iterate over the anchor tags and replace the ones that match with the proper link, but I'm wondering if this is the best way. Is there a preferred ...

Is there an equivalent to ctrl-shift-r in Safari/WebKit?

I.e. something that would really reload the page or resource, ignoring whatever might be in cache. ...

Is there an embeddable Webkit component for Windows / C# development?

I've seen a few COM controls which wrap the Gecko rendering engine (GeckoFX, as well as the control shipped by Mozilla - mozctlx.dll). Is there a wrapper for Webkit that can be included in a .NET Winform application? ...

Building a web crawler - using Webkit packages

I'm trying to build a web crawler. I need 2 things: Convert the HTML into a DOM object. Execute existing Javascripts on demand. The result I expect is a DOM Object, where the Javascript that executes on-load is already executed. Also, I need an option to execute on demand additional Javascripts (on events like: onMouseOver, onMouseClick...

How to embed a browser object, other than IE<n>, in a Delphi application

Using the default TWebBrowser makes things easy to embed a web browser. Unfortunately the one that comes in by default is IE<n>. I'm wondering how does one integrate a Gecko or WebKit one. Are there VCL examples somewhere? If not, how would one go about doing it? Where's the best place to find the core for Gecko and/or WebKit in an em...

Disable anchors in Chrome/WebKit/Safari

Consider the following code: $("a").attr("disabled", "disabled"); In IE and FF, this will make anchors unclickable, but in WebKit based browsers (Google Chrome and Safari) this does nothing. The nice thing about the disabled attribute is that it is easily removed and does not effect the href and onclick attributes. Do you have any su...

Does Google Chrome display pages the same as Safari?

Given that Chrome and Safari use webkit has anyone yet found anything that renders differently on Chrome than Safari? Is there any reason at the moment to test sites on both, or would testing Safari be sufficient for right now? ...

What is the best HTML Rendering Engine to embed in an application?

At the moment, our application uses the Trident Win32 component, but we want to move away from that for a few reasons, chief among them being our desire to go cross-platform. We're looking at WebKit and Gecko, but I'd love to get some feedback before I make a decision. Here are some of the most important requirements: It should be rel...

CSS floated divs with form elements disappear in Safari 3 on a mac

I'm roughing a layout together and doing some browser testing. Never came across this issue before, check out the contact form in the footer of this page http://staging.terrilynn.com/fundraising/ There is a div with a width of 298px floated to the right that comes first in the source order. It is followed by several other divs, each wi...

How can my iPhone Objective-C code get notified of Javascript errors in a UIWebView?

I need to have my iPhone Objective-C code catch Javascript errors in a UIWebView. That includes uncaught exceptions, syntax errors when loading files, undefined variable references, etc. This is for a development environment, so it doesn't need to be SDK-kosher. In fact, it only really needs to work on the simulator. I've already fou...

Safari/WebKit table over-run when using whitespace: nowrap

Having a strange rendering issue with Safari: I have a table inside a div. Inside the table <td> I have lots of div's floated left. So the normal display is all of the divs within the td stacked up to the left until they fill the width, then flow to the next line, and so forth. So something like this: |===========================| | ...

How do you handle oncut, oncopy, and onpaste in jQuery?

The jQuery documentation says the library has built-in support for the following events: blur, focus, load, resize, scroll, unload, click, dblclick, mousedown, mouseup, mousemove, mouseover, mouseout, mouseenter, mouseleave, change, select, submit, keydown, keypress, keyup, and error. I need to handle cut, copy, and paste events. How be...

Disabled input text color

Hi The simple HTML below displays differently in Firefox and WebKit-based browsers (I checked in Safari, Chrome and iPhone). In Firefox both border and text have the same color (#880000), but in Safari the text gets a bit lighter (as if it had some transparency applied to it). Can I somehow fix this (remove this transparency in Safa...

Will Air 1.5 include an update of WebKit with CSS animations?

I'm currently developing an html/ajax air app and am about to invest some effort into making animations using jQuery. I could do this quite a bit easier using the css animations if air had that recent a version of WebKit. I know some people have alpha/beta versions of air 1.5. If you do, can you let me know? ...

Cocoa/WebKit, having "window.open()" Javascipt links opening in an instance of Safari

I am building a really basic Cocoa application using WebKit, to display a Flash/Silverlight application within it. Very basic, no intentions for it to be a browser itself. So far I have been able to get it to open basic html links (<a href="..." />) in a new instance of Safari using [[NSWorkspace sharedWorkspace] openURL:[request URL...

How do I develop a plug-in for QtWebKit?

I am trying to develop a plug-in for QtWebkit. But I am not able to find how to develop a plugin for QtWebKit, hopefully one that can be invoked by JavaScript. Does anyone know of any tutorials or documents that explain how to do this? Webkit has been intregated into Qt and this integrated package is called QtWebkit. They have provided...