Giter VIP home page Giter VIP logo

no-console.js's Introduction

no-console.js

Javascript dev-tools blocker and page source protector.

https://cdn.jsdelivr.net/gh/Rednexie/rednexie.github.io@main/cdn/noconsole.js

Functionality

No-Console.js is used for blocking people from accessing:

  • Developer Tools, [ F12 ]
  • Javascript Console, [ CTRL + SHIFT + J ]
  • Inspect Elements, [ CTRL + SHIFT + I ]
  • View Page Source, [ CTRL + U ]
  • Save Page Source, [ CTRL+ S ]
  • Context Menu; [ Right Click]
  • Firefox Inspect Element [ CTRL + SHIFT + C ]
  • Firefox Javascript Console [ CTRL + SHIFT + K ]

as well as logging the user ip and the event description with discord webhook API.

no-console.js has an option to auto disable:

  • Autocorrect functionality in Javascript Console.
  • Document Design Mode
  • Javascript Console Output.

Usage

The constant WebhookURL is your discord webhook api url.

Don't forget to add your webhook url, or change the constant log to false. This disables webhook api log feature.

If you don't want to block the actions, only log them, change the constant block to false. This disables the blocking feauture.

If you want to let your clients use context menu, change the constant rightclick to false. This enables context menu back.

Possible Updates:

  • Detection of open dev tools (document unfocus).

If you don't want to disable autocorrect and design mode, change the constant disable to false.

The constant delay indicates the delay between clearing the console. It is defaulted to 100 milliseconds.

no-console.js's People

Contributors

rednexie avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

no-console.js's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.