View Single Post
Posts: 97 | Thanked: 103 times | Joined on Sep 2009 @ switzerland
#38
Originally Posted by lardman View Post
Does this hold true for embedded pages? E.g. the googlelatitude app in extras-devel simply wraps the above page in a Qt+webkit app (which means that unfortunately the geolocation doesn't currently work, though I understand there is support in the webkit source code).

Would this be another option? It would also allow the app itself to capture e.g. the +/- keys and pass those over as javascript inputs to zoom (I guess!)
I'm not sure how far the sandboxing extends in qt-webkit apps - haven't got much experience in that area. Googling hints that the answer is both "yes" and "no", depending on the qt version

Also I'd assume that it works, though, as we're no longer in a frame-context here but simply pulling up a page and executing JS on it, not much different than what you are already allowed to do in any browser anyway.