+ Start a Discussion

Detect if in Console?

Is there a way to detect if the current page has been loaded via the Console?


I have a Visualforce page to override our current Case object, and had to do some custom code to display the Case Email related list (this does not render via <apex:relatedList />).


The Case Email related list will fire javascript to load emails in another frame of the console - I want to mimic this behaviour by detecting if the user is viewing the Case in the console, and either display a link to fire the javascript or a regular link.