sessions.Filter

The Filter object enables you to restrict the number of Session objects returned by a call to sessions.getRecentlyClosed().

Type

Values of this type are objects. They contain the following properties:

maxResultsOptional
number. The maximum number of results to return.

Browser compatibility

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxOperaFirefox for Android
Basic supportChrome Full support YesEdge No support NoFirefox Full support 52Opera Full support YesFirefox Android No support No

Legend

Full support  
Full support
No support  
No support

Examples

Acknowledgements

This API is based on Chromium's chrome.sessions API.

Microsoft Edge compatibility data is supplied by Microsoft Corporation and is included here under the Creative Commons Attribution 3.0 United States License.

Document Tags and Contributors

Contributors to this page: wbamberg
Last updated by: wbamberg,