Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ZToolsCenter/ZTools
/ functions
Functions
1,419 in github.com/ZToolsCenter/ZTools
⨍
Functions
1,419
◇
Types & classes
332
Function
handleMainPushSelect
* 用户选择 mainPush 结果项 * @returns 是否需要进入插件界面
src/renderer/src/composables/useMainPushResults.ts:163
Method
handleSearchInput
(_event: Electron.IpcMainEvent, value: string)
src/main/core/detachedWindowManager.ts:408
Method
handleSendArrowKey
(_event: Electron.IpcMainEvent, keyEvent: any)
src/main/core/detachedWindowManager.ts:427
Method
handleShowPluginMenu
(_event: Electron.IpcMainEvent, menuItems: any[])
src/main/core/detachedWindowManager.ts:436
Method
handleTitlebarAction
(_event: Electron.IpcMainEvent, action: string)
src/main/core/detachedWindowManager.ts:368
Method
handleTitlebarDblClick
(_event: Electron.IpcMainEvent)
src/main/core/detachedWindowManager.ts:417
Function
handleUninstall
(emitFn: (options: PluginUninstallOptions) => void)
internal-plugins/setting/src/components/common/PluginDetail/usePluginDetail.ts:348
Method
hasParamKey
(key: string)
internal-plugins/setting/src/events/codeEvent/ZtoolsCodeEvent.ts:58
Function
hide
()
internal-plugins/setting/src/components/common/Toast/Toast.ts:109
Method
hideApp
* 隐藏指定应用程序 * @param appName 应用程序名称 * @returns 是否成功隐藏
src/main/utils/appleScriptHelper.ts:293
Function
highlightMatch
( text: string, matches?: MatchInfo[], matchType?: 'acronym' | 'name' | 'pinyin' | 'pinyinAbbr', query
src/renderer/src/utils/highlight.ts:17
Function
highlightSubstring
(text: string, query?: string)
src/renderer/src/utils/highlight.ts:246
Method
hover
* 鼠标悬停 * * 支持两种调用方式: * 1. hover(selector) - 在元素上悬停 * 2. hover(x, y) - 在坐标位置悬停(物理鼠标移动) * * @returns {ZBrowserClient} this
resources/zbrowser/client.js:368
Function
info
(message: string, duration = 3000)
internal-plugins/setting/src/components/common/Toast/Toast.ts:105
Method
init
(mainWindow: BrowserWindow)
src/main/appWatcher.ts:29
Method
init
* 初始化悬浮球管理器 * 从数据库加载配置,决定是否创建悬浮球
src/main/core/floatingBallManager.ts:26
Method
init
* 初始化服务配置,并在启用状态下自动启动。
src/main/core/mcpServer.ts:72
Method
init
()
src/main/core/translationManager.ts:80
Method
init
()
src/main/core/httpServer.ts:29
Method
init
* 初始化超级面板管理器
src/main/core/superPanelManager.ts:61
Method
init
* 初始化同步引擎
src/main/core/sync/syncEngine.ts:37
Method
init
(mainWindow: BrowserWindow)
src/main/managers/pluginManager.ts:414
Method
init
(mainWindow: BrowserWindow)
src/main/api/updater.ts:37
Method
init
( pluginManager: PluginManager, windowManager: typeof WindowManagerInstance, clipboardManager: typ
src/main/api/plugin/input.ts:20
Method
init
(pluginManager?: PluginManager)
src/main/api/plugin/http.ts:24
Method
init
(mainWindow: Electron.BrowserWindow, pluginManager: PluginManager)
src/main/api/plugin/ai.ts:85
Method
init
(pluginManager: PluginManager)
src/main/api/plugin/feature.ts:29
Method
init
(_mainWindow: Electron.BrowserWindow, pluginManager: PluginManager)
src/main/api/plugin/zbrowser.ts:25
Method
init
(mainWindow: Electron.BrowserWindow, pluginManager: PluginManager)
src/main/api/plugin/ui.ts:17
Method
init
* 初始化工具 API,并注册插件工具相关 IPC。
src/main/api/plugin/tools.ts:52
Method
init
()
src/main/api/plugin/clipboard.ts:10
Method
init
()
src/main/api/plugin/ffmpeg.ts:5
Method
init
* 初始化内置插件专用 API,并注册对应的 IPC 通道。
src/main/api/plugin/internal.ts:76
Method
init
(pluginManager: PluginManager)
src/main/api/plugin/toast.ts:447
Method
init
()
src/main/api/plugin/device.ts:13
Method
init
(mainWindow: Electron.BrowserWindow, pluginManager: PluginManager)
src/main/api/plugin/lifecycle.ts:13
Method
init
(mainWindow: Electron.BrowserWindow, pluginManager: PluginManager)
src/main/api/plugin/window.ts:16
Method
init
(mainWindow: Electron.BrowserWindow)
src/main/api/plugin/dialog.ts:11
Method
init
(mainWindow: Electron.BrowserWindow, pluginManager: PluginManager)
src/main/api/plugin/redirect.ts:14
Method
init
(clipboardManager: typeof ClipboardManager)
src/main/api/plugin/shell.ts:36
Method
init
(mainWindow: BrowserWindow)
src/main/api/plugin/screen.ts:23
Method
init
(mainWindow: Electron.BrowserWindow, pluginManager: PluginManager)
src/main/api/renderer/commands.ts:58
Method
init
()
src/main/api/renderer/webSearch.ts:29
Method
init
(mainWindow: Electron.BrowserWindow)
src/main/api/renderer/system.ts:19
Method
init
(mainWindow: Electron.BrowserWindow, pluginManager: PluginManager)
src/main/api/renderer/settings.ts:44
Method
init
(mainWindow: Electron.BrowserWindow)
src/main/api/renderer/window.ts:16
Method
init
(mainWindow: Electron.BrowserWindow)
src/main/api/renderer/localShortcuts.ts:32
Method
init
* 初始化 API
src/main/api/renderer/aiModels.ts:26
Method
init
(mainWindow: Electron.BrowserWindow, pluginManager: PluginManager)
src/main/api/renderer/plugins.ts:51
Method
init
()
src/main/api/renderer/systemSettings.ts:4
Method
init
()
src/main/api/shared/clipboard.ts:10
Method
init
(pluginManager: PluginManager)
src/main/api/shared/database.ts:18
Function
initializeData
()
src/renderer/src/stores/commandDataStore.ts:504
Method
input
* 输入文本(模拟输入法输入,不触发键盘按键事件) * * 支持两种调用方式: * 1. input(text) - 在当前焦点元素中输入文本 * 2. input(selector, text) - 先聚焦元素,再输入文本 * * @param {string}
resources/zbrowser/client.js:459
Method
input
* 输入文本(模拟输入法输入,不触发键盘按键事件) * * 使用 webContents.insertText() 模拟 IME 输入行为。 * 支持两种调用方式: * 1. input(text) - 在当前焦点元素中输入文本 * 2. input(selector,
src/main/core/zbrowser/zbrowserExecutor.ts:388
Function
ipcSend
(apiName, args)
resources/preload.js:30
Method
isActive
* 是否正在取色
src/main/core/native/index.ts:858
Method
isAppRunning
* 检查指定应用是否正在运行 * @param appName 应用程序名称 * @returns 是否正在运行
src/main/utils/appleScriptHelper.ts:252
Method
isEnabled
* 获取悬浮球是否启用
src/main/core/floatingBallManager.ts:397
Method
isInternalPluginCaller
* 检查调用者是否为内置插件 * @param event IPC 事件对象 * @returns 是否为内置插件调用
src/main/managers/pluginManager.ts:2006
Function
isMatchCommand
(cmd: unknown)
internal-plugins/setting/src/components/common/MatchCommandDetailDialog/MatchCommandDetailDialog.ts:76
Method
isMonitoring
* 是否正在监控
src/main/core/native/index.ts:181
Method
isMonitoring
* 是否正在监控
src/main/core/native/index.ts:287
Method
isMonitoring
* 是否正在监控
src/main/core/native/index.ts:662
Function
isPinned
* 检查指令是否已固定。
src/renderer/src/stores/commandDataStore.ts:1507
Function
isPinnedToSuperPanel
* 判断某个指令是否已固定到超级面板。
src/renderer/src/stores/commandDataStore.ts:241
Method
isRunning
()
src/main/core/httpServer.ts:111
Method
javascript
* 执行 JavaScript 代码 * * runner 会将 evaluate 回调序列化为 IIFE 字符串, * 返回 { data, error, message } 格式。
src/main/core/zbrowser/zbrowserExecutor.ts:290
Function
jumpFunctionPluginsSetting
(config: PluginsSettingJumpFunction)
internal-plugins/setting/src/views/PluginsSetting/PluginsSetting.ts:17
Function
jumpFunctionShortcutsSetting
(config: ShortcutsSettingJumpFunction)
internal-plugins/setting/src/views/ShortcutsSetting/ShortcutsSetting.ts:70
Function
launchApp
( appPath: string, confirmDialog?: ConfirmDialogOptions )
src/main/core/commandLauncher/linuxLauncher.ts:40
Function
launchApp
( appPath: string, confirmDialog?: ConfirmDialogOptions )
src/main/core/commandLauncher/macLauncher.ts:5
Function
launchApp
( appPath: string, confirmDialog?: ConfirmDialogOptions )
src/main/core/commandLauncher/windowsLauncher.ts:39
Method
listener
( details: Electron.OnBeforeSendHeadersListenerDetails, callback: (response: Electron.BeforeSe
src/main/api/plugin/http.ts:147
Function
loadSettings
()
src/renderer/src/stores/windowStore.ts:501
Method
mainWindow
()
src/main/api/renderer/plugins.ts:55
Method
markdown
* 将网页内容转换为 Markdown * * @param {string} [selector] - 要转换的元素选择器(可选,不传转换整个页面) * @returns {ZBrowserClient} this
resources/zbrowser/client.js:443
Method
markdown
* 将网页内容转换为 Markdown * * 使用 turndown 库将 HTML 转换为 Markdown。 * 先在页面上下文中获取 HTML 内容,再在 Node.js 端用 turndown 转换。 * * @param selector 要转换的元素选择器
src/main/core/zbrowser/zbrowserExecutor.ts:587
Function
mockDollarFn
()
src/main/utils/lanzou.ts:158
Method
mouseEvent
* 物理鼠标事件(通过 sendInputEvent 实现) * * 支持两种定位方式: * 1. 坐标模式: mouseEvent(eventType, x, y, button?) * 2. 选择器模式: mouseEvent(eventType, selector, b
src/main/core/zbrowser/zbrowserExecutor.ts:425
Method
mousedown
* 鼠标按下 * * 支持两种调用方式: * 1. mousedown(selector, mouseButton?) - 在元素上按下 * 2. mousedown(x, y, mouseButton?) - 在坐标位置按下(物理鼠标事件) * * @retur
resources/zbrowser/client.js:296
Method
mouseup
* 鼠标按键抬起 * * 支持两种调用方式: * 1. mouseup(selector, mouseButton?) - 在元素上抬起 * 2. mouseup(x, y, mouseButton?) - 在坐标位置抬起(物理鼠标事件) * * @returns
resources/zbrowser/client.js:320
Function
normalizeCommand
(cmd: MatchCommandDetailCommand | string)
internal-plugins/setting/src/components/common/MatchCommandDetailDialog/MatchCommandDetailDialog.ts:61
Function
openHomepage
()
internal-plugins/setting/src/components/common/PluginDetail/usePluginDetail.ts:431
Function
openMatchCommandDetail
( feature: MatchCommandFeature, cmd: MatchCommandDetailCommand )
internal-plugins/setting/src/components/common/MatchCommandDetailDialog/MatchCommandDetailDialog.ts:86
Method
pad
(n: number)
src/main/api/renderer/pluginInstaller.ts:598
Method
paste
* 执行粘贴操作(模拟 Command+V) * @returns 是否成功执行粘贴
src/main/utils/appleScriptHelper.ts:312
Method
paste
* 粘贴文本或图片到页面 * * 与 uTools 一致:使用 document.execCommand('paste'),而非模拟 Ctrl+V。 * * @param text 要粘贴的文本(或 base64 data URI 图片)。省略则粘贴当前剪贴板内容。
src/main/core/zbrowser/zbrowserExecutor.ts:366
Method
pdf
* 将页面导出为 PDF * * @param args [options?, savePath?] * @returns PDF 文件路径
src/main/core/zbrowser/zbrowserExecutor.ts:743
Function
pinCommand
(command: Command)
src/renderer/src/stores/commandDataStore.ts:1533
Method
pluginManager
()
src/main/api/renderer/plugins.ts:58
Function
poll
()
resources/zbrowser/runner.js:79
Method
postAttachment
* 存储附件(异步) * @param id 文档 ID * @param attachment 附件数据(Buffer 或 Uint8Array) * @param type MIME 类型 * @returns Promise<操作结果>
src/main/core/lmdb/promiseApi.ts:112
Method
press
* 模拟键盘按键 * * @param key 键名(DOM 键名或 Electron 键名) * @param modifiers 修饰键列表(shift / ctrl / alt / meta)
src/main/core/zbrowser/zbrowserExecutor.ts:317
Method
pushUniquePlugins
(pluginNames: string[])
src/main/api/renderer/pluginMarket.ts:356
Method
put
* 创建或更新文档(异步) * @param doc 文档对象,必须包含 _id * @returns Promise<操作结果>
src/main/core/lmdb/promiseApi.ts:16
Method
readInstalledPlugins
读取当前已安装插件列表
src/main/api/renderer/pluginInstaller.ts:55
Method
register
* 注册当前焦点的 DevTools 快捷键 * @param target 需要打开开发者工具的 WebContents
src/main/utils/devToolsShortcut.ts:32
Method
register
* 注册双击修饰键回调 * @param modifier 修饰键名称(如 "Command"、"Ctrl") * @param callback 双击时触发的回调
src/main/core/doubleTapManager.ts:53
Method
registerAppShortcut
* 注册应用快捷键
src/main/managers/windowManager.ts:1521
← previous
next →
1,201–1,300 of 1,419, ranked by callers