15 Minutes after the user first browses to any page on [url removed, login to view], the browser should prompt him to close all tabs on reddit.com. The effect would be a timeout, limiting users to 15 minutes of time spent browsing reddit, unless they indicate at the prompt that they would like 15 more.
I would like a ready-to-distribute firefox extension that I can submit to [url removed, login to view] and send to others.
It should prompt the user after a default timeout of 15 minutes into a reddit session. A session would be defined as starting when a tab first loads [url removed, login to view], and ending any time there are no tabs currently on reddit.com. The timeout can be changed to 5, 15, or 30 minutes through a submenu of the Tools menu.
Tools > Reddit Timeout > 5 minutes
> 15 minutes
> 30 minutes
If a session is ended by the user (tabs are closed/browsed away from reddit) before the timeout, the timeout should be canceled and they should not be prompted.
The prompt should read:
The jig is up! You've been redditing for __ minutes...
Press OK to close all reddit tabs, or cancel to go back in for another __ minutes.
where the blank is the timeout.
If they press OK, all tabs on [url removed, login to view] are closed. If they press cancel, the timeout is reset. If they close the tabs after choosing cancel, the session is ended and they should not be prompted until they start a new session by browsing back to reddit.
If the user changes the timeout during a session, the timeout should be reset to that time. ie. if a user starts redditing while the timer is set to 30 minutes, but changes it to 5 minutes, they should be prompted in 5 and not in 30.
Thanks, I know thats a bit of a read.