事件
app常用事件
其他的事件再官方文檔上查閱。
webContents常用事件
進程
問題1
Refused to execute inline event handler because it violates the following Content Security Policy directive: “script-src ‘self’”. Either the ‘unsafe-inline’ keyword, a hash (‘sha256-…’), or a nonce (‘nonce-…’) is required to enable inline execution.
可能會遇到這個問題。
參考:Chrome擴展頁面動態綁定JS事件提示錯誤
我們通過