The full-scale tomato clock guide.
This page achieves the classic tomato rhythm of three fixed hours: work 25 minutes, short rest 5 minutes, long rest 15 minutes (in code) times.work/short/long The number of seconds. The main button is switched between "start / pause / continue" ; "Replace" will stop the watch and restore the full duration of the current mode. OnlyWorking ModeAt the end of the countdown, the "complete tomato" count will be added to 1. After closing, try playing embedded WAV beeps and pop up alert The case. It is appropriate to impose a focus on the subparagraphs without providing a self-defined statistical statement of minutes and history.
Control Description
- Mode label: Show "working hours / short rest / long rest".
- Large timer: by
mm:ssDisplays the number of seconds left. - "Start": Start
setInterval(a) 1 less per second; Runting buttons become "Pause". - Post-suspension: The button shows "go on" and move from the remaining time, not again at 2500.
- "Replace": clear interval.
timeLeftBack to the current mode, all long, buttons resume "start". - (a) Three bottom: point-to-point switching mode; Switch will stop and reload the mode for the duration.
- Finishing tomato: work mode zero only
count++; In the memory of that number, it is refreshed to zero.
Recommended use
- The first step is to write the round and do one thing, and then "work 25 cents" and "start."
- The blogger says that the police are not allowed to stop the police. The government has also been working on the issue of the "continue" of the project.
- After the job, "Rest!", the choice was "Five shorts" or "Fifty longs."
- After several consecutive tomatoes, the results are recorded in rough output (note that refreshing is lost) using the number of completions on the page.
- If a strict full-time counting of tomatoes is required, please record separately that the page does not last long.
Apply scene
- Force attention when writing codes, writing plans, changing documents
- Prepare for re-study and reduce continuous fatigue with short breaks
- Home office needs a visible countdown rhythm.
- 25 minutes to lower start-up costs when it's too late
Borders and restrictions
- The duration is fixed at 25/15/15, not entered in the custom minute.
- The sound may be intercepted by the browser ' s automatic play strategy; ♪ When failed by ♪
catchIgnored, but still there is an arr. - When the tab is in the back, some browsers will run the timers, which may be slightly off-counting.
- (a) The theme can be saved locally; Finishing the tomato count and not saving it.
- No task binding: The timer does not record what you are doing and needs to work with the to-do.
FAQ
Can we change it to 50 minutes?
The current version was not working, but only a three-tier set.
Did you finish accounting for tomatoes after a break?
No, I won't. Code judgement if (mode === "work") count++The rest mode ends with a hint for "go on to work!"
What difference does it make between pause and reset?
(b) To suspend the remaining period; Resets the full length of the mode and stops.
What happens to the switch?
The button goes back to "start" when it clears the running intelval, sets the rest of the time to a new mode.
Is there a sound normal?
Normal. Many browsers limit automatic play of audio without gestures; Please follow the bullet window hint or keep the page front desk and start by starting with a manual count.
Do you still have the count to run?
Not at all. Only memory variables exist for completion count, the page is refreshed to zero; The theme settings will only be written to localStorage.
Practical advice and common error zones
Closes the unconnected tab before the start of the round, and only keeps the current task material. If you pause more frequently, it means that the mission may be too large, to be taken down to a smaller step and open for 25 minutes. Long breaks are suitable for use after several consecutive jobs; Do not continue to return the news during the break and drag it into a “fake break”. When the sound is intercepted, please refer to the window case and do not think the procedure is not over. Backstage tabs may be used to save browsers, and key countdowns suggest keeping the front page.
How to match to-do, how to get used to it.
Tomato clocks do not record mission names. The more conservative way to do is to write the target of the current round and start 25 minutes and then to cut the corresponding to-do after it's over. If the target is “two tomatoes per day”, use the usual tracking or manual records, since the completion figures on this page are not updated.