Detect youtube video events with Chrome extension content script
问题 I'm writing a Chrome extension and I want to detect when a video starts/ends while a user is on youtube.com watching videos. The difference between my situation and other tutorials I've read is I'm not embedding my own youtube video on my own site, I just want to detect events off of the video the user is watching on youtube. Right now my manifest.json file has the following lines for content scripts: "content_scripts": [ { "matches": ["http://*/*","https://*/*"], "js": ["js/jquery.js", "js