[webkit-help] Pointer needed: Webkit URL input

tonikitoo (Antonio Gomes) tonikitoo at gmail.com
Mon May 17 11:38:56 PDT 2010


On the Qt land, the closer you get from what you need is
QWebFrame::requestedUrl, but I will think you will get a scheme'd url.

On Sat, May 15, 2010 at 8:23 AM, Nikos Ventouras <mitskin at gmail.com> wrote:
> Hello,
> I have a (hopefully) simple question, and I would be grateful if anyone can
> point me to the right direction.
> I have successfully built Webkit (in XCode) and run it wrapped in Safari.app
> et al.
> What I'm looking for is for a way to get the raw string the user inputs in
> the location bar.
> For example if I simply type: "foo" in the location bar, all the functions
> I've checked receive something like
> "http://foo" or "http://www.foo.com".
> I want to have access to the raw string entered BEFORE it is interpreted in
> any way as a URL or anything.
> Does anybody know where this happens? I have checked out many functions
> inside Webkit and Webcore
> that seem to do that (like: _web_originalData, -
> (void)loadRequest:(NSURLRequest *)request, etc), but I always
> get the string in a URL-like format with a "scheme" et al.
> Thanks in advance,
> Nick.
>
>
>
>
> _______________________________________________
> webkit-help mailing list
> webkit-help at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-help
>
>



-- 
--Antonio Gomes


More information about the webkit-help mailing list