diff options
| author | Teddy Wing | 2020-05-05 01:53:04 +0200 |
|---|---|---|
| committer | Teddy Wing | 2020-05-05 02:39:32 +0200 |
| commit | c5eb7ee015af975d408d7814e34a3b8e2c963e75 (patch) | |
| tree | b96447e5c4228d03ef739021a8275c819d05a6b3 /background.js | |
| parent | 28eec915a92226520a9e761e12b86b7f7e87ab98 (diff) | |
| download | netflix-immersive-c5eb7ee015af975d408d7814e34a3b8e2c963e75.tar.bz2 | |
Try removing `postplay` class from player element
Use a `MutationObserver` to get an event when the Netflix player's class
attribute changes. Want to try removing the `.postplay` class, which
makes the player reduce to a small frame.
This doesn't currently work because when the player is reduced, a second
player element is added to the DOM, and my reference no longer
corresponds to the right player.
Looks like I'll need to try adding a mutation observer on child
elements, and watch for a new player element being added.
Diffstat (limited to 'background.js')
0 files changed, 0 insertions, 0 deletions
