This sample can be accessed from:
portal-server-URL/rewriter/HTML/jstokens/JStokens.html
Add the rule specified in this sample to the default_gateway_ruleset in the section "Rules for Rewriting JavaScript Source".
Edit the default_gateway_ruleset in the Rewriter service under the Portal Server Configuration in the Portal Server administration console.
Restart the Gateway from a terminal window:
./psadmin start-sra-instance –u amadmin – f <password file> –N <profile name>– t <gateway> |