{"repo":"luizbizzio/siteguard","free":true,"listed":false,"github":"https://github.com/luizbizzio/siteguard","clone":"git clone https://github.com/luizbizzio/siteguard.git","description":"🛡️ A JavaScript utility that detects when developer tools are opened in web browsers. It blocks right-click actions, drag events, and certain keyboard shortcuts to enhance the protection of web content from unauthorized inspection or tampering.","language":"JavaScript","stars":24,"topics":["blocker","content-protection","copy","devtools","javascript","lock","security","website","prevent","detector"],"license":"Apache-2.0","category":"dev-tools","readme_excerpt":"SiteGuard 🛡️ Version: 1.0.0 Author: Luiz Bizzio License: Apache License Version 2.0 https://github.com/luizbizzio/siteguard Published: 2024-11-08 Overview 🚀 SiteGuard is a small client-side JavaScript deterrent. It is designed to discourage casual inspection, copying, and interaction with website content using browser-level restrictions. This project does not provide real security and should not be treated as a protection mechanism against bots, scrapers, or determined users. Demo 🕵️‍♂️ Live demo: https://siteguard.pages.dev/ This demo shows how the script behaves against casual actions (right click, selection, common shortcuts). Advanced users can still bypass it. What this is NOT - Not a security solution - Not bot protection - Not a WAF replacement - Not access control Browser-level restrictions 🌟 Restriction Description Status ------- ----------- ------ 📅 Dev Tools Detection Monitors for Developer Tools and clears content if detected. ✅ Active 🔍 Prevent Dragging Elements Disables dragging of elements to maintain content integrity. ✅ Active 🚧 Block Middle-click Disable Middle-click from opening new tabs and images. ✅ Active 🚫 Disable Right-Click Menu Prevents the context menu from appearing to reduce content theft. ✅ Active 🔒 Block Key Combinations Stops users from opening developer tools and the JavaScript console using shortcuts. ✅ Active 🛑 Prevent Text Selection Disables text selection on your web pages, making copying difficult. ✅ Active 🖨️ Hide Content Duri","default_branch":null,"files":null,"tree":[],"storefront":"/r/luizbizzio","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/luizbizzio/siteguard/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}