22

On a windows machine, I can use Ctrl + Shift + F to find a phrase in the javascript rendered on a page using the "Sources" tab of Chrome developer tools.

However, if I use this keyboard combination on a Mac, the entire page becomes full screen. What is the analogous keyboard shortcut on a Mac to search javascript sources?

dangerChihuahua007
  • 20,299
  • 35
  • 117
  • 206
  • Possible duplicate of [How to search all loaded scripts in Chrome Developer Tools?](http://stackoverflow.com/questions/4145266/how-to-search-all-loaded-scripts-in-chrome-developer-tools). [Answer](http://stackoverflow.com/a/7970237/456814): "`Cmd + Option + F` on mac". –  Jul 10 '13 at 17:27
  • Cmd+Option+F gave me the text "Search" at the bottom of my screen but no visible way to search. If this happens to anyone else, the trick is you need to slide the bottom line up to reveal the actual search box. (This is probably obvious but it took me a long time to figure out.) – Ken Shirriff Dec 09 '22 at 03:43

3 Answers3

30

Looks like Cmd+Alt / Opt+F works.

Kjuly
  • 34,476
  • 22
  • 104
  • 118
Eric Schoeffler
  • 316
  • 3
  • 3
3

Have you tried Cmd+Shift+F? I don't have a Mac handy to test this on, but usually the Cmd key on a Mac replaces the Ctrl key in Windows hot keys.

Cory Gross
  • 36,833
  • 17
  • 68
  • 80
0

Check official Chrome Dev Tools documentation: https://developer.chrome.com/devtools/docs/shortcuts

Valera Grishin
  • 441
  • 3
  • 9