p This page will explain how to limit the use of obfuscated JavaScript to specific domains. p When you convert a CSS file to an obfuscated JavaScript file using b^%app-name%$, you can specify domains in which the JavaScript is allowed to run. For example, if you specify b^www.aaa.com$ and b^www.bbb.com$ for the allowed domains, the obfuscated JavaScript file runs on b^www.aaa.com$ and b^www.bbb.com$ only. If the obfuscated JavaScript file is installed in any domains other than b^www.aaa.com$ and b^www.bbb.com$, it will not run and so the CSS will not be effective as if it was never installed in the first place. p To specify allowed domains, s Log in to the b^%app-name%$ admin panel if you haven't already done so. s Click the k^Allowed Domains$ pane (see below) to open the k^Allowed Domains$ dialog box. i allowed-domains-pane Allowed Domains pane s Enter the domains you want to allow in the k^Allowed Domains$ field. Put a domain per line. ( If you want to allow all domains, leave the box blank. ) i allowed-domains-field Allowed Domains field s Optionally, you can specify the URL of the webpage that you want to redirect visitors to when the obfuscated JavaScript file is not installed in one of the allowed domains. If you want to redirect visitors to a webpage, enter the URL in the k^Redirection on Non-Allowed Domains$ field. If you don't, leave it blank. i redirection-field Redirection on Non-Allowed Domains field s Click k^OK$ to save the changes. i click-ok-button Click OK p Now you have completed the settings of the allowed domains. From now on, every time you generate JavaScript by clicking k^Obfuscate$, the settings will be applied to the JavaScript code. tpl std