Allow snippet-edit to work in Firefox