Random Element Spacer

Randomly adds spacing to random elements on a page

Dovrai installare un'estensione come Tampermonkey, Greasemonkey o Violentmonkey per installare questo script.

You will need to install an extension such as Tampermonkey to install this script.

Dovrai installare un'estensione come Tampermonkey o Violentmonkey per installare questo script.

Dovrai installare un'estensione come Tampermonkey o Userscripts per installare questo script.

Dovrai installare un'estensione come ad esempio Tampermonkey per installare questo script.

Dovrai installare un gestore di script utente per installare questo script.

(Ho già un gestore di script utente, lasciamelo installare!)

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

(Ho già un gestore di stile utente, lasciamelo installare!)

Autore
3n3a
Installazioni giornaliere
0
Installazioni totali
1
Valutazione
0 0 0
Versione
2025-11-23
Creato il
23/11/2025
Aggiornato il
23/11/2025
Dimensione
2,15 KB
Licenza
Non disponibile
Applica a
Tutti i siti

Random Element Spacer - Userscript

A chaotic userscript that randomly adds spacing to elements on any webpage, creating unpredictable layouts.

Features

  • Random Element Selection - Automatically selects 5-30% of all page elements randomly
  • Random Spacing - Applies 0-6.9px of margin or padding to random sides of selected elements
  • Unpredictable Results - Each page load produces different spacing patterns
  • ES5 Compatible - Works on older browsers and environments
  • Universal - Runs on all HTTPS websites

Installation

  1. Install a userscript manager extension:

  2. Click on the userscript manager icon in your browser

  3. Select "Create a new script"

  4. Copy and paste the entire userscript code

  5. Save the script (Ctrl+S or Cmd+S)

How It Works

  1. The script loads automatically on any HTTPS page
  2. It collects all elements from the page
  3. Randomly determines how many elements to modify (5-30% of total)
  4. For each selected element:
    • Randomly chooses margin or padding
    • Randomly applies 0-6.9px spacing to random sides (top, right, bottom, left)
  5. Logs the number of modified elements to the browser console

Usage

Simply browse any HTTPS website after installing the script. The spacing will be applied automatically on page load.

To see how many elements were modified, open your browser's developer console (F12) and look for the log message.

Compatibility

  • ES5 JavaScript (compatible with older browsers)
  • Works on all HTTPS websites
  • Requires a userscript manager extension

Disabling

To temporarily disable:

  • Click your userscript manager icon
  • Toggle off "Random Element Spacer"

To permanently remove:

  • Open your userscript manager dashboard
  • Delete the "Random Element Spacer" script

Notes

  • This script is purely for entertainment/chaos purposes
  • Some websites may look broken or distorted
  • Spacing is randomly applied on each page load
  • Does not modify the actual website code, only your local view

Version

Current Version: 2025-11-23

License

Free to use and modify