Greasy Fork is available in English.

Netflix: Click to Play/Pause

Play/Pause when clicking the video.

질문, 리뷰하거나, 이 스크립트를 신고하세요.
// ==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      5
// @match        https://www.netflix.com/*
// @grant        none
// ==/UserScript==

window.addEventListener('click', function(e) {
    console.log('click', e.target)
	if (e.target.matches('.nf-player-container *')
        && !e.target.matches('.PlayerControls--main-controls *')
        && !e.target.matches('.skip-credits *')
        && document.querySelector('video').offsetWidth >= window.innerWidth // Don't pause when when returning to credits at the postplay screen.
    ) {
        var button = document.querySelector('.button-nfplayerPause') || document.querySelector('.button-nfplayerPlay')
		button.click()
	}
})