webkit

Hide the URL bar in Android Webkit

This doesn't seem to work in jqTouch or iUI. But I know it's possible because it works on my Droid when I go to deviantart.com . Anyone know how to do it? Thanks! ...

Implementing a WebSockets server: WebKit sends invalid UTF-8 Strings... sometimes

I'm trying to implement a WebSockets server in C and so far, everything seems to be fine. I tested my implementation on Mac OS X 10.6.4 using Safari Version 5.0 (6533.16) and Google Chrome 5.0.375.70. As they both use WebKit, they unsurprisingly both yield the same results: Handshake works and sending UTF-8 string from and to my server w...

How to handle Android trackball events from a web page?

Is there any DOM event in Webkit associated to trackball events (movement and pressing)? Or is there any other way to handle those events from a webpage? ...

Examples of -webkit-appearance settings

Does anyone know of a website or blog that demonstrates - with functioning examples - all the various -webkit-appearance CSS settings? The trial and error approach is getting old. Bonus points if there's further explanation of various of these -webkit styles ...

Missing IMG src leading to multiple unknown server requests

Hey my application has a map that is drawn with custom marker images rendered on OpenLayers VectorLayer. The problem here is that I see a lot of requests to the page that has this map and this comes to the server and all the server side code written for that page is executed and HTML is returned to the client and I get an error saying ...

Post/Redirect/Get in Webkit causes a full page reload

It seems that in Webkit-based browsers (Chrome and Safari) when a Post/Redirect/Get is performed on the server, the entire page (html + images + css, etc.) is redownloaded. It appears the same as if you reloaded the page. There's been a question (and somewhat of a solution) posted in the Google Chrome Help: http://www.google.com/support...

jQuery, writing if statement with .bind vs .focus looking for alternate way to execute

Brief synopsis, this code works beautifully and does what it is supposed except with radio buttons on webkit. $('input, textarea, select').focus(function(){ $(this).parents('.row').addClass("hilite"); }).blur(function(){ $(this).parents('.row2').removeClass("hilite"); }); I did some research and tested it a few...

What features does Firebug have that Chrome's Developer Tools does not have?

I'm a novice web developer, and I've had Firebug recommended for debugging several times. So far, however, I've just been using Chrome's built-in "Developer Tools". It seems to do everything that Firebug does, and is cleaner and more organized as a bonus. As I get more advanced in my debugging, are there features that Firebug has that I...

CSS3-based Carousel in Any Direction Regardless of Order

I'm been trying to build a simple Carousel effect for a set of photos. Its is easy to do using the Effects library with PrototypeJS but I'm having problems understanding how to implement this with CSS3. I've built out some solutions but they have only worked if there order of the photos in the HTML is also the order in which you plan to...

How to protect SQLite database from corruption

I'm trying to figure out which is the safest strategy for protecting my (file-based) SQLite database from corruption (in this case, I'm working with Adobe Air, but this could apply to any webkit browser that uses SQLite, including Mobile Safari). I'm thinking about creating a database connection, keeping it around for only maybe 5 or 1...

Displaying QWidgets created with QWebPluginFactory

Based on Qt 4.5.1 I placed QWidget, created with QWebPluginFactory, into HTML page. ... ... TestObject works just fine, also JS communication with it. But i found two problems: I cant draw no HTML elements above QWidget(positioning absolute and setting z-indexes). Is there any way how to set rendering order in WebKit? Or to make z...

Does WebKit Cache 3rd Party Resources?

In Chrome and Safari a remote image included on my site never seems to get requested with caching-friendly headers (If-Modified-Since, etc) despite the server returning the appropriate information. Local resources, on the other hand, are requested with these headers. In contrast Firefox requests the remote resources with caching-friendly...

What is the simplest way of clearing floats in webkit?

I'm making a Google Chrome plugin. Therefore, the injected CSS need only work in webkit. What is the webkit-specific way of clearing floats? By clearing floats, I mean make a parent element enclose all floating children contained within. ...

Compiling webkit on windows : environment variable not found $(PRODUCTION)

Hi I am trying to compile webkit on windows and am running into several errors. One of them is : The following environment variables were not found: $(PRODUCTION) Does anybody know what this variable is supposed to map to? Thanks -M ...

How to use webkit show utf-8 character with my cocoa app?

I have a cocoa app with a webkit to show somethink like utf-8 , but when the webkit to show utf8 character, it should show wrong character and I didn't know that , how to set the webkit show utf-8 character in my cocoa app? ...

How to get sIFR to reload fonts each slide using the jquery.cycle plugin?

Hello, I'm using the jQuery library "cycle" to rotate a bunch of div's at the top of my page, within these div's i have a h1 tag, which is styled with sIFR. see example here: 2011 Website The problem is on webkit browsers, the h1 tags which aren't visible on page load aren't rendered, after doing a bit of research on this, it seems i ...

How does Gecko (or any other layout engine) render a document/page?

It was kinda hard to go through Gecko's documentation to see how it renders a web page. I'm doing some performance analysis for my projects across the leading browsers to see how to improve response time. I am aware of optimization techniques out there but I don't really understand their basis--which I believe would be resolved if I kne...

WebKit, How do I get the contents of the resource?

I've been writing a Mac app to inspect each HTTP request and so I'm using WebView to load the request. The problem is I can't seem to figure out how to get the content of each of the resource item? I'm trying to get the contents for the resource from the WebResourceLoadDelegate method - (void)webView:(WebView *)sender resource:(id)id...

Webkit won't let me set marker in input field

I have a input field for signing up to a newsletter. When I have entered some text and try to click between some of the letters webkit (Safari and Chrome) won't set the cursor there. I can only highlight the text. I'm running a couple of javascripts on it (overlabel and validation), which I'm assuming is fault. That, or it's the absolut...

WebKit's percent-sized floats bug: are there any workarounds?

I'm experiencing what appears to be a bug in WebKit's rendering of floating elements' width when they have margins. The following renders as one would expect in Firefox (3.6) and WebKit (Chromium 5.0): <div style="width: 100%; background-color: green;"> <div style="background-color: red; float: left; width: 50%;">n</div> <div s...