C
C
Contego2013-12-26 20:55:52
JavaScript
Contego, 2013-12-26 20:55:52

How to edit JavaScript on the fly in Google Chrome?

Actually the problem: you need to change the JS code on the site page for yourself.
I tried to edit in Developer Tools (Ctrl + Shift + J) on the Elements tab, but, unlike HTML, the browser stubbornly executes the old script.
On the Sources tab, I found the necessary script, but it cannot be edited.
Help.
Chrome version: 31.0.1650.63

Answer the question

In order to leave comments, you need to log in

4 answer(s)
C
Contego, 2014-01-03
@Contego

The solution was to switch to the old Opera (v.12 15) and use the "Apply changes" button in the source code.

D
Dmitry Guketlev, 2013-12-26
@Yavanosta

Edit on the Sources tab and after editing press Ctrl+S. Scripts built right into the page will also be there (see the drop-down panel on the left)

I
Ilya Grom, 2013-12-26
@Gromobanan777

Maybe it will clear up here.
Firebug Lite for Google Chrome™ .
Excellent article from habr .

C
code_maniac, 2017-11-06
@code_maniac

If anyone ever needs it.
The chrome engine, it seems, should have flags for this business. I'm not sure what is relevant, but if it is, then one of the following flags (or both together) allows this:
--debug-packed-apps
--silent-debugger-extension-api
Or, if necessary, launch the browser with these flags every time , or just enable them once:
chrome://flags/#debug-packed-apps
chrome://flags/#silent-debugger-extension-api

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question