Demonstration and results description
- Open any web page in your browser
- Open the Chrome DevTools console tab: Ctrl+Shift+J
- In the console type the following code and press Enter
document.body.innerHTML="this is now your new page" "this is now your new page"
- Your loaded page within the browser window should be replaced now with our custom string
- By running different JavaScript code you can change the behavior and content of your page
References
http://www.whatwg.org/specs/web-apps/current-work/multipage/
https://developers.google.com/chrome-developer-tools/
http://www.w3schools.com/js/js_htmldom_navigation.asp
No comments:
Post a Comment