0.1.0 • Published 3 years ago

dombserver v0.1.0

Weekly downloads
-
License
-
Repository
github
Last release
3 years ago

dombserver

React component to detect DOM modifications and renders users content (for example a warning) when detected.

This component could be used on sites where for example scammers do DOM modifications with victims computer to warn them.

This work is very much in progress and was mainly created to try out MutationObserver.

Example

Run the server with

npm start

See src/App.js

Building package

npm build

TODO

  • Handle DOM changes better (react hooks and/or filtering)
  • More options to component user what to track
  • Improve unnecessary rendering and DOM checks after modification detected