Is it possible to edit the JavaScript code of a webpage using Google Chrome's Inspect Element?
For example, if I open a simple webpage, open Inspect Element, and change things like text inside paragraphs and headings, the changes are immediately reflected on the webpage and stay as long as I don't reload the page.
Similarly, I tried to do some changes to the JavaScript code (Really simple code that does not connect to any server), but the changes did not take effect (What I did was edit the function a button activated so it did document.write() instead of displaying text in a blank paragraph element) I'm fairly sure this is possible to do, and I'm missing out on something.
I am fully aware I can just save the webpage and do whatever I want with it's code, but I'm just seeing if I can do it this way as well.