Home > Web Front-end > JS Tutorial > body text

Make your website editable and implement js code_javascript skills

WBOY
Release: 2016-05-16 18:44:21
Original
1273 people have browsed it

It’s very simple

1. Open the website you want to hack,
2. Enter in the address bar of the browser:

Copy code The code is as follows:

javascript:document.body.contentEditable='true'; document.designMode='on'; void 0

3. Now you will find that his page can be modified freely by you! !
4. After modifying it according to your own intention, enter in the address bar:
Copy the code The code is as follows:

javascript:document.body.contentEditable='false'; void 0

Okay, take a screenshot and "hack" the other party's website~~

Hehe, it’s harmless. It can be used to scare people, which is much more convenient than saving HTML
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template