Netflix: Click to Play/Pause

Play/Pause when clicking the video.

As of 2017-06-24. See the latest version.

// ==UserScript==
// @name         Netflix: Click to Play/Pause
// @description  Play/Pause when clicking the video.
// @author       Zren
// @icon         https://assets.nflxext.com/us/ffe/siteui/common/icons/nficon2015.ico
// @namespace    http://github.com/Zren
// @version      2
// @match        https://www.netflix.com/*
// @grant        none
// ==/UserScript==

window.addEventListener('click', function(e) {
	if (e.target.matches('.player-video-wrapper *')
        && document.querySelector('video').offsetWidth >= window.innerWidth // Don't pause when when returning to credits at the postplay screen.
    ) {
		document.querySelector('#netflix-player .player-control-bar .player-play-pause').click()
	}
})