Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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, press ctrl-s, reload page -> modifications are lost. Or i want to debug some site i don't have an ability to change files of.

I don't want only save changes as in save CSS - while browsing, how can I save the css files from inside chrome dev or firebug to local directory, i want them to persist between page reloads.

like image 590
vladimir Avatar asked Aug 06 '13 10:08

vladimir


1 Answers

You got most of it, but here's the slight change:

Make a change in the Styles pane (or in Sources), then click over to Sources, and when your modified file is open, hit ctrl-s.

Then you can right-click the asset in the Sources list and hit Save As... and save the new modified file to disk.

enter image description here

There is no way to save a modified remote file without persisting it to disk and expect it to be changed on reload.

like image 55
Paul Irish Avatar answered Oct 04 '22 20:10

Paul Irish