[webkit-gtk] Context Menu, Right Mouse Button and JavaScript

Andre "Osku" Schmidt andre.osku.schmidt at osku.de
Sat Oct 31 09:47:14 PDT 2009


i wanted to strip down GtkLauncher.c (that comes with webkit source) to
be minimal as possible. so it could serve me as a "playground tool" for
html/svg/css/javascript experiments.

and the remaining issue i have is, how do i deactivate webkit webviews
context menu and/or pass the right mouse button event to javascript ?

on #webkit-gtk someone said i could catch the mouse pressed event and
send TRUE if its button 3. works, the context menu is gone, but the
event is not passed to javascript...

and after testing with unmodified GtkLauncher, i get the feeling right
mouse button is not passed to javascript at all ? can someone confirm ?
is it a bug ?

(some random javascript mousebutton test. at the bottomish of the page)


More information about the webkit-gtk mailing list