message: fix(options): hide unsupported features on Firefox
  fix
diff: import React, { FC } from 'react'
  import { Switch, Select, Slider } from 'antd'
  import { useTranslate } from '@/_helpers/i18n'
  +import { isFirefox } from '@/_helpers/saladict'
  import { useSelector } from '@/content/redux'
  import { getConfigPath } from '@/options/helpers/path-joiner'
  import {
  @@ -10,7 +11,20 @@ import {
  export const Popup: FC = () => {
  const { t } = useTranslate(['options', 'menus'])
  - const contextMenusAll = useSelector(state => state.config.contextMenus.all)
  + const menusIds = useSelector(state => {
  + const ids = Object.keys(state.config.contextMenus.all)
  + if (isFirefox) {
  + return ids.filter(id => {
  + switch (id) {
  + case 'youdao_page_translate':
  + case 'caiyuntrs':
  + return false
  + }
  + return true
  + })
  + }
  + return ids
  + })
  const { availWidth } = window.screen
  return (
  @@ -32,7 +46,7 @@ export const Popup: FC = () => {
  <Select.Option value="popup_standalone">
  {t('config.opt.baOpen.popup_standalone')}
  </Select.Option>
  - {Object.keys(contextMenusAll).map(id => (
  + {menusIds.map(id => (
  <Select.Option key={id} value={id}>
  {t(`menus:${id}`)}
  </Select.Option>
  