Files
reddit/r2
Matt Lee a6ee26f489 ads: Use visibilitychange event if supported.
For loading new ads, use visibilitychange event if supported (it generally is). This means that, in theory, a new ad should load in one of the following cases:

1. Active tab changes.
2. Browser is minimized then maximized.
3. Browser window is covered up then uncovered.
4. OS goes to sleep/is locked then woken up/unlocked.

This makes a lot more sense than the current trigger, which is just focus.
Unfortunately support for cases 2-4 is spotty, but almost all browsers support
case 1.
2015-04-06 14:46:20 -07:00
..
2015-01-08 13:35:03 -08:00
2015-01-08 13:35:03 -08:00
2015-01-08 13:35:03 -08:00
2015-03-31 14:56:19 -06:00
2015-01-08 13:35:03 -08:00