I have a Visualforce page that can be displayed pretty much everywhere (tab in classic, console, lightning console, lightning experience).
I have some visualisation issues when using the lightning console when the user switch to another tab and then back again to my page. I can resolve this issue by running some code when the tab get focused. The thing is, I can't find an API that works for me.
I found this: https://developer.salesforce.com/docs/atlas.en-us.api_console.meta/api_console/sforce_api_console_events_tabfocused.htm But not sure even how to integrate it to my VF (the VF is not a lightning component).
Any help would be welcomed.