WP Manifestindependent plugin directory
manifest / privacy / dom-obfuscator

DOM Obfuscator

Lightweight WordPress must-use plugin that adds random DOM classes on every page load to reduce structural fingerprinting.

★ 0stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/zaidmags-27/dom-obfuscator/archive/refs/heads/main.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

A lightweight WordPress must-use plugin that adds random CSS classes to the DOM on every page load. This helps reduce structural fingerprinting of landing pages while keeping the site fully functional.

Features

  • Adds a unique random class to the <body> tag
  • Adds additional random classes to many elements (divs, sections, headers, links, buttons, headings, etc.)
  • Does not remove or replace existing classes — your theme, CSS, and JavaScript continue to work
  • Safe with WooCommerce, Elementor, and most page builders
  • Extremely lightweight
  • Works as a must-use plugin (always active, no activation required)

Installation

  1. Download or clone this repository.
  2. Upload the dom-obfuscator.php file to:
    wp-content/mu-plugins/dom-obfuscator.php

    (Create the mu-plugins folder if it does not exist.)

  3. The plugin loads automatically. No activation is needed in the WordPress admin.

How to verify it is working

  1. Open your site in a browser.
  2. Right-click → View Page Source.
  3. Scroll to the bottom. You should see a `