fvogt added a comment.

  In D23568#522065 <https://phabricator.kde.org/D23568#522065>, @broulik wrote:
  
  > 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 while the 
JavaScript contexts are different, events posted to `window` are visible from 
the content script.
  
  
  That does sound much nicer actually. Looking at the documentation it seems 
like that's intended as the main way for communication with extensions even.

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

Reply via email to