/chrome-idle

Chrome extension to log user out after a period of inactivity

Primary LanguageJavaScriptApache License 2.0Apache-2.0

Chrome Idle

Logs user out of Chrome after a set period of inactivity.

Try it now

Quick Start

Install the extension from the above Web Store link. By default the extension will log you out of Chrome after 30 minutes of inactivity. Right click on the extension and choose Options to customize.

Known issues and limitations

  • Chrome OS is not supported. Admins can configure Chrome OS to lock on idle for managed users with Chrome policy.
  • A locked device (screensaver, sleep) is NOT considered idle. If your device locks quicker than this extension then this extension will do nothing. Some platforms do not require a password to wake from screensaver or sleep and this extension is not able to enforce this.
  • The attempt to log the user off is best effort and assumes the user is not actively trying to block logout. It's precautionary and not guaranteed. The extension can be easily defeated with:

Extension options

Right click on the extension lock icon and choose Options to configure:

  • Number of idle seconds before locking (range 15 - 1209600). 1,209,600 seconds is two weeks :-)
  • URL to open to trigger the user logout. https://accounts.google.com/Logout is the default and will log the user out of Google accounts.
  • Whether the new tab opened to the logout URL should take focus.

Admin force install

Workspace, Cloud Identity and GCP admins can force install the extension for their users.

  1. Manually install the extension in your user profile.
  2. Customize the extension options as you'd prefer.
  3. Once you're happy with your options, click "Download policy" and save the file locally.
  4. Force install the extension for your users.
  5. Set policy for the app by uploading the file you downloaded above.
  6. Consider using Context Aware Access or BeyondCorp Enterprise to enforce Chrome browser for users.