A remote site can use the JavaScript 'setInterval' function to calculate the amount of time that Torbutton is toggled if the state is changed while the tab is still open and then toggled back.
Such a sequence would appear as: