logoalt Hacker News

reddalotoday at 10:07 AM0 repliesview on HN

Just to be precise, onBlur is a JavaScript event for an item that loses its focus, visibilitychange is what you actually need to detect tab changing.