The Portal Branding script is used in your online portal (Online Publications included) and the WebHelp output as well. You can modify the script so it will be executed only in the Web Help or vice versa - executed in your online portal only.
What you need to do is add a simple check to your Branding Script and then add all logic inside the if statement.
JavaScript |
var isWebHelp = !!document.querySelectior("body.WebHelp_body"); |