i.e. what about ajax calls that result in a new div showing?
or a responsive CSS file with media queries depending upon the size of the screen?
i.e. what about ajax calls that result in a new div showing?
or a responsive CSS file with media queries depending upon the size of the screen?
[] You feed in all URLs at once;
`urls = ["/", "/sign_up/", "/about/",]`
[] It pre-proccesses also JS files and tries to match CSS selectors as well. That would work for jQuery and Zepto!
`$("#foo").html($("<span>").addClass("bar"))`
Edit: Okay, that won't work for `addClass`! :)
And PHP etc is too dynamic.
Personally I think the 'best' option is a program which 'records' you using the site, and as a Dev I could use my site for like 30mins, touching each point of key functionality. Then at the end, review what sections of CSS were never used, and pick and choose what to discard based upon that (i.e. I can manually then check for fringe cases I might know of).