User blog comment:Sprinklemist/Proposition for Protection/@comment-26686429-20100613141436

My test is complete. As a workaround to this problem, a non-admin can make a page in your userspace with the ending .js, and put the code that you would like to be editable there, then put it in the page they want protected as a template. The user can edit their own .js page, and an admin can too, but nobody else can, and their page can be safely admin protected. (I hope this makes sense, see user:randomtime/sandbox for an example.