Skip to content

Commit d1478a9

Browse files
authored
add privacy warning to README.md
also minor edits
1 parent 259d7d4 commit d1478a9

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

README.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,17 @@ SPDX-License-Identifier: Apache-2.0
1717
Allows to render HTML files on git forges (like GitHub) in your browser,
1818
without cloning or downloading.
1919

20-
**NOTE**
21-
Freely hosted [CORS][CORS] (Cross-origin resource sharing) proxies -
20+
> [!warning]
21+
> Freely hosted [CORS][CORS] (Cross-origin resource sharing) proxies -
2222
like the ones used by this script -
23-
are a potential security risc!
23+
are a potential **security risk!**
24+
25+
> [!warning]
26+
> If a script stores sensitive data (as cookie, `localStorage`, etc...), then **other repos you open will also have access** to this data.
27+
>
28+
> How to avoid risk:
29+
> - Don't input sensitive data while previewing
30+
> - Clear all site data after previewing a repo
2431
2532
Currently supported git forges:
2633

0 commit comments

Comments
 (0)