It might sound naive and all, but is there anything even remotely close to the php search engine for ajax-based websites?
The problem is that vanilla PHP doesn't understand how to parse JavaScript, generate a JavaScript environment, and interact with everything. To theoretically do this, you will have to extend PHP through the C API and link it to the JavaScript library. The magnitude of this is quite large, depending on how much resources you have.
Not automatic scanners, because they will need to understand javascript code and know what is going on.
, , ajax enabled script, .
, -, URL- , .
, : , , .
you can use phantomjs library to extract js.
https://github.com/ariya/phantomjs/blob/master/examples/waitfor.js