3

I read some old questions about Live Edit in Safari. There was an option to set a breakpoint, double click on the line and edit the code. I am double clicking the code right now, but no luck. How can I edit the javascript code before it gets executed in Safari? Through extensions or in some other way?

Herr
  • 33
  • 4

1 Answers1

0

In safari, it is not possible to edit the javascript code as you do in other browsers (e.g. chrome). But you can modify the variable values using Developer Tools in safari (to open: ATL+CTRL+C or Command+Option+C on Mac). All you need to do is apply breakpoints at appropriate lines and modify the variables using console in Developer Tools.

Ajeet Shah
  • 18,551
  • 8
  • 57
  • 87