Question: Google logo hijack through javascript . Please provide the javascript code Reference: Each DOM node has an innerHTML property with the HTML of all its
Google logo hijack through javascript. Please provide the javascript code

Reference:

Each DOM node has an innerHTML property with the HTML of all its children: var pageNodedocument.getElementsByTagName ('body) [0] You can read out the HTML like this: console. log (pageNodeinnerHTML) ; Y ou can set innerHTML yourself to change the contents of the node pageNode.innerHTML "
I just changed the whole page!/p> You can also just add to the innerHTML instead of replace: pageNode.innerHTML"...just adding this bit at the end of the page
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
