MCPcopy Create free account
hub / github.com/zxlie/FeHelper / _createSeparator

Function _createSeparator

apps/background/menu.js:234–240  ·  view source on GitHub ↗
(parentId)

Source from the content-addressed store, hash-verified

232 * @private
233 */
234 let _createSeparator = function (parentId) {
235 chrome.contextMenus.create({
236 id: 'fhm_s' + Math.ceil(Math.random()*10e9),
237 type: 'separator',
238 parentId: parentId || FeJson.contextMenuId
239 }, () => { chrome.runtime.lastError; });
240 };
241
242 /**
243 * 创建扩展专属的右键菜单(debounce 防并发)

Callers 2

_buildToolMenusFunction · 0.85
_buildSystemMenusFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected