Leetcode Timer

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

ئاپتورى
Utsav
بۈگۈن قاچىلانغىنى
0
جەمئىي قاچىلانغىنى
133
باھا نومۇرى
0 0 0
نەشرى
1.2
قۇرۇلغان ۋاقتى
2020-05-18
يېڭىلانغان ۋاقتى
2020-05-19
Size
2.4 KB
ئىجازەتنامىسى
يوق
قوللايدىغىنى

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.