FWIW, it is possible for a plugin like this to add javascript to pages that are protected by htmlscrubber. Just return a token in your preprocess hook, and then have a format hook that replaces the token with the javascript. --Joey

Thanks, That's good to know. I'll try to continue the development of this plugin later, for now I just needed it to work. :) It will most likely evolve as my page does too. --jaywalk