ChemPal Documentation - v1.18.0
    Preparing search index...

    Module helpers/permissions

    Permissions - Helpers

    hasHostPermissions

    Whether the extension may send requests to a set of hosts.

    hasNotificationPermission

    Whether ChemPal may show notifications.

    requestNotificationPermission

    Asks to show notifications. Call it directly in a click handler, before awaiting anything, or the browser refuses.