Open OscarPalafox opened 1 year ago
Absolutely agreed -- I think we could do this quite simply by just storing time settings, and then when we inject the JS and CSS for showing or hiding things, we just ask the script to check those times in addition to checking the popup settings
But it would be super cool if this could be tied in with the Screen Time API -- so imagine that when you turn on a focus mode, then you also modify the YouTube appearance. I just don't know how to get started with that, unfortunately, as I also don't have much experience with Swift, which is why the app is mostly just built with standard JS, CSS, HTML
I don't have a lot of time in the coming week, but will try to look into it, the following week. Not super sure about the Screen Time API, it seems focus modes and Screen time don't seem to talk to each other
I've been loving the app so far, and it's been great in allowing me to use YouTube without distractions. Recently, I realized that it would be nice to sometimes be able to access some parts of YouTube, depending on the time of the day. This could potentially be done by simply accessing the settings every time, but it would be perfect if this could be done programmatically, i.e. with Shortcuts. It would be great if the settings could be added as actions (enable/disable) to the Shortcuts app. This way, a user can tie focus modes with being able to access some parts of YouTube. I'd be more than happy to help you with this, though I don't have much experience with Swift.