Is there a way to detect when a user has left this tab?

Let’s say in a browser, I launch a bubble page. Then I open another tab (not bubble). Is there a way to detect that in bubble? And the event when I revert to the bubble tab?

1 Like

@qianiaoo I don’t think that whitin bubble. You can use toolkit plugin and use custom JS to get event or DOM actions. Toolbox Plugin | Bubble

document.getElementById("mylink").onclick = function(evnt) {
    if (
        evnt.ctrlKey || 
        evnt.shiftKey || 
        evnt.metaKey || // apple
        (evnt.button && evnt.button == 1) // middle click, >IE9 + everyone else

    return false;
1 Like

thank you!!