How to Use ?
// import hideJs
import { hideJs } from "./hideJs.mjs"
const module = new hideJs();
- Hide Context Menu
...
module.hideContext();
- Hide Source (ctrl + U)
...
module.hideSource();
- Hide Console (ctrl + J or ctrl + I)
...
module.hideConsole();
- Hide Elements (ctrl + C)
...
module.hideElements();
- Hide DevTool
note: if you call this function you don't need to call module.hideSource();
, module.hideConsole();
and module.hideElements();
module.hideDevTool();
- Disable Image Dragging
...
module.hideImageDrag();
- Disable Select
...
module.disableSelectAll();
- Disable All
...
module.Neutral();
- Disable Page Download (ctrl + s)
module.disableDownloadPage();
Custom (Beta)
import { hideJs } from "./hideJs.mjs"
const module = new hideJs();
module.disable([
"context", // disable context menu
"source",
"console",
"elements",
"dev_tool",
"image_drag",
"select",
"all" // disable all
])