Enter this snippet code in the URL input box javascript:document.body.contenteditable= ' true ';d ocument.designmode= ' on ';! Msnlda Note When copying and pasting into the URL input box, the code in this paragraph "JavaScript:" This sentence will disappear, need to manually input Baidu home For example, enter the URL https://www.baidu.com/ After the display content is like this when the above code we found that the page content can be changed, pay attention to manually type "JavaScript:" This sentence, this is selected Baidu logo image after the effect, when we knocked down the backspace can be removed from the icon, Of course, we can also replace this icon, is the effect of our replacement, replace only need to copy and paste the operation is so simple, you learned (feel this trick is very useful AH)
Java code modifies Web content (does not change background content)