D22642: Monitor entire document rather than the documentElement specifically
Kai Uwe Broulik
noreply at phabricator.kde.org
Mon Jul 22 13:11:14 BST 2019
broulik created this revision.
broulik added reviewers: Plasma, fvogt.
Herald added a project: Plasma.
Herald added a subscriber: plasma-devel.
broulik requested review of this revision.
REVISION SUMMARY
Calling `document.write` will replace the entire `documentElement` with a new one, effectively removing our mutation observers.
TEST PLAN
Together with D22641 <https://phabricator.kde.org/D22641> I can now successfully control that kaltura player thing heise uses, see the video on [1].
Normal website is still monitored correctly
[1] https://www.heise.de/newsticker/meldung/Star-Trek-Picard-Neuer-Trailer-mit-alten-Bekannten-4475986.html
REPOSITORY
R856 Plasma Browser Integration
REVISION DETAIL
https://phabricator.kde.org/D22642
AFFECTED FILES
extension/content-script.js
To: broulik, #plasma, fvogt
Cc: plasma-devel, LeGast00n, jraleigh, fbampaloukas, GB_2, ragreen, Pitel, ZrenBot, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20190722/ba16929c/attachment-0001.html>
More information about the Plasma-devel
mailing list