MCPcopy Create free account

hub / github.com/Bistutu/FluentRead / functions

Functions258 in github.com/Bistutu/FluentRead

↓ 76 callersFunctiondebugLog
* 调试日志函数,只在开发模式下输出 * @param type 日志类型 * @param message 日志消息 * @param ...args 日志参数
entrypoints/main/compat.ts:19
↓ 49 callersFunctionfindMatchingElement
(element: Element, selector: string)
entrypoints/utils/common.ts:59
↓ 8 callersFunctionprocessNode
(node, attr, respMap)
userscripts.js:1902
↓ 7 callersFunctioncommonMsgTemplate
(origin: string)
entrypoints/utils/template.ts:6
↓ 7 callersFunctionhandleTranslation
(mouseX: number, mouseY: number, delayTime: number = 0)
entrypoints/main/trans.ts:165
↓ 7 callersFunctionremoveExistingTooltip
* 移除现有的提示弹窗
entrypoints/content.ts:883
↓ 6 callersFunctionautoTranslateEnglishPage
()
entrypoints/main/trans.ts:78
↓ 6 callersFunctioncontentPostHandler
(text: string)
entrypoints/utils/check.ts:100
↓ 5 callersFunctionaddInputBoxAnimation
* 添加输入框动画效果
entrypoints/content.ts:900
↓ 5 callersFunctioncreateTranslationTooltip
* 创建并显示翻译提示弹窗
entrypoints/content.ts:832
↓ 5 callersFunctionformat
(text)
userscripts.js:1665
↓ 5 callersFunctioninsertLoadingSpinner
( node: HTMLElement, isCache: boolean = false )
entrypoints/utils/icon.ts:112
↓ 5 callersFunctionrestoreOriginalContent
()
entrypoints/main/trans.ts:26
↓ 5 callersFunctionwithoutChinese
(text)
userscripts.js:1660
↓ 4 callersFunctionbuildKey
(message: string)
entrypoints/utils/cache.ts:7
↓ 4 callersFunctiondetectlang
(origin: string)
entrypoints/utils/common.ts:18
↓ 4 callersFunctiongenerateHmacSignature
(key: string | ArrayBuffer, message: string)
entrypoints/service/tencent.ts:25
↓ 4 callersFunctiongenerateHmacSignature
(key: string | ArrayBuffer, message: string)
entrypoints/service/hunyuan-translation.ts:28
↓ 4 callersFunctiongetMaxConcurrentTranslations
()
entrypoints/utils/translateQueue.ts:16
↓ 4 callersFunctionisEmpty
(node)
userscripts.js:1646
↓ 4 callersFunctionisSpecialContent
* 检查文本内容是否属于不应翻译的特殊内容 * 比如:URLs、邮箱地址、用户名、代码片段等
entrypoints/main/compat.ts:118
↓ 4 callersFunctionmountFloatingBall
(position?: 'left' | 'right')
entrypoints/utils/floatingBall.ts:17
↓ 4 callersFunctionunmountFloatingBall
()
entrypoints/utils/floatingBall.ts:201
↓ 4 callersFunctionupdateContextMenus
(tabId: number)
entrypoints/background.ts:128
↓ 3 callersFunctionbase64UrlSafe
(base64String)
userscripts.js:1461
↓ 3 callersFunctionbase64UrlSafe
(base64String: string)
entrypoints/service/zhipu.ts:69
↓ 3 callersFunctioncreateFailedTip
(node, errorMsg, spinner)
userscripts.js:1529
↓ 3 callersFunctiongetCenterPoint
(touches: TouchList, point: number)
entrypoints/utils/common.ts:40
↓ 3 callersFunctiongrabNode
(node: any)
entrypoints/main/dom.ts:105
↓ 3 callersFunctionhandleBilingualTranslation
(node: any, slide: boolean)
entrypoints/main/trans.ts:192
↓ 3 callersFunctionhandleSingleTranslation
(node: any, slide: boolean)
entrypoints/main/trans.ts:229
↓ 3 callersFunctionhandler
(mouseX, mouseY, time, noSkip = true)
userscripts.js:756
↓ 3 callersFunctionisNumericContent
* 检查文本是否为纯数字或标准数字格式 * * 识别以下数字格式: * 1. 整数 (例如: 12345, -123) * 2. 带千位分隔符的数字 (例如: 1,234,567) * 3. 数字范围 (例如: 1-100, 5~10) * 4. 小数 (例如: 3.14159) *
entrypoints/main/dom.ts:268
↓ 3 callersFunctionmountSelectionTranslator
()
entrypoints/utils/selectionTranslator.ts:12
↓ 3 callersFunctionsaveConfig
* 保存配置到存储
entrypoints/utils/floatingBall.ts:191
↓ 3 callersFunctionthrottle
(fn: (...args: any[]) => void, interval: number)
entrypoints/utils/common.ts:5
↓ 3 callersFunctionunmountSelectionTranslator
()
entrypoints/utils/selectionTranslator.ts:35
↓ 2 callersFunctionbilingualAppendChild
(node: any, text: string)
entrypoints/main/trans.ts:322
↓ 2 callersFunctioncancelAllTranslations
()
entrypoints/utils/translateApi.ts:103
↓ 2 callersFunctioncreateIconElement
(iconContent: string)
entrypoints/utils/icon.ts:105
↓ 2 callersFunctioncreateLoadingSpinner
(node, isCache)
userscripts.js:1606
↓ 2 callersFunctioncreateSvgIcon
(d)
userscripts.js:1581
↓ 2 callersFunctiondelayRemoveCache
(key, time = 250)
userscripts.js:1522
↓ 2 callersFunctionfindTranslatableParent
(node: any)
entrypoints/main/dom.ts:352
↓ 2 callersFunctiongetConfiguredMouseHotkeyParts
()
entrypoints/content.ts:143
↓ 2 callersFunctiongetMainDomain
(url: any)
entrypoints/main/compat.ts:66
↓ 2 callersFunctiongrabAllNode
(rootNode: Node)
entrypoints/main/dom.ts:26
↓ 2 callersFunctionhandleDOMUpdate
(node)
userscripts.js:1843
↓ 2 callersFunctionhandleInputBoxTranslation
* 处理输入框翻译
entrypoints/content.ts:947
↓ 2 callersFunctioninsertFailedTip
( node: HTMLElement, errMsg: string, spinner: HTMLElement )
entrypoints/utils/icon.ts:22
↓ 2 callersFunctionisChromeTranslationSupported
()
entrypoints/offscreen/main.ts:29
↓ 2 callersFunctionisConfigObjectValid
(obj: any)
entrypoints/utils/config.ts:8
↓ 2 callersFunctionisGitHubPathOrFileName
* 判断节点是否包含GitHub的路径或文件名
entrypoints/main/compat.ts:1038
↓ 2 callersFunctionisMachineTrans
(model)
userscripts.js:1490
↓ 2 callersFunctionisUserIdentifier
* 检查文本是否为用户标识符(用户名、ID等)
entrypoints/main/dom.ts:224
↓ 2 callersFunctionparseDateOrFalse
(dateString)
userscripts.js:1651
↓ 2 callersFunctionparseDfs
(node, respMap)
userscripts.js:1870
↓ 2 callersFunctionsearchClassName
(node: Node, className: string)
entrypoints/utils/check.ts:86
↓ 2 callersFunctionsetShortcut
(shortcut)
userscripts.js:1470
↓ 2 callersFunctiontranslate
(node)
userscripts.js:918
↓ 2 callersFunctiontranslateText
(origin: string, context: string = document.title, options: TranslateOptions = {})
entrypoints/utils/translateApi.ts:25
↓ 2 callersFunctiontranslationTask
(retryCount: number = 0)
entrypoints/utils/translateApi.ts:57
↓ 1 callersFunctionLLMStandardHTML
(node: any)
entrypoints/main/dom.ts:395
↓ 1 callersFunctionarrayBufferToHex
(buffer: ArrayBuffer)
entrypoints/service/tencent.ts:41
↓ 1 callersFunctionarrayBufferToHex
(buffer: ArrayBuffer)
entrypoints/service/hunyuan-translation.ts:44
↓ 1 callersFunctionautoTranslationEvent
()
entrypoints/content.ts:612
↓ 1 callersFunctionbaiduDetectLang
(text)
userscripts.js:1495
↓ 1 callersFunctionbeautyHTML
(text: string)
entrypoints/main/dom.ts:416
↓ 1 callersFunctionbilingualTranslate
(node: any, nodeOuterHTML: any)
entrypoints/main/trans.ts:254
↓ 1 callersFunctioncheckAndRemoveStyle
(node: any, styleProperty: any)
entrypoints/main/dom.ts:450
↓ 1 callersFunctioncheckConfig
()
entrypoints/utils/check.ts:6
↓ 1 callersFunctioncheckMouseHotkey
()
entrypoints/content.ts:173
↓ 1 callersFunctioncheckRun
(callback)
userscripts.js:1805
↓ 1 callersFunctioncheckTextSize
(node: any)
entrypoints/main/dom.ts:174
↓ 1 callersFunctionclaudeMsgTemplate
(origin: string)
entrypoints/utils/template.ts:68
↓ 1 callersFunctionclearTranslationQueue
()
entrypoints/utils/translateQueue.ts:77
↓ 1 callersFunctioncozeTemplate
(origin: string)
entrypoints/utils/template.ts:164
↓ 1 callersFunctioncreateHunyuanSignature
(requestPayload: string, timestamp: number, secretId: string, secretKey: string)
entrypoints/service/hunyuan-translation.ts:51
↓ 1 callersFunctioncreateRetrySvgIcon
()
userscripts.js:1571
↓ 1 callersFunctioncreateTencentSignature
(requestPayload: string, timestamp: number, secretId: string, secretKey: string)
entrypoints/service/tencent.ts:48
↓ 1 callersFunctioncreateWarnSvgIcon
()
userscripts.js:1576
↓ 1 callersFunctiondeepseekMsgTemplate
(origin: string)
entrypoints/utils/template.ts:28
↓ 1 callersFunctiondetectChildMeta
(parent)
userscripts.js:878
↓ 1 callersFunctiondetectChildMeta
(parent: any)
entrypoints/main/dom.ts:381
↓ 1 callersFunctiondetectLanguage
(text: string)
entrypoints/offscreen/main.ts:52
↓ 1 callersFunctionenqueueTranslation
(translationTask: () => Promise<T>)
entrypoints/utils/translateQueue.ts:25
↓ 1 callersFunctionensureOffscreenDocument
()
entrypoints/service/chrome-translator.ts:52
↓ 1 callersFunctiongeminiMsgTemplate
(origin: string)
entrypoints/utils/template.ts:56
↓ 1 callersFunctiongenerateDisplayName
* 生成快捷键显示名称 * @param modifiers 修饰键数组 * @param key 普通按键 * @returns 显示名称
entrypoints/utils/hotkey.ts:175
↓ 1 callersFunctiongenerateJWT
(secret, header, payload)
userscripts.js:1451
↓ 1 callersFunctiongenerateJWT
(secret: string, header: any, payload: any)
entrypoints/service/zhipu.ts:59
↓ 1 callersFunctiongenerateSign
(appKey: string, query: string, salt: string, curtime: string, appSecret: string)
entrypoints/service/youdao.ts:26
↓ 1 callersFunctiongenerateToken
(apiKey)
userscripts.js:1429
↓ 1 callersFunctiongenerateToken
(APIKey: string)
entrypoints/service/zhipu.ts:43
↓ 1 callersFunctiongetConfiguredHotkeyParts
()
entrypoints/content.ts:448
↓ 1 callersFunctiongetErrorMessage
(errMsg: string)
entrypoints/utils/icon.ts:87
↓ 1 callersFunctiongetInputBoxText
* 获取输入框中的文本
entrypoints/content.ts:764
↓ 1 callersFunctiongetQueueStatus
()
entrypoints/utils/translateQueue.ts:87
↓ 1 callersFunctiongetSecret
()
entrypoints/service/yiyan.ts:39
↓ 1 callersFunctiongetTextWithNode
(node)
userscripts.js:992
next →1–100 of 258, ranked by callers