Is it possible to get the source code of javascript used in a web page. I want the source of javascript with actual variables but not with values replacing the variables.
function fun() {
var x = '12938771293737123791738';
document.location = x;
}
Here in the above script, x value has been replaced by value “12938771293737123791738”. I want to see the java script source code without x value getting replaced. Can we get it.
If the javascript is being added dynamically to the page then you will not be able to get anything but what you see from the response without access to the local source code.