Open source

Open sourceLibraryWeb security

TamperGuard

A small open-source library that notices when a web page is changed in the browser.

github.com/ammar-saleh/tamperguard
TamperGuard noticing an edited price on a page.
Type
Open-source library
Runs
In the browser
License
MIT
Dependencies
None

(01) The idea

A price, a form, or a button can be edited in the browser by an injected script or an extension.

TamperGuard watches the parts you choose and reports when they change. It is a first warning sign, not a full security system.

(02) What it does

  • You choose what to watch

    A price, a form, a button. Only the parts that matter.

  • It reports edits

    A changed price or an injected script gets flagged.

  • Lock a part

    Guarded content can be locked against changes.

  • Warn the visitor

    A warning can be shown over a changed page.

  • Put it back

    The original content can be restored.

  • Styles too

    It catches style changes, not only text.

(03) Today

Free on GitHub. The recordings here are the real library running in a browser.

See it on GitHub