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:
OpenX provides a JSONP response based on the success or failure of the opt-out process:
- Opt-out successful:
- Opt-out fails: