4

Is the following possible with chrome developer tools?

While working on a remote site I would like to "map" some of its resources to my local files, so that when loading the site while devtools are open - it will use my local files instead of the network ones.

I tried mapping the file to workspace files but that doesn't work and produces a Workspace mismatch error.

YemSalat
  • 18,016
  • 13
  • 42
  • 51

2 Answers2

3

I don't think there exists a extension that servers your purpose for Chrome browser. AFAIK, Google has not exposed such low level APIs for developing such extensions for Google Chrome browser. You could use a tool like Fiddler to do intercept http traffic and serve your own local files using its Auto Responder feature.

Sai Dubbaka
  • 621
  • 7
  • 11
  • Thanks for the answer! Could you by any chance briefly explain the purpose of resource mappings in devtools? I read through the docs but I still don't understand what's the purpose beyond saving css changes to local files. – YemSalat Jul 02 '14 at 01:09
0

You also can find here some answers about how to modify HTTP response chrome extension - modifying HTTP response

Community
  • 1
  • 1
pymen
  • 4,609
  • 38
  • 30