EDIT: Ignore this. It doesn't seem to work all the time anyway. Disable hardware acceleration in chrome instead.
TL;DR: If your screen gets a green tint when playing full screen videos. Resetting the mouse cursor size to 1 fixes it. The script below does that automatically for you.
When I play videos in fullscreen, I get some strange strange green tint over the video. A quick googling told me that simply resetting the cursor size to it's standard size should fix this. link
This does indeed work, even though my cursor size is always the default. But it only works temporarily...
Digging into the accessibility menu every time it happens is annoying, so I needed a script of some form. Thankfully the Stackoverflow user @Jw C showed me how its done! link
You can either save this file somewhere and make it executable (chmod +x fix_green_tint.js), or you can copy the body of the function directly into a Run JavaScript
block in an Automator app.
This can then easily be executed using Spotlight, making the fix very easy to perform!