Freeze the DOM instantly
Freeze DOM Extension
How to use:
- Step 0: Open DevTools Panel (F12 or Right Click -> select 'Inspect')
- Step 1: Right Click -> select 'Freeze DOM' or Press Cmd + Shift + Y (on Mac) / Cmd + Shift + Y (on Window, Ubuntu)
Source code for those who's curious: https://github.com/coolcorexix/freedom-on-demand
Right click on tab content and choose \"Freeze DOM\" (while devtool panel is open) to freeze the state of website on demand.
With a frozen DOM, you can:
- Inspect an UI part that only available while hovered / focused (for example: keeping the auto complete dropdown of a text input visible)
- Take a snapshot of an in-progress state (for example: loading state)
🔭 Explore more dev tools at: https://nemothecollector.dev/products
Note: The shortcut might be overridden by built-in settings of some browsers for example Arc and Microsoft Edge. To fix it:
- For Arc: go to arc://extensions/shortcuts and update the shortkeys
- For Microsoft Edge: follow this instruction https://www.webnots.com/how-to-assign-keyboard-shortcut-to-extension-in-microsoft-edge/
Read more
- Step 0: Open DevTools Panel (F12 or Right Click -> select 'Inspect')
- Step 1: Right Click -> select 'Freeze DOM' or Press Cmd + Shift + Y (on Mac) / Cmd + Shift + Y (on Window, Ubuntu)
Source code for those who's curious: https://github.com/coolcorexix/freedom-on-demand
Right click on tab content and choose \"Freeze DOM\" (while devtool panel is open) to freeze the state of website on demand.
With a frozen DOM, you can:
- Inspect an UI part that only available while hovered / focused (for example: keeping the auto complete dropdown of a text input visible)
- Take a snapshot of an in-progress state (for example: loading state)
🔭 Explore more dev tools at: https://nemothecollector.dev/products
Note: The shortcut might be overridden by built-in settings of some browsers for example Arc and Microsoft Edge. To fix it:
- For Arc: go to arc://extensions/shortcuts and update the shortkeys
- For Microsoft Edge: follow this instruction https://www.webnots.com/how-to-assign-keyboard-shortcut-to-extension-in-microsoft-edge/
Source Manifest.json
{"update_url": "https://clients2.google.com/service/update2/crx", "name": "Freeze DOM", "version": "1.0.1", "description": "Freeze the DOM instantly", "manifest_version": 3, "permissions": ["contextMenus", "scripting", "activeTab"], "commands": { "freeze-dom": { "suggested_key": "Ctrl+Shift+Y", "description": "Freeze the DOM instantly" } }, "icons": { "16": "icon16.png", "32": "icon32.png", "48": "icon48.png", "128": "icon128.png" }, "background": { "service_worker": "background.js" }}
Read more