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

  • Home
  • SEARCH
  • 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 6114305
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T14:57:33+00:00 2026-05-23T14:57:33+00:00

I am debugging some 3rd party app and I would like to dynamically reload/replace

  • 0

I am debugging some 3rd party app and I would like to dynamically reload/replace some of the content of the tags, however by inspection properties like innerHTML are not set and I can’t see anything from the javascript developer console that would suggest a property of method to get the javascript content.
The file is dynamic so re-downloading the file it not suitable in this case.

There are some other questions on SO which address this problem with no good answer for me, for example it is suggested to pull the content again using an XMLHttpRequest or some jQuery. However this is not suitable for my purpose.

How can I get the content of the file specified as the 'src' of a <script> tag?

However I can see that google chrome can inspect the loaded source content of the script tag in the developer console, here is a screenshot;
source inspection

Any idea how it is done? I am happy to use the google chrome devtools, or some platform/browser specific extension as I am just using this for debugging.

I presume it is accessing some local cache of the downloaded src, but I would also expect that cache file or value is inspect-able from google chrome somehow…?

  • 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-05-23T14:57:34+00:00Added an answer on May 23, 2026 at 2:57 pm

    DevTools are deeply integrated into the browser and do that with help of C++ code in WebCore. In your case DevTools just be notified when browser makes a request, receive the response, receive the data etc.

    Chrome DevTools AKA Safari Web Inspector has two parts.
    Backend (~26kloc of C++ code) and Frontend (55kloc of js code).

    You can see the API between WebCore and DevTools bakend at InspectorInstrumentation.h.

    Also there is an API between Backend part of DevTools and Frontend part of DevTools.
    It is described in Inspector.json. You can use this API and write your own Frontend or implement an extension which does something with help of DevTools backend.

    The docs at the project’s documentation page.
    The latest video about the project at Google IO 2011.

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

Sidebar

Related Questions

I am debugging some code, and would like to throw an error without actually
As the question explains: I would like to add some debugging code that only
When debugging some php scripts it would be very handy if I had a
In Eclipse (Ganymede) I'm debugging some code that uses Apache Commons HttpClient and would
I would appreciate help debugging some strange behavior by a multiset container. Occasionally, the
I want to display some custom graphics on top of a 3rd party fullscreen
I've been debugging some app lately with valgrind, and I'm getting very weird reports
There are some nice debugging tools available for windows like Process Explorer Process Monitor
While debugging some code I got something like below: #include<stdio.h> int main() { FILE
I am using a 3rd party WinForms Login Dialog in my WPF app, and

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.