Leetcode Timer

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

Autor
Utsav
Instalações hoje
0
Total de instalações
133
Avaliações
0 0 0
Versão
1.2
Criado
18/05/2020
Atualizado
19/05/2020
Tamanho
2,42 KB
Licença
N/A
Aplicável a

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.