Skip to content

Gorghs/Inspect_locker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Inspect Locker

Inspect Locker saves a sanitized snapshot of the current page locally, so refresh shows the same locked state. It is built for Opera GX and other Chromium-based browsers.

Quick Start

  1. Open opera://extensions.
  2. Turn on Developer Mode.
  3. Click Load unpacked and choose this folder.
  4. Open any website, click the extension, and choose Lock This Page State.

Usage

  • Refresh the page to restore the locked snapshot.
  • Use Unlock & Reset in the popup to return to the live page.
  • Internal pages such as opera:// and chrome:// are not supported.

BEFORE -

  • image

AFTER -

  • image

What It Uses

  • storage to save the snapshot locally.
  • tabs and activeTab to target the current page.
  • scripting to capture and restore the DOM in Manifest V3.
  • chrome.* APIs for Chromium and Opera compatibility.

Project Files

  • manifest.json for the extension manifest.
  • background.js for the MV3 service worker.
  • content.js for snapshot capture and restore.
  • popup.html and popup.js for the lock/unlock UI.
  • quotes.js for popup quotes.

Contributing

Contributions are welcome. If you want to improve the extension:

  1. Fork the repo and create a feature branch.
  2. Keep changes focused and easy to review.
  3. Test the extension in Opera GX or another Chromium browser.
  4. Open a pull request with a clear description of the change.

Please avoid adding network calls, analytics, or remote storage unless the project direction changes.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors