I am trying to figure out which javascript functions are changing specified html开发者_运维知识库 elements. I have a whole bunch of javascript functions and all that I have deduced is that with javascript disabled the elements style differently.
Be there a firefox plugin of sorts?
There might be tools that does it... One possible way is to commenting out the several lines in various function that you suspect that does it. You can use binary search to find it: 4 lines commented out. And if that fixes the problem you know it is one of these 4 lines, then now you can commented out only 2 of those lines, etc. Then you can find the line that does it in O(log n) time.
精彩评论