Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Bistutu/FluentRead
/ functions
Functions
258 in github.com/Bistutu/FluentRead
⨍
Functions
258
◇
Types & classes
9
↓ 76 callers
Function
debugLog
* 调试日志函数,只在开发模式下输出 * @param type 日志类型 * @param message 日志消息 * @param ...args 日志参数
entrypoints/main/compat.ts:19
↓ 49 callers
Function
findMatchingElement
(element: Element, selector: string)
entrypoints/utils/common.ts:59
↓ 8 callers
Function
processNode
(node, attr, respMap)
userscripts.js:1902
↓ 7 callers
Function
commonMsgTemplate
(origin: string)
entrypoints/utils/template.ts:6
↓ 7 callers
Function
handleTranslation
(mouseX: number, mouseY: number, delayTime: number = 0)
entrypoints/main/trans.ts:165
↓ 7 callers
Function
removeExistingTooltip
* 移除现有的提示弹窗
entrypoints/content.ts:883
↓ 6 callers
Function
autoTranslateEnglishPage
()
entrypoints/main/trans.ts:78
↓ 6 callers
Function
contentPostHandler
(text: string)
entrypoints/utils/check.ts:100
↓ 5 callers
Function
addInputBoxAnimation
* 添加输入框动画效果
entrypoints/content.ts:900
↓ 5 callers
Function
createTranslationTooltip
* 创建并显示翻译提示弹窗
entrypoints/content.ts:832
↓ 5 callers
Function
format
(text)
userscripts.js:1665
↓ 5 callers
Function
insertLoadingSpinner
( node: HTMLElement, isCache: boolean = false )
entrypoints/utils/icon.ts:112
↓ 5 callers
Function
restoreOriginalContent
()
entrypoints/main/trans.ts:26
↓ 5 callers
Function
withoutChinese
(text)
userscripts.js:1660
↓ 4 callers
Function
buildKey
(message: string)
entrypoints/utils/cache.ts:7
↓ 4 callers
Function
detectlang
(origin: string)
entrypoints/utils/common.ts:18
↓ 4 callers
Function
generateHmacSignature
(key: string | ArrayBuffer, message: string)
entrypoints/service/tencent.ts:25
↓ 4 callers
Function
generateHmacSignature
(key: string | ArrayBuffer, message: string)
entrypoints/service/hunyuan-translation.ts:28
↓ 4 callers
Function
getMaxConcurrentTranslations
()
entrypoints/utils/translateQueue.ts:16
↓ 4 callers
Function
isEmpty
(node)
userscripts.js:1646
↓ 4 callers
Function
isSpecialContent
* 检查文本内容是否属于不应翻译的特殊内容 * 比如:URLs、邮箱地址、用户名、代码片段等
entrypoints/main/compat.ts:118
↓ 4 callers
Function
mountFloatingBall
(position?: 'left' | 'right')
entrypoints/utils/floatingBall.ts:17
↓ 4 callers
Function
unmountFloatingBall
()
entrypoints/utils/floatingBall.ts:201
↓ 4 callers
Function
updateContextMenus
(tabId: number)
entrypoints/background.ts:128
↓ 3 callers
Function
base64UrlSafe
(base64String)
userscripts.js:1461
↓ 3 callers
Function
base64UrlSafe
(base64String: string)
entrypoints/service/zhipu.ts:69
↓ 3 callers
Function
createFailedTip
(node, errorMsg, spinner)
userscripts.js:1529
↓ 3 callers
Function
getCenterPoint
(touches: TouchList, point: number)
entrypoints/utils/common.ts:40
↓ 3 callers
Function
grabNode
(node: any)
entrypoints/main/dom.ts:105
↓ 3 callers
Function
handleBilingualTranslation
(node: any, slide: boolean)
entrypoints/main/trans.ts:192
↓ 3 callers
Function
handleSingleTranslation
(node: any, slide: boolean)
entrypoints/main/trans.ts:229
↓ 3 callers
Function
handler
(mouseX, mouseY, time, noSkip = true)
userscripts.js:756
↓ 3 callers
Function
isNumericContent
* 检查文本是否为纯数字或标准数字格式 * * 识别以下数字格式: * 1. 整数 (例如: 12345, -123) * 2. 带千位分隔符的数字 (例如: 1,234,567) * 3. 数字范围 (例如: 1-100, 5~10) * 4. 小数 (例如: 3.14159) *
entrypoints/main/dom.ts:268
↓ 3 callers
Function
mountSelectionTranslator
()
entrypoints/utils/selectionTranslator.ts:12
↓ 3 callers
Function
saveConfig
* 保存配置到存储
entrypoints/utils/floatingBall.ts:191
↓ 3 callers
Function
throttle
(fn: (...args: any[]) => void, interval: number)
entrypoints/utils/common.ts:5
↓ 3 callers
Function
unmountSelectionTranslator
()
entrypoints/utils/selectionTranslator.ts:35
↓ 2 callers
Function
bilingualAppendChild
(node: any, text: string)
entrypoints/main/trans.ts:322
↓ 2 callers
Function
cancelAllTranslations
()
entrypoints/utils/translateApi.ts:103
↓ 2 callers
Function
createIconElement
(iconContent: string)
entrypoints/utils/icon.ts:105
↓ 2 callers
Function
createLoadingSpinner
(node, isCache)
userscripts.js:1606
↓ 2 callers
Function
createSvgIcon
(d)
userscripts.js:1581
↓ 2 callers
Function
delayRemoveCache
(key, time = 250)
userscripts.js:1522
↓ 2 callers
Function
findTranslatableParent
(node: any)
entrypoints/main/dom.ts:352
↓ 2 callers
Function
getConfiguredMouseHotkeyParts
()
entrypoints/content.ts:143
↓ 2 callers
Function
getMainDomain
(url: any)
entrypoints/main/compat.ts:66
↓ 2 callers
Function
grabAllNode
(rootNode: Node)
entrypoints/main/dom.ts:26
↓ 2 callers
Function
handleDOMUpdate
(node)
userscripts.js:1843
↓ 2 callers
Function
handleInputBoxTranslation
* 处理输入框翻译
entrypoints/content.ts:947
↓ 2 callers
Function
insertFailedTip
( node: HTMLElement, errMsg: string, spinner: HTMLElement )
entrypoints/utils/icon.ts:22
↓ 2 callers
Function
isChromeTranslationSupported
()
entrypoints/offscreen/main.ts:29
↓ 2 callers
Function
isConfigObjectValid
(obj: any)
entrypoints/utils/config.ts:8
↓ 2 callers
Function
isGitHubPathOrFileName
* 判断节点是否包含GitHub的路径或文件名
entrypoints/main/compat.ts:1038
↓ 2 callers
Function
isMachineTrans
(model)
userscripts.js:1490
↓ 2 callers
Function
isUserIdentifier
* 检查文本是否为用户标识符(用户名、ID等)
entrypoints/main/dom.ts:224
↓ 2 callers
Function
parseDateOrFalse
(dateString)
userscripts.js:1651
↓ 2 callers
Function
parseDfs
(node, respMap)
userscripts.js:1870
↓ 2 callers
Function
searchClassName
(node: Node, className: string)
entrypoints/utils/check.ts:86
↓ 2 callers
Function
setShortcut
(shortcut)
userscripts.js:1470
↓ 2 callers
Function
translate
(node)
userscripts.js:918
↓ 2 callers
Function
translateText
(origin: string, context: string = document.title, options: TranslateOptions = {})
entrypoints/utils/translateApi.ts:25
↓ 2 callers
Function
translationTask
(retryCount: number = 0)
entrypoints/utils/translateApi.ts:57
↓ 1 callers
Function
LLMStandardHTML
(node: any)
entrypoints/main/dom.ts:395
↓ 1 callers
Function
arrayBufferToHex
(buffer: ArrayBuffer)
entrypoints/service/tencent.ts:41
↓ 1 callers
Function
arrayBufferToHex
(buffer: ArrayBuffer)
entrypoints/service/hunyuan-translation.ts:44
↓ 1 callers
Function
autoTranslationEvent
()
entrypoints/content.ts:612
↓ 1 callers
Function
baiduDetectLang
(text)
userscripts.js:1495
↓ 1 callers
Function
beautyHTML
(text: string)
entrypoints/main/dom.ts:416
↓ 1 callers
Function
bilingualTranslate
(node: any, nodeOuterHTML: any)
entrypoints/main/trans.ts:254
↓ 1 callers
Function
checkAndRemoveStyle
(node: any, styleProperty: any)
entrypoints/main/dom.ts:450
↓ 1 callers
Function
checkConfig
()
entrypoints/utils/check.ts:6
↓ 1 callers
Function
checkMouseHotkey
()
entrypoints/content.ts:173
↓ 1 callers
Function
checkRun
(callback)
userscripts.js:1805
↓ 1 callers
Function
checkTextSize
(node: any)
entrypoints/main/dom.ts:174
↓ 1 callers
Function
claudeMsgTemplate
(origin: string)
entrypoints/utils/template.ts:68
↓ 1 callers
Function
clearTranslationQueue
()
entrypoints/utils/translateQueue.ts:77
↓ 1 callers
Function
cozeTemplate
(origin: string)
entrypoints/utils/template.ts:164
↓ 1 callers
Function
createHunyuanSignature
(requestPayload: string, timestamp: number, secretId: string, secretKey: string)
entrypoints/service/hunyuan-translation.ts:51
↓ 1 callers
Function
createRetrySvgIcon
()
userscripts.js:1571
↓ 1 callers
Function
createTencentSignature
(requestPayload: string, timestamp: number, secretId: string, secretKey: string)
entrypoints/service/tencent.ts:48
↓ 1 callers
Function
createWarnSvgIcon
()
userscripts.js:1576
↓ 1 callers
Function
deepseekMsgTemplate
(origin: string)
entrypoints/utils/template.ts:28
↓ 1 callers
Function
detectChildMeta
(parent)
userscripts.js:878
↓ 1 callers
Function
detectChildMeta
(parent: any)
entrypoints/main/dom.ts:381
↓ 1 callers
Function
detectLanguage
(text: string)
entrypoints/offscreen/main.ts:52
↓ 1 callers
Function
enqueueTranslation
(translationTask: () => Promise<T>)
entrypoints/utils/translateQueue.ts:25
↓ 1 callers
Function
ensureOffscreenDocument
()
entrypoints/service/chrome-translator.ts:52
↓ 1 callers
Function
geminiMsgTemplate
(origin: string)
entrypoints/utils/template.ts:56
↓ 1 callers
Function
generateDisplayName
* 生成快捷键显示名称 * @param modifiers 修饰键数组 * @param key 普通按键 * @returns 显示名称
entrypoints/utils/hotkey.ts:175
↓ 1 callers
Function
generateJWT
(secret, header, payload)
userscripts.js:1451
↓ 1 callers
Function
generateJWT
(secret: string, header: any, payload: any)
entrypoints/service/zhipu.ts:59
↓ 1 callers
Function
generateSign
(appKey: string, query: string, salt: string, curtime: string, appSecret: string)
entrypoints/service/youdao.ts:26
↓ 1 callers
Function
generateToken
(apiKey)
userscripts.js:1429
↓ 1 callers
Function
generateToken
(APIKey: string)
entrypoints/service/zhipu.ts:43
↓ 1 callers
Function
getConfiguredHotkeyParts
()
entrypoints/content.ts:448
↓ 1 callers
Function
getErrorMessage
(errMsg: string)
entrypoints/utils/icon.ts:87
↓ 1 callers
Function
getInputBoxText
* 获取输入框中的文本
entrypoints/content.ts:764
↓ 1 callers
Function
getQueueStatus
()
entrypoints/utils/translateQueue.ts:87
↓ 1 callers
Function
getSecret
()
entrypoints/service/yiyan.ts:39
↓ 1 callers
Function
getTextWithNode
(node)
userscripts.js:992
next →
1–100 of 258, ranked by callers