Doge.Venci

Results 8 comments of Doge.Venci

How to close tab of chromedp After calling Visit() repeatedly, I found that the progress of multiple chromedp tabs was not closed Colly also has no manual Backend.Close() method

同求 ,node全栈的,放前端太卡

看utools的代码应该是调用了BrowserWindow.getNativeWindowHandle()拿到窗口句柄传给它的C++ Addons处理了

@muwoo electron应用打包后都在resources/app.asar 用asar解开就看到 有点代码被压缩混淆还是能看得懂的 。 另外utools插件也是asar打包的 electron可以直接读取asar里面文件

Windows 上用API Monitor看到utools的C++ Addons调用SetWindowHookEx来设置全局鼠标钩子了,Mac上也应该是比较底层的拦截鼠标事件方法,linux只能用中键调用超级面板,暂时没找到跨平台的开源库能拦截鼠标事件的,这个功能留到以后再说吧。

@muwoo iohook.disableClickPropagation() 可以拦截🤣