Can you explain what it does?
Prints a glitched up text version of ‘powered by glitch’ in the console/
I don’t think is what OP meant by adding a header, as this has nothing to with headers. Headers are sent from a remote to a client, or from a client to a remote. Headers are considered meta information in a HTTP request, meaning that before the client or remote receives any body data they’ll do handshakes and exchange information such as headers.
Its info from the server used by your browser when you visit the site. However, they can also be used by humans to get info about a site.
Well, this would probably be a problem for Glitch because users may not want Glitch’s name to be on their projects and they would move to another service.
I don’t really see why having “Glitch” in the server headers is an issue. Many services and hosts add headers. Cloudflare adds headers and they have millions of customers.
I stole the idea from AdInPlay. If you go to mayank1234cmd.glitch.me on the console (ctrlShiftI) it shows it in colored
Edit 2: Added it in mayank1234cmd.glitch.me/glitchPowered.html
The Glitch header would be sent by their proxy, not injected to the projects source
Would still be injection. They are putting code in their code.
“Code Injections” by Glitch are nothing new. Glitch has a proxy infront of every project to prevent pings.
It’s not code injection, it’s proxying. The two topics are entirely different and cannot be compared up to one another.
The specific task of a reverse-proxy is forwarding the request of a client to a server, and send back the result. However the proxy is modyfing the returned headers, which is not considered injection it’s considered a man in the middle attack, however this is not an attack because it’s intended for their proxy.
Hence the “code-injections” in quotes.
Bump, this really needs to happen!
Bumping this thread again because this quite important.
Right now when a Glitch site is behind Cloudflare, there isn’t a way to verify it is on Glitch, which is a bit of an issue.
You can actually check if a project is a glitch project using this:
However, this only applies if the domain is proxied by Glitch. If a person decides to use their own reverse-proxy there is simply no way of knowing, because a custom reverse-proxy could just block the Glitch header anyway.
However, because of the few amount of people who have the ability to host their own reverse-proxy I still think it is worth it to add a custom Glitch header!
It appears not to be working, I’ll debug it and see what I can do on my end. Give me a few moments and I’ll get back to you.