Title: Cookie
Last modified: August 21, 2016

---

# Cookie

 *  Resolved [Joehann](https://wordpress.org/support/users/joehann/)
 * (@joehann)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/cookie/)
 * Hello!
 * I use your beautiful, fantastic Plugin as a Stylesheet Switcher. I have adjust
   everything, just one thing is missing: How can I prohibit the plugin from making
   a cookie?
 * I want the plugin to be used only on my homepage, not on the whole website. And
   everything should get back to default, when going to another page or refreshing
   the homepage. How can I achieve that?
 * Thanks for this great plugin!
 * Kind Regards
    Joe
 * [http://wordpress.org/plugins/wp-accessibility/](http://wordpress.org/plugins/wp-accessibility/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [Joe Dolson](https://wordpress.org/support/users/joedolson/)
 * (@joedolson)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/cookie/#post-4281435)
 * Well, I don’t pretend to follow why you’d want to do that; but I assume you have
   a good reason.
 * The function that creates the cookie is in toolbar/js/a11y.js. The simplest thing
   to do is to change the function so that it doesn’t create a cookie.
 *  Thread Starter [Joehann](https://wordpress.org/support/users/joehann/)
 * (@joehann)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/cookie/#post-4281476)
 * Thank you, Joe! Can you tell me what I have to do in this file? I’m using the“
   a11y.css” as the additional/alternative stylesheet and in there only the class“.
   fontsize” for changing my content-look.
 *  Plugin Author [Joe Dolson](https://wordpress.org/support/users/joedolson/)
 * (@joedolson)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/cookie/#post-4281514)
 * You can’t affect this by editing the CSS; you need to edit the JS file. You just
   need to edit the createCookie function so that it doesn’t create a cookie; such
   as by commenting out that part of the function.
 *  Thread Starter [Joehann](https://wordpress.org/support/users/joehann/)
 * (@joehann)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/cookie/#post-4281524)
 * Thank you, Joe! I solved the problem!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Cookie’ is closed to new replies.

 * ![](https://ps.w.org/wp-accessibility/assets/icon-256x256.png?rev=1097582)
 * [WP Accessibility](https://wordpress.org/plugins/wp-accessibility/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-accessibility/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-accessibility/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-accessibility/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-accessibility/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-accessibility/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Joehann](https://wordpress.org/support/users/joehann/)
 * Last activity: [12 years, 7 months ago](https://wordpress.org/support/topic/cookie/#post-4281524)
 * Status: resolved