I was wondering, is it possible to change the attached stylesheet using JavaScript?
For example:
Another option is to toggle the disabled property of the link DOM element. According to Mozilla the disabled HTML attribute is non-standard, but the javascript property is. So if you're toggling it with JS you should be fine.
disabled