If you are tired to fill each day manually in visualtime.net/VTPortal/
, you can try this sript.
Did you miss to fill 1 week? Worry not! We are here to help you!
- In the browser, open the developer tools (usually
F12
keyboard shortcut). - Login into Visual Time with your user.
- Apply the
XHR
filter and click on the latest BE call. - The
yellow
elementschanges on each login
meanwhilegreen
are always the same.
Important: You should copy the token manually each time you log-in to the app.
- Download the script (
main.js
) or clone the repo. - Modify the
headers
var with your user info (remember,roAuth
androToken
changes on each login) usingHow to get the credentials
tutorial. - On the
browser console developer
(F12
ordeveloper tools
) paste the wholemain.js
content andpress enter
to load the code. - See
Commands for register the time
sections, you just can copy-paste the desired one and press enter. - Just wait until network does not do any request more.
- Check that all the time is registered.
// YEAR-MONTH-DAY
registerDay('2021-05-09);
Visual Time just will reject that petition and you will no have the sabe hour:minute
registered multiple times for that day.
Just re-launch the registerDay
for that day, it will not duplicate any hour.