webkit

ubuntu webkit install

i'm new to ubuntu and i want to install webkit 1.0 as dev version but i don't know what i have to do ? ...

Disabling Webkit Form Input Shadow

Is there a way to disable the colored shadow generated by Webkit browsers when a form element receives focus? It's yellow in Chrome and blue in Safari, and gets in the way of any custom focus styles I try to implement. ...

Safari and Chrome back button changes hidden and submit values in forms

The following problem happens on both Safari and Chrome, so probably a WebKit issue. Page A: a page that requires you to login to see, contains a form that has a type=submit button, with name=submit, and value=a Page B: some other page Page C: ask user to login page, contains a form with a type=submit button, with name=submit and valu...

Closing an NSWindow

I have a NSWindow that hosts a WebView that Ive hooked up to a script handler. Now, when the user clicks a button on a control on the WebView it calls a Objective C method on my object. In this specific case, the action of the button is to try and close the window hosting the WebView [[webView window] close]; This usually works, but ...

jQuery UI dialog + WebKit + HTML response with script

Once again I am faced with a great problem! :) So, here is the stuff: on the client side, I have a link. By clicking on it, jQuery makes a request to the server, gets response as HTML content, then popups UI dialog with that content. Here is the code of the request-function: function preview(){ $.ajax({ url: "/api/builder...

how to render multiple html files in the same page one after the other using webkit

Hi, i am using webkitgtk+ to render HTML files. I am trying to render multiple HTML files into same page (say same gtkscrolledwindow ). What i did is, i put a vbox to gtkscrolledwindow as viewport and put Webkitwebviews to vbox, one after the other. But the problem is the HTML files are no more reflowable. I want to retain reflowable pro...

If I have this code in the iPhone Safari or Android Browser...will it be slow?

<div class="result"> <div class="thumbnail"> <img src="80x80.png"> </div> <div class="name"> Alex Hong </div> </div> The page will have 400 of these! A list of people and their thumbnails, all different. I will use JQuery LazyLoad, so that not all images are downloaded immediately. (The images are only down...

Performance of RaphaelJS with thousands of paths/rectangles

Hi, I really only care about Webkit, but in general, is Raphael JS expected to perform well when building thousands of rectangles? Additionally, I would need to be able to handle events on each of these rectangles (yipes). I've got a C++ solution which works but I'd rather use RaphaelJS. Thanks :) ...

UTF8 Bug in Chrome and Safari? Or wrong Apache setup?

Hello everyone So, this page: http://utf8test.n.ceromedia.dk/ has some UTF8 Characters. They display correctly in Firefox, IE and Opera, but doesn't work in Chrome and Safari. Boxes appear instead. I have and when I look at the headers: Content-Type: text/html; charset=utf-8 Can you see what's wrong? Is it something I do wrong, or is...

Web scraping with Python

I'm currently trying to scrape a website that has fairly poorly-formatted HTML (often missing closing tags, no use of classes or ids so it's incredibly difficult to go straight to the element you want, etc.). I've been using BeautifulSoup with some success so far but every once and a while (though quite rarely), I run into a page where ...

how to find the height of html content

Hi, I am trying to display 10 html pages as a single document,with 10 chapters. I am using Webkitgtk+ engine to render the HTML pages. I am getting the content of each html files and concatenating all of them to create a single 'char *content' and using webkit_web_view_load_html_string(WebKitWebView *web_view, ...

Print.css issue in Webkit

The page in question is featured here: http://www.allwebcafe.com/news/news-article.php?id=78 For some reason, when a user attempts to print any article of this type from a Webkit-based browser (I've confirmed this in both Safari and Chrome), the pages are all blank. On the flip side, everything behaves as expected in both Firefox and In...

Using QT to build a WYSIWYG Editor for a Custom Markup Language

I'm new to QT, and am trying to figure out the best means of creating a WYSIWYG editor widget for a custom markup language that displays simple text, images, and links. I need to be able to propagate changes from the WYSIWYG editor to the custom markup representation. As a concrete example of the problem domain, imagine that the custom...

Disable the Same Origin Policy / making cross domain XMLHttpRequests in WebKit WebViews?

I would like to disable the same origin policy on XMLHttpRequests in my own embedded WebViews. I have control over the pages loaded / code being executed in the WebView, so I do not care about enforcing the same origin policy. I would like to make cross-domain requests. I've tried implementing the WebPolicyDelegate and WebResourceLoadDe...

How to make WebKit or IE call your application (.NET) from HTML page opened in browser?

I have a .NET application running on windows. I want clicking on some page element (button link flash app etc) to launch my app with some special parameters. (It should run not just in IE but on WebKit based windows browsers too) During App install we suppose that user is Admin and is running Vista or Windows 7 or Later. So my question ...

Bug in Safari: options.length = 0; not working as expected in Safari 4

This is not a real question, but rather an answer to save some others the hassle of tracking this nasty bug down. I wasted hours finding this out. When using options.length = 0; to reset all options of a select element in safari, you can get mixed results depending on wether you have the Web Inspector open or not. If the web inspector i...

Adding to the browser user agent string?

I have a plug-in that handles its own url schema (something like mystuf:// ). If a user clicks on such a link when the plug-in isn't installed (s)he gets an ugly error. So I extended my installer to write into the Registry (for Internet Explorer) and the user.js (for Firefox) to ADD a custom string to the user agent string. These additio...

How to fix slow scrolling when using webkit-transform and relative positioning on the iphone

I have implemented scrolling of a div by using relative positioning and webkit animation for the iphone, it works beautifully on desktop safari but is choppy on the actual iphone (fine on the simulator). The scrolling works by having a div nested and clipped (overflow:hidden) by its parent. I then set the top position and animate it wit...

how to load part of the HTML page which is currently on display ?

Hi, i have an ebook(relatively large size say 800 pages),in HTML format. I am opening that book as webpage using webkit-gtk+. If i load the whole book at a time,it takes too much memory(RAM ).So i dont want to load the whole book at a time, but load the part of the book which is currently on display. and when the user scrolls down, next...

Find and Replace in WebView?

Does WebView support Find and Replace? The docs suggest that it does i.e. performFindPanelAction: appears to be implemented, but the Find panel will not enable it's buttons. Any ideas? MT ...