This should make it less invasive by not messing with the website DOM.
Details
Details
- Reviewers
davidedmundson fvogt - Group Reviewers
Plasma - Commits
- R856:b1ea6f2de39a: Use window.postMessage instead of creating a wrapper item
Still get album art, artist info, and callbacks on both Chrome and Firefox
Diff Detail
Diff Detail
- Repository
- R856 Plasma Browser Integration
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
extension/content-script.js | ||
---|---|---|
641 | Oops :) |
Comment Actions
Also do some more sanity checks on the input data.
Are those even necessary at that point? Considering that the referenced payload properties can still be literally anything and now even direct objects instead of just stuff converted to JSON and back.
extension/content-script.js | ||
---|---|---|
639 | Whitespace | |
641 | Yeah, let's keep it "family friendly" ;-) | |
660 | Whitespace |