is there a way to save css/js changes of remote resource between page reloads or map remote resource to local in devtools?

前端 未结 10 2104
时光说笑
时光说笑 2020-12-06 09:50

I know about Workspaces recently introduced in DevTools but that is not that i need. For example: page uses jquery that is loaded from CDN, i modify jquery library code, pre

10条回答
  •  春和景丽
    2020-12-06 10:27

    See https://stackoverflow.com/a/31585725/52817:

    The Resource Override extension allows you to do exactly that:

    • create a file rule for the url you want to replace
    • edit the js/css/etc in the extension
    • reload as often as you want :)

    You can even add a tab to the dev tools.

提交回复
热议问题