MCPcopy Create free account

hub / github.com/crimx/ext-saladict / functions

Functions1,174 in github.com/crimx/ext-saladict

↓ 58 callersFunctionuseTranslate
( namespaces?: Namespace | Namespace[] )
src/_helpers/i18n.ts:175
↓ 43 callersFunctiongetDefaultConfig
()
src/background/sync-manager/interface.ts:50
↓ 37 callersMethodadd
(config: AddConfig)
src/background/sync-manager/services/eudic/index.ts:36
↓ 32 callersFunctionhandleNoResult
(e?: any)
src/components/dictionaries/helpers.ts:103
↓ 29 callersFunctiontimer
(...args)
src/_helpers/promise-more.ts:89
↓ 27 callersFunctionsearch
(rawText, config, profile, payload)
src/components/dictionaries/volc/engine.ts:175
↓ 25 callersFunctiongetText
( parent: ParentNode | null, ...args: | [string?, (null | ((text: string) => string))?] | [(null |
src/components/dictionaries/helpers.ts:181
↓ 21 callersFunctionretry
(executor: () => Promise<any>, retryTimes = 1)
test/specs/components/dictionaries/helpers.ts:3
↓ 20 callersFunctionfetchDirtyDOM
( url: string, config?: AxiosRequestConfig )
src/_helpers/fetch-dom.ts:16
↓ 18 callersMethodcreate
* @param preload force preload word. otherwise let the panel decide.
src/background/windows-manager.ts:187
↓ 18 callersFunctionnewWord
(word?: Partial<Word>)
src/_helpers/record-manager.ts:28
↓ 17 callersFunctiongetInnerHTML
( host: string, parent: ParentNode, selectorOrConfig: string | Omit<GetHTMLConfig, 'mode' | 'host'> = {}
src/components/dictionaries/helpers.ts:282
↓ 16 callersFunctiongetConfigPath
(...args: string[])
src/options/helpers/path-joiner.ts:103
↓ 15 callersFunctionwithSaladictPanel
(options: WithSaladictPanelOptions)
src/_helpers/storybook.tsx:102
↓ 14 callersFunctionopenUrl
( optionsOrUrl: string | OpenUrlOptions, self?: boolean )
src/_helpers/browser-api.ts:166
↓ 13 callersFunctiongetBackgroundStateSnapshot
()
src/background/state.ts:26
↓ 13 callersFunctionisStandalonePage
()
src/_helpers/saladict.ts:15
↓ 13 callersFunctionwithi18nNS
(ns: Namespace | Namespace[])
src/_helpers/storybook.tsx:58
↓ 12 callersFunctioninitBackgroundState
()
src/background/state.ts:40
↓ 11 callersMethoddestroy
()
src/background/windows-manager.ts:284
↓ 11 callersMethodinit
()
src/background/sync-manager/services/eudic/index.ts:28
↓ 11 callersFunctionmerge
(path: string, predicate: (val) => boolean)
src/app-config/merge-config.ts:264
↓ 11 callersFunctionmockRuntimeMessage
(fn: (message: Message) => Promise<any>)
src/_helpers/storybook.tsx:79
↓ 11 callersFunctionwithSideEffect
(fn: React.EffectCallback)
src/_helpers/storybook.tsx:70
↓ 10 callersMethoddelete
({ force })
src/background/sync-manager/services/webdav/index.ts:251
↓ 10 callersMethodfocus
()
src/background/windows-manager.ts:303
↓ 10 callersFunctiongetConfig
()
src/_helpers/config-manager.ts:75
↓ 10 callersFunctiongetFullLink
(host: string, el: Element, attr: string)
src/components/dictionaries/helpers.ts:357
↓ 10 callersMethodgetSupportLanguages
()
src/components/dictionaries/machine-custom.ts:34
↓ 10 callersFunctionisDarkMode
(darkMode: DarkMode)
src/_helpers/dark-mode.ts:5
↓ 10 callersFunctionisPopupPage
()
src/_helpers/saladict.ts:8
↓ 9 callersFunctiongetDB
()
src/background/database/core.ts:31
↓ 9 callersFunctionisOptionsPage
()
src/_helpers/saladict.ts:6
↓ 9 callersFunctionmachineResult
( data: DictSearchResult<MachineTranslateResult<ID>>, langcodes: ReadonlyArray<string> )
src/components/MachineTrans/engine.ts:205
↓ 9 callersFunctionupdateConfig
(baseconfig: AppConfig)
src/_helpers/config-manager.ts:82
↓ 8 callersFunctionaddConfigListener
( cb: (changes: AppConfigChanged) => any )
src/_helpers/config-manager.ts:95
↓ 8 callersFunctiongetDefaultProfileID
(id?: string)
src/app-config/profiles.ts:57
↓ 8 callersFunctiongetMTArgs
( translator: Translator, text: string, { options, options_sel }: { options: { tl: '
src/components/MachineTrans/engine.ts:62
↓ 8 callersFunctiongetMachineLocales
( name: LocaleItem, options: LocaleObject = {}, helps: LocaleObject = {} )
src/components/dictionaries/locales.ts:11
↓ 8 callersFunctiongetStaticSpeaker
(src?: string | null)
src/components/Speaker/index.tsx:110
↓ 8 callersFunctionmachineConfig
( langs: ExtractLangFromConfig<Config>[], /** overwrite configs */ config: Partial<Config>, options: E
src/components/MachineTrans/engine.ts:150
↓ 8 callersMethodrender
()
src/components/StarRates/index.tsx:13
↓ 8 callersFunctionsendOffscreenMessage
(message: any)
src/background/offscreen-document.ts:71
↓ 7 callersFunctiongetChsToChz
( langCode?: string )
src/components/dictionaries/helpers.ts:162
↓ 7 callersMethodgetInstance
()
src/background/server.ts:82
↓ 7 callersFunctiongetProfileIDList
()
src/_helpers/profile-manager.ts:304
↓ 7 callersFunctionisQuickSearchPage
()
src/_helpers/saladict.ts:12
↓ 7 callersMethodrequest
(action: string, params?: any)
src/background/sync-manager/services/ankiconnect/index.ts:208
↓ 7 callersMethodreset
()
src/background/audio-manager.ts:21
↓ 7 callersFunctionsafeUpdateWindow
(...args)
src/background/windows-manager.ts:15
↓ 6 callersFunctioncanUseOffscreenDocument
()
src/background/offscreen-document.ts:8
↓ 6 callersFunctioncheckSupportedLangs
( langs: SupportedLangs, text: string )
src/_helpers/lang-check.ts:97
↓ 6 callersMethoddownload
({ testConfig, noCache }: DownloadConfig<SyncConfig>)
src/background/sync-manager/services/webdav/index.ts:256
↓ 6 callersFunctionisContainJapanese
(text: string)
src/_helpers/lang-check.ts:37
↓ 6 callersFunctionsetSyncConfig
( serviceID: string, config: T )
src/background/sync-manager/helpers.ts:16
↓ 6 callersFunctionuseUpload
()
src/options/helpers/upload.ts:18
↓ 5 callersFunctioncreateBasicAuthorizationHeader
( username: string, password: string )
src/_helpers/basic-auth.ts:15
↓ 5 callersFunctioncreateStore
()
src/content/redux/index.ts:44
↓ 5 callersMethodgetDefaultConfig
()
src/background/sync-manager/services/eudic/index.ts:20
↓ 5 callersFunctiongetOuterHTML
( host: string, parent: ParentNode, selectorOrConfig: string | Omit<GetHTMLConfig, 'mode' | 'host'> = {}
src/components/dictionaries/helpers.ts:295
↓ 5 callersFunctiongetProfile
(id: string)
src/_helpers/profile-manager.ts:219
↓ 5 callersFunctiongetProfilePath
(...args: string[])
src/options/helpers/path-joiner.ts:211
↓ 5 callersMethodgetWin
()
src/background/windows-manager.ts:273
↓ 5 callersMethodhasCreated
()
src/background/windows-manager.ts:298
↓ 5 callersFunctioninitProfiles
()
src/_helpers/profile-manager.ts:139
↓ 5 callersFunctionisContainChinese
(text: string)
src/_helpers/lang-check.ts:30
↓ 5 callersFunctionisInternalPage
()
src/_helpers/saladict.ts:4
↓ 5 callersFunctionisTagName
(node: Node, tagName: string)
src/_helpers/dom.ts:4
↓ 5 callersFunctionsetFormDirty
(value: boolean)
src/options/helpers/use-form-dirty.ts:5
↓ 5 callersFunctionupload
(config: SyncConfig, body: any = '')
test/specs/background/sync-manager/services/webdav.spec.ts:48
↓ 5 callersFunctionuseStorybookDarkMode
()
src/_helpers/storybook.tsx:18
↓ 5 callersFunctionwithLocalStyle
(style: object | string)
src/_helpers/storybook.tsx:34
↓ 4 callersFunctionchsToChz
(text: string)
src/_helpers/chs-to-chz.ts:2641
↓ 4 callersFunctioncreateLanguageHelper
( langs: ReadonlyArray<Lang> )
src/components/dictionaries/machine-custom.ts:37
↓ 4 callersFunctioncredentialRequiredResult
( id: ID, langcodes: ReadonlyArray<string> )
src/components/dictionaries/machine-custom.ts:98
↓ 4 callersFunctionemptyMachineResult
( id: ID, sl: string, tl: string, langcodes: ReadonlyArray<string> )
src/components/dictionaries/machine-custom.ts:118
↓ 4 callersMethodensureOffscreen
()
src/background/dom-task-bridge.ts:91
↓ 4 callersFunctionensureOffscreenDocument
()
src/background/offscreen-document.ts:19
↓ 4 callersFunctiongetAllDicts
()
src/app-config/dicts.ts:73
↓ 4 callersMethodgetAuthorizationHeader
(config: Pick<SyncConfig, 'user' | 'passwd'>)
src/background/sync-manager/services/webdav/index.ts:49
↓ 4 callersFunctiongetNotebook
()
src/background/sync-manager/helpers.ts:79
↓ 4 callersFunctiongetStaticLocale
(lang: LangCode, ns: StaticNamespace)
src/background/static-locales.ts:19
↓ 4 callersFunctiongetTitlebarOffset
()
src/_helpers/titlebar-offset.ts:16
↓ 4 callersFunctiongetWords
( area: DBArea, config: { itemsPerPage?: number pageNum?: number filters: { [field: string]: (
src/_helpers/record-manager.ts:83
↓ 4 callersFunctionhandleNetWorkError
(e?: any)
src/components/dictionaries/helpers.ts:110
↓ 4 callersFunctioninitConfig
()
src/_helpers/config-manager.ts:57
↓ 4 callersFunctionisContainEnglish
(text: string)
src/_helpers/lang-check.ts:33
↓ 4 callersFunctionisContainKorean
(text: string)
src/_helpers/lang-check.ts:41
↓ 4 callersFunctionisInDictPanel
(element: Node | EventTarget | null)
src/_helpers/saladict.ts:51
↓ 4 callersFunctionisManualVerificationError
( e: any )
src/components/dictionaries/helpers.ts:125
↓ 4 callersMethodload
(src: string)
src/background/audio-manager.ts:31
↓ 4 callersFunctionnormalizeMachineLanguage
(lang: string)
src/components/dictionaries/machine-custom.ts:74
↓ 4 callersFunctiononClose
()
src/content/components/WordEditor/WordEditorStandalone.container.tsx:7
↓ 4 callersFunctionopenPDFStandalone
(url: string)
src/background/pdf-sniffer.ts:245
↓ 4 callersMethodplay
(src?: string)
src/background/audio-manager.ts:37
↓ 4 callersFunctionrequestHeaders
()
src/components/dictionaries/mojidict/engine.ts:465
↓ 4 callersFunctionsaveWord
(area: DBArea, word: Word)
src/_helpers/record-manager.ts:58
↓ 4 callersFunctionsetIcon
(gray: boolean, tabId: number)
src/background/badge.ts:149
↓ 4 callersFunctionshouldEnableAutoPdfSniff
( config: Pick<AppConfig, 'pdfSniff' | 'pdfStandalone'> )
src/background/pdf-sniffer-shared.ts:25
↓ 4 callersFunctiontrySendMessageToTab
(tabId: number, msg: Message<T>)
src/_helpers/message-tab.ts:22
next →1–100 of 1,174, ranked by callers