filter-js-from-html

Community

Sanitize HTML by removing JavaScript.

AuthorZurybr
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides guidance for safely removing JavaScript from HTML documents, preventing cross-site scripting (XSS) vulnerabilities while preserving the original structure and formatting.

Core Features & Use Cases

  • XSS Prevention: Identify and neutralize various JavaScript injection vectors within HTML.
  • Format Preservation: Ensure that the HTML structure, whitespace, and entities remain unchanged after filtering.
  • Use Case: When accepting user-generated HTML content for a forum or comment section, use this Skill's guidance to clean the input and prevent malicious scripts from executing.

Quick Start

Follow the recommended approach in the SKILL.md file to implement JavaScript filtering for HTML content.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: filter-js-from-html
Download link: https://github.com/Zurybr/lefarma-skills/archive/main.zip#filter-js-from-html

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.