dave-elkan / crontabs

A cron-powered tab scheduling chrome extension
http://crontabs.org
Other
37 stars 5 forks source link

Enhancement request: allow close-only Action #8

Open victorel-petrovich opened 9 years ago

victorel-petrovich commented 9 years ago

First of all, thank you for this simple and very powerful extension! I found that I can actually use it as a website, and computer blocker, by setting crontabs to "show and reload" a particular tab every second in a period: useful for forcing one to go to bed on time! As, if one hides the icon, there's no way to remove/disable it as it does not allow even to visit the chrome-extension page!

Now, if only it could close a specified site, without it needing to open it first (the reverse of just opening a tab, which is currently possible). It then could act as a very customizable website blocker, on par with Stayfocust.

ghost commented 9 years ago

Currently crontabs can only close tabs it opens by design. So you're saying you want a rule which says "close facebook.com if later than 10pm"?

ghost commented 9 years ago

Or, only allow a facebook.com tab to remain open for n minutes.

victorel-petrovich commented 9 years ago

Yes, either first or second of the ways you suggested could be easily done with cron expressions (e.g, let it close it repeatedly every 1 or 2 sec, for the case I try to open facebook again, in a certain period), if crontabs could close a tab it did not open.