autonome / Dormancy

Firefox add-on that frees inactive tabs from memory, restoring their contents next time you access the tab.
47 stars 14 forks source link

Ignore audio tabs & simplify sleep check #25

Closed rugk closed 5 years ago

rugk commented 6 years ago

Fixes https://github.com/autonome/Dormancy/issues/21

I've also moved some checks into the query instead of checking it afterwards, as this looks much nicer and is the same line I needed to change. :smile:

rugk commented 5 years ago

Any news, @autonome?

autonome commented 5 years ago

Hrm, I had to do the active tab in a separate query, but I didn't document why.

But this looks good, thanks for doing it ! I'll merge this and do some testing before deploy.

rugk commented 5 years ago

Maybe because an older Firefox version did not include a …query function?