aboutsummaryrefslogtreecommitdiffstats
path: root/background.js
diff options
context:
space:
mode:
authorTeddy Wing2020-05-05 01:53:04 +0200
committerTeddy Wing2020-05-05 02:39:32 +0200
commitc5eb7ee015af975d408d7814e34a3b8e2c963e75 (patch)
treeb96447e5c4228d03ef739021a8275c819d05a6b3 /background.js
parent28eec915a92226520a9e761e12b86b7f7e87ab98 (diff)
downloadnetflix-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