My brief foray into making my youtube experience nicer.

Resources

Apple documentation

A nifty but outdated video showing how to setup an extension to inject JS

Adding the script to the manifest file

"autoPause_scripts": [{
        "js": [ "autoPause.js" ],
        "matches": [ "*://www.youtube.com/*" ]
    }],

Screen Shot 2022-01-20 at 5.51.14 AM.png


Adding

Screen Shot 2022-01-20 at 5.54.43 AM.png

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "<http://www.apple.com/DTDs/PropertyList-1.0.dtd>">
<plist version="1.0">
<dict>
	<key>Level</key>
	<string>Some</string>
	<key>Allowed Domains</key>
	<array>
		<string>www.youtube.com</string>
	</array>
</dict>
</plist>