browser: New filters
I've been using these filters privately for a while and I think they are of interest to other users.
Also adds debug() in places where it wasn't, I'm not sure why (except for being in another file where debug wasn't declared or imported?).