Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8037939
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T03:04:25+00:00 2026-06-05T03:04:25+00:00

Chrome’s Developer Tools rock, but one thing they don’t seem to have (that I

  • 0

Chrome’s Developer Tools rock, but one thing they don’t seem to have (that I could find) is a way to find a JavaScript function’s definition. This would be super handy for me because I’m working on a site that includes many external JS files. Sure grep solves this but in the browser would be much better. I mean, the browser has to know this, so why not expose it? What I expected was something like:

  • Select ‘Inspect Element’ from page, which highlights the line in the Elements tab
  • Right-click the line and select ‘Go to function definition’
  • Correct script is loaded in the Scripts tab and it jumps to the function definition

First off, does this functionality exist and I’m just missing it?

And if it doesn’t, I’m guessing this would come from WebKit, but couldn’t find anything for Developer Tool feature requests or WebKit’s Bugzilla.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T03:04:26+00:00Added an answer on June 5, 2026 at 3:04 am

    Lets say we’re looking for function named foo:

    1. (open Chrome dev-tools),
    2. Windows: ctrl + shift + F, or macOS:
      cmd + optn + F. This opens a window for searching across all scripts.
    3. check “Regular expression” checkbox,
    4. search for foo\s*=\s*function (searches for foo = function with any number of spaces between those three tokens),
    5. press on a returned result.

    Another variant for function definition is function\s*foo\s*\( for function foo( with any number of spaces between those three tokens.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Chrome has its developer tools that times ajax latency, firefox has firebug, but what
Safari/Chrome Developer Tools indicate that a CSS rule is overridden by something else by
Chrome's developer tools are an excellent set of tools that I love to use.
In Chrome (I am using version 16.0.912.75 m on Win 7) I find that
In Chrome's developer tools, is it possible to delete a function and re-write it?
Chrome Developer Tools command console provides a handy command : copy() . From example,
Chrome Developer Tools define a convenient $ function (as well as a few other
Google Chrome doesn't seem to have this problem, I noticed this in Firefox. So
If Chrome and Safari are both based on WebKit, does that mean I don't
The Chrome debugger tells me that it found for example 42 occurrences of a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.