— Hi there, Im trying to debug a web page some one has sended me... but
— I cant see the code on the console, only the css and the HTML
— Thought on chrome I can see the code...
— Console doesnt display code, it is on debugger tab..
— You technically can...
document
.getElementsByTagName('script')
.forEach(elem =>
console.log(elem.textContent));
But you should use the other devtools tabs
Message permanent page
— Cors happens when you are trying to request from a different url than the one running .. if your serving using express .. just npm i cors .. and you should be fine
Message permanent page