El mar, 03-06-2014 a las 22:59 +0200, Pierre-Yves escribió: > Hello, > > I don’t find some WebKit2 equivalent for "user-changed-contents » WebView > signal on WebKit1. > I also looked at WebExtension parts but did not found neither. > > Is there an equivalent? > Use case is to detect changes in an editable page and act accordingly.
There's webkit_dom_html_text_area_element_is_edited and webkit_dom_html_input_element_is_edited in the DOM bindings API. You can iterate the DOM looking for text area/fields and query them. This is what we do in ephy: https://git.gnome.org/browse/epiphany/tree/lib/ephy-web-dom-utils.c#n27 > Regards > Pierre-Yves > _______________________________________________ > webkit-gtk mailing list > [email protected] > https://lists.webkit.org/mailman/listinfo/webkit-gtk > -- Carlos Garcia Campos http://pgp.rediris.es:11371/pks/lookup?op=get&search=0xF3D322D0EC4582C3
signature.asc
Description: This is a digitally signed message part
_______________________________________________ webkit-gtk mailing list [email protected] https://lists.webkit.org/mailman/listinfo/webkit-gtk
