Inject JS via dns or similar?

Heya, do anyone know of a way to inject a snippet of js into a page I don't control, but own the dns for. I'd rather not proxy or get everyone to install a browser extention. Any ideas let me know. Thinking of something similar to what CF does with web analytics, where a bit of js is added to the page
3 Replies
Theis
TheisOP•12mo ago
that's what I thought, thanks for confirming 🙂
neuner
neuner•12mo ago
you can change the origin ip to something you control and add a rewrite, i.e with nginx
RocketMan🚀
RocketMan🚀•7mo ago
Looking for this as well anyway to inject a js on page thats being proxied by cloudflare

Did you find this page helpful?