tldr: Yes. It's in keeping with a key use case, and the downsides are not too great.
For:
A primary use case of the extension is to improve productivity by reducing distractions. This feature ties in well with this use case, as users might want to set certain hours of the day for work / study / etc. and others where they're free to do what they want. Software that shares characteristics often have time-based blocking, e.g. LeechBlock).
We could deprecate and remove this functionality later if it does become confusing to users or is a pain to maintain.
The code changes don't look too significant, and it's therefore not that much to maintain.
Against:
More functionality can confuse users as to the purpose of the extension. Additionally, it can confuse users and result in users misconfiguring the extension. We can mitigate this somewhat by ensuring the options menu is still clear.
Adding features results in increased code complexity and maintenance burden. We can mitigate this by ensuring the code is simple and in keeping with the existing logic.
Alternatives:
Directing users to manually enable and disable the extension. This is unsuitable as the point of the extension is to make it easy for users to control distractions automatically. Having to manually enable this is will make people less likely to use the extension and get value from it.
Encouraging users to use another tool to enable/disable the extension at particular times. After a very brief search, I was unable to find a solution to easily enable/disable extensions automatically in a scheduled way.
If work mode is enabled:
if work mode is disabled:
Added "work mode" ability to only hide thumbnails during a set timeframe. Disabled by default, default time frame from 9am-5pm.
Please check the updateElem function, because I overrode the main functionality and would be open to a better way.