broulik added a comment.
What we could also do which I just realized is that we could send a `CustomEvent` to the `window` instead of using `postMessage` Basically what we did before except without a wrapper `div` as `window` seems to be the same in both content script and website. REPOSITORY R856 Plasma Browser Integration REVISION DETAIL https://phabricator.kde.org/D23568 To: broulik, #plasma, ognarb, fvogt, davidedmundson Cc: plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, fbampaloukas, GB_2, ragreen, Pitel, ZrenBot, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart