Guards browser from navigation / refresh of the currently inspected page. Activate by visiting devtools 'Refresh Guard' panel tab.

Latest Version

Version
1.0.1
Update
March 16, 2022
Size
12.85KiB
Developer
Category
Users
80
Rating
0 ★
Manifest Version
3
Web Store Status
Languages Support
English
See more
Permissions
See more

Chrome Refresh Guard Extension

Chrome Refresh Guard - Chrome Browser Extension

This chrome extension can guard against navigating away from the currently inspected window as well as block any attempt to refresh the current page. Activate the guard by inspecting the browser window (\"inspect element\") and visit the newly created Refresh Guard tab from the devtools window.

Notes:

- This guard will only apply to the current page / browser window being inspected.
- If you attempt to navigate or refresh, the browser will display a generic dialog popup.
- Select \"Leave\" or \"Refresh\" to disable the Refresh Guard and again allow all navigation and refresh to occur.
- Select \"Cancel\" to block the navigation or refresh, which will keep you on the current page.

This extension is very basic and works well for simple use cases, such as:

UI Development and making local, ephemeral modifications to the current window in chrome devtools
Don't like websites/ other extensions auto navigating you away in general

Roadmap to Somewhere:

- Enable from status bar button instead of only devtools tab (help wanted)
- Prevent popstate or SPA route changes that don't trigger a navigation (help wanted)
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "name": "Chrome Refresh Guard", "version": "1.0.1", "manifest_version": 3, "author": "kynetiv", "description": "Guards browser from navigation / refresh of the currently inspected page. Activate by visiting devtools 'Refresh Guard' panel tab.", "devtools_page": "devtoolsRefreshGuard.html", "icons": { "16": "refresh-guard16.png", "32": "refresh-guard32.png", "128": "refresh-guard128.png" }}
Read more

Similar Extensions