marklieberman/foxygestures

Doesn't work with `application/xhtml+xml`

Opened this issue · 2 comments

On pages delivered with application/xhtml+xml, gesture trajectories are displayed, but various operations such as "History Back" and "Close Tab" do not work.
Is it possible to support application/xhtml+xml? Thank you

Confirmed environment

  • Windows 10 + Firefox 94.0.1
    • Refreshed, with only Foxy Gestures add-on installed
  • https://labs.w0s.jp/html/xhtml/
    • Content-Type: application/xhtml+xml; charset=utf-8
    • No JavaScript is used
foxygestures_on_xhtml.mp4

Seems like the status text HTML snippet is not well formed XHMTL. You can fix it immediately by adding the text ="" to the data-mg-status attribute in the FoxyGestures add-on options.

image

The fix you provided has solved the problem. Thank you!