+ Start a Discussion
TehNrdTehNrd 

How to detect Chat Widget in Visualforce page?

Is there a way to systematically check to see if the Chat Widget will be present in a Visualforce page?

 

I say "will be" present as the html elements are not present on load so you can't check to see if these elements exists on page load. Is there any JavaScript variable or salesforce.com provided method/merge field to determine if Chat is turned on?

 

Based on if this is present or not we need to modify our CSS so this widget doesn't cover our apps functionality.

 

Thanks,

Jason