diff --git a/src/pluginManager.js b/src/pluginManager.js index 2c8d4393dd..56cdd29cd2 100644 --- a/src/pluginManager.js +++ b/src/pluginManager.js @@ -46,6 +46,11 @@ class PluginManager { })) } }) + + window.addEventListener('message', (event) => { + if (event.type === 'message' && this.inFocus === event.origin) { + } + }, false) } register (desc, content) { this.plugins[desc.title] = {content, origin: desc.url}