(parentId)
| 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 防并发) |
no outgoing calls
no test coverage detected