This is not possible with a browser, you either have to create a server to scrape off toggl -which is pretty hacky-, or look for a toggl API, which this might just be, and consume it as you need it.