erkserkserks / h264ify

A Chrome extension that makes YouTube stream H.264 videos instead of VP8/VP9 videos
MIT License
1.02k stars 114 forks source link

Fix h264ify thinking battery-only mode is always enabled #46

Closed uwx closed 6 years ago

uwx commented 6 years ago

h264ify looks for a boolean in localStorage when it is always either a string or undefined. "false" doesn't coerce to false, so it will act as if battery-only mode is always on.

erkserkserks commented 6 years ago

Thanks!