Getting started
load js
- from CDNhtml
<script src="https://cdn.jsdelivr.net/npm/u-spy"></script> - or make a bookmarklet or somejs
javascript: (() => {document.body.appendChild(document.createElement("script")).src = `https://cdn.jsdelivr.net/npm/u-spy`;})();
- from CDN
start intercepting
- on your consolejs
_spy.intercept("hello-world");
- on your console
..and just type on the page
- type
spyto see the spy log dialog. - type
styleto see the ad hoc style editor.
- type
use a specific version
for example, for v0.1.0 like below
html
<script src="https://cdn.jsdelivr.net/npm/u-spy@0.1.0"></script>