SkillAgentSearch skills...

Warning.js

Tiny JavaScript library which promotes JavaScript-free browsing and warns users with JavaScript enabled browsers.

Install / Use

/learn @asciimoo/Warning.js
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

<img src="docs/images/warningjs_logo.png" alt="Warning.js Logo" height="200">

Warning.js

Warning.js is a tiny JavaScript library which promotes JavaScript-free browsing and warns users with JavaScript enabled browsers.

This project was inspired by all the <noscript> tags asking us to enable JavaScript.

Installation & Usage

Simply download warning.js from the repo and include it in your project's HTML code:

<script type="text/javascript" src="warning.js" charset="utf-8"></script>

Demo

Motivation

Warning.js aims to raise awareness about the possible harms of using JavaScript.

JavaScript is the biggest threat to the security and privacy of users. JavaScript enables devastating security exploits and most invasive tracking of our browsing behaviour. Our best weapon against most of these attacks and tracking is turning JavaScript off and to demand sites to provide functional alternatives not requiring JavaScript - also called graceful degradation. Most sites don't respect their users security/privacy and require their users to enable JavaScript, we want to show that it is not necessary and that requiring JavaScript is not in the interest of the users - it is really only the interest of the websites. Deploying warning.js demonstrates proudly that it is possible and respectful towards the visitors to not require JavaScript.

Recommended Tools

  • For Firefox: http://noscript.org/
  • For Chrome/Chromium: https://chrome.google.com/webstore/detail/quick-javascript-switcher/geddoclleiomckbhadiaipdggiiccfje
  • For Safari: http://jsblocker.toggleable.com/

Related Articles & Projects

  • http://www.insanitybit.com/2013/06/16/why-you-should-use-noscript/
  • https://github.com/IAIK/rowhammerjs
  • https://www.makeuseof.com/tag/3-ways-javascript-can-used-breach-privacy-security/

Related Skills

View on GitHub
GitHub Stars26
CategoryDevelopment
Updated6mo ago
Forks7

Languages

JavaScript

Security Score

82/100

Audited on Sep 30, 2025

No findings