get_safe_area_insets
Read the CSS safe-area-inset values as seen by the page and check if env(safe-area-inset-*) is used in stylesheets to handle notched displays.
Instructions
Read the current CSS safe-area-inset values (top, right, bottom, left) as seen by the page. These are non-zero on notched iPhones when viewport-fit=cover is set. Also checks whether the page uses env(safe-area-inset-*) in its stylesheets.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||