Leetcode Timer

Start a timer whenever a user loads a problem at Leetcode.com

Tekijä
Utsav
Päivittäiset asennukset
0
Asennuskerrat
133
Arvostelut
0 0 0
Versio
1.2
Luotu
18.5.2020
Päivitetty
19.5.2020
Size
2,42 kt
Lisenssi
N/A
Käytössä

Modify line number 17 to either var option = 1; or var option = 2;.
option = 1: The time starts from the moment you open a problem url and continues forever.
option = 2: The time starts from 0 every time you open a problem url and continues only till the window is open. Every time you reload the window the timer will restart from 0.