From MozillaZine Knowledge Base
Using the NoScript extension
In user.js, add the following lines:
The line with
user_pref("capability.policy.jsok.sites", "http://www.example.com http://www.example.net");
These examples were taken from the CAPS documentation.
You need to restart your browser after editing user.js, otherwise the changes will not take effect.