Effective Date: December 8, 2025
Last Updated: December 8, 2025
Thank you for using Fire Risk. We take your privacy seriously and are committed to being transparent about how we collect, use, and protect your information.
| // Drop this in the console and highlight all the elements with a defined z-index. | |
| // Helpful for debugging z-index issues. | |
| function highlightElementsWithZIndex() { | |
| const allElements = document.querySelectorAll('*'); | |
| allElements.forEach(element => { | |
| const zIndex = window.getComputedStyle(element).zIndex; | |
| // Check if z-index is explicitly set and is a valid number (not "auto") |
| // Available variables: | |
| // - Machine | |
| // - interpret | |
| // - assign | |
| // - send | |
| // - sendParent | |
| // - spawn | |
| // - raise | |
| // - actions | |
| // - XState (all XState exports) |
| // Available variables: | |
| // - Machine | |
| // - interpret | |
| // - assign | |
| // - send | |
| // - sendParent | |
| // - spawn | |
| // - raise | |
| // - actions |
| // Available variables: | |
| // - Machine | |
| // - interpret | |
| // - assign | |
| // - send | |
| // - sendParent | |
| // - spawn | |
| // - raise | |
| // - actions |
| <html lang="en"><head> | |
| <meta charset="UTF-8"> | |
| </head> | |
| <body translate="no"> | |
| <svg class="icon" aria-hidden="true" focusable="false"> | |
| <use href="https://gist.githubusercontent.com/jimmynotjim/7db36b6dd79703c0e79b6882fd327e26/raw/208b5a594f352a703a1178cae335a2d4deb8a5da/test.svg#payment-logo-JCB" xlink:href="https://gist.githubusercontent.com/jimmynotjim/7db36b6dd79703c0e79b6882fd327e26/raw/208b5a594f352a703a1178cae335a2d4deb8a5da/test.svg#payment-logo-JCB"></use> | |
| </svg> | |
| </body></html> |
Go to Settings > General > Accessibility. At the very end of this screen, choose the Accessibility Shortcut option. Choose the following items on the next screen:
Now, by quickly triple-tapping the Home button, you will be presented with a menu of these options to enable or disable. (Note: whenever VoiceOver is active, you have to first single-tap to select a menu item and then double-tap the item to actually choose it.)
using mocha/chai/sinon for node.js unit-tests? check out my utility: mocha-stirrer to easily reuse test components and mock require dependencies
| /** | |
| * Merge defaults with user options | |
| * @private | |
| * @param {Object} defaults Default settings | |
| * @param {Object} options User options | |
| * @returns {Object} Merged values of defaults and options | |
| */ | |
| var extend = function ( defaults, options ) { | |
| var extended = {}; | |
| var prop; |