0

There is a web page that loads multiple javascript files.

And I want to search for a string for in all files like a grep.

Of course I can grep them if I download all the files, but I'd rather search them using development tools in a web browser.

Is there a easy way to search all javascript files that are loaded by a web page for a string?

John Wu
  • 50,556
  • 8
  • 44
  • 80
ironsand
  • 14,329
  • 17
  • 83
  • 176
  • Is your question about searching js code in developer tools? - in firefox you could in the debug tab (developer version 52 they've changed the debug tab to be less useful in this regard) - not sure about other browsers - which browser are you working with? – Jaromanda X Dec 19 '16 at 23:53
  • 1
    See http://stackoverflow.com/q/37685351/5749914 – Elliott Beach Dec 19 '16 at 23:58
  • 2
    in chrome, open dev tools, click sources tab, hit ctrl+shift+f, type string you want to search and hit enter, boom. – Zeb Rawnsley Dec 20 '16 at 00:03

0 Answers0