Warning.js
Tiny JavaScript library which promotes JavaScript-free browsing and warns users with JavaScript enabled browsers.
Install / Use
/learn @asciimoo/Warning.jsREADME
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
node-connect
346.8kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
107.6kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
346.8kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
346.8kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
