I was just wondering about the feasibility of a program that detects when a flash video is playing an advertisement and then mutes the computer until the end of the advertisement. Ideally it would play some music and darken the screen too.
Is this possible? It seems that if its possible to do the detection, the other stuff would be possible.
Does anyone know what language would be best to do such a thing in? I mostly program in php but can do some java too. Is java capable of it? I'm assuming so, but I dont know how.