JSON Request
You can implement the cookie-based opt-out mechanism through a request for a JSON response.
For example, if you request JSON for the following opt-out URL:
"http://d.example.com/privacy/optout"
OpenX provides a JSONP response based on the success or failure of the opt-out process:
- Opt-out successful:
{"optout":"success"}
- Opt-out fails:
{"optout":"failure"}