How to protect from CORS Proxy

With CORS Proxy we can bypass CORS restriction using CORS Proxy. Which can strip away X-Frame-Options and Same Origin restriction. This can impact Account compromise or click jacking.

Is there a way to protect both origin and front from CORS Proxy

  1. For origin i want it to be disabled to interact with any CORS Proxy

  2. For frontend i also want to disable CORS Proxy being injected in