3 ms·
You know that they might just be detecting onfocus/onblur instead, right? They aren't necessarily using the Page Visiblity API.
by TazeTSchnitzel 14y ago
You know that they might just be detecting onfocus/onblur instead, right? They aren't necessarily using the Page Visiblity API.
- pygy_ 14y agoBad memory. Now that you tell it I actually reverse engineered a page (script compiled with GWT, strings mangled, most of the script being one or two letter variables, often the same ones), to find out how they were doing it, and in that case, they were using document or window.onblur. I tried to overwrite the event handlers without success.