Update min. version to 30.
Use gContextMenu.textSelected.

It's introduced by https://bugzilla.mozilla.org/show_bug.cgi?id=970746.