Skip to content

Commit ebd4abb

Browse files
authored
Update README.md
1 parent a25365b commit ebd4abb

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Briefly about the functions of HTML Guard:
3333

3434
## ✅ Configure
3535

36-
### ⚙️🔴 Safe style/script adding
36+
### ⚙️🔴 Safe style/script adding protection (recommend)
3737
Avoid using `<link>`. Dynamically load .css and .js files! This method makes it possible to bypass downloaders of sites such as [web2zip.com](https://web2zip.com/). Dynamic addition of site resources makes it impossible to copy them during static analysis.
3838
And in this case, when HTML Guard is removed from the dependencies, the contents of the web application will not be able to load for obvious reasons.
3939

@@ -56,6 +56,15 @@ And in this case, when HTML Guard is removed from the dependencies, the contents
5656
</script>
5757
```
5858

59+
### 🖼🔴 Dynamic attributes protection (recommend)
60+
61+
Add `_` before any attribute so that, `src` becomes `_src`. HTML Guard will automatically load this element
62+
63+
For example:
64+
```
65+
<img _src="image.jpg" />
66+
```
67+
5968
### 🔒✨ Block Dev-Tools (recommended)
6069
This function blocks any attempts to open developer tools and, if detected, reloads the page.
6170
```html

0 commit comments

Comments
 (0)