Simulates user activity on a webpage by refreshing the page to prevent it from logging out due to inactivity, with reset if user interacts
If you use Outlook Web App, your session might be logged out after a while of idle activity. This script will check if the device has been idle for > 15 minutes and if yes, it generates some fake activity to keep the session alive. If the user is actively using the device, then script won't do anything.