gvm-overlay.js

Config-driven paywall demo

Prices and blocking rules come from a static JSON config — no data-gvm-* markup to write.

Each article below only marks its content with a single data-gvm-reference. Loading gvm-overlay.js (instead of gvm.js) turns on overlay mode; the config URL is derived from data-gvm-env="qa" + data-gvm-tenant.

Admin mode: append ?gvm_admin=1 to any article URL to open the in-page editor (paste the admin JWT when prompted) and edit the config. Config + editor are served from the qa environment. See README.md.