Re:How to detect DOM changes in CSS
by colinsidoti on Thursday November 15, 2012 @10:09PM
(#4792207)
Hmm, still seems kinda messy to rely on CSS.
Next thought, maybe you can override Google's open method with something like this: http://jsfiddle.net/Z3Ysq/
They may have been able to prevent this with a closure, but I think you could workaround everything. Watch out for scope issues, but I think there's a way to make this completely generalizable.
That being said, I agree that at some point, it might get too messy figuring this all out that your existing solution is best. Kudos for the clever concept.
Re:How to detect DOM changes in CSS
by OmarIsmail on Friday November 16, 2012 @06:42PM
(#4796454)
You look at Gmail's JS and tell me which function is the "open compose" :)
Someone who can do that would get hired pretty quickly!
Summary is that there are a lot more ways than clicking on the compose button to bring up a compose window.