chill-out

What it does

After 6 seconds of inactivity (defined as the user not having navigated or switched away from the active tab) display a page action for that tab.

When the user clicks the page action, navigate to https://giphy.com/explore/cat.

The delay of 6 seconds is to make the extension’s behavior obvious, but such a short period is not recommended in practical applications. Note that in Chrome, alarms do not fire in under a minute. In Chrome:

What it shows

How to: