https://github.com/realzzz1874/f12-forbidden
Prevent users from debugging web data.
https://github.com/realzzz1874/f12-forbidden
devtools f12 f12-forbidden
Last synced: about 1 year ago
JSON representation
Prevent users from debugging web data.
- Host: GitHub
- URL: https://github.com/realzzz1874/f12-forbidden
- Owner: Realzzz1874
- Created: 2023-03-28T09:45:07.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2023-04-14T11:13:03.000Z (about 3 years ago)
- Last Synced: 2025-03-09T19:16:54.783Z (over 1 year ago)
- Topics: devtools, f12, f12-forbidden
- Language: TypeScript
- Homepage:
- Size: 13.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# f12-forbidden
Prevent users from debugging web data.
## npm package
- add package
```bash
yarn add f12-forbidden
```
- use it
```javascript
// import f12Forbidden
import { f12Forbidden } from "f12-forbidden";
// then add the function to your app entry
f12Forbidden();
```
## see example
- get the repo
```bash
git clone https://github.com/Realzzz1874/f12-forbidden.git
cd f12-forbidden
yarn
yarn dev
```
- open link & open the browser devtool
- you can see the result now