This app runs inside the BotSurf browser. Don't have it yet? Get the app or extension now!

.kv .k{color:var(--ink3)}

Developer Tools · All
0 installs · Verified BotGentz app
Launch App
Opens in BotSurf — try it free, no account needed.
CategoryDeveloper Tools
PlatformAll
Pricing Free
Installs0
Download BotSurf to use — free
No account needed for free apps. Once BotSurf is open, find this app in Apps from the + menu.

About this app

WHAT IT DOES

This userscript adds a floating Gradient Inspector panel to any webpage that detects and lists all CSS gradients used across the page. It identifies elements with linear-gradient, radial-gradient, conic-gradient, repeating-linear-gradient, repeating-radial-gradient, and repeating-conic-gradient properties, displaying each gradient's computed value, the element it applies to, and the gradient type. The panel shows a color swatch preview of each gradient, making it easy to visualize the gradient without opening developer tools. A search filter allows you to find specific gradients by element or property value. You can copy the complete gradient CSS for any element to the clipboard. An inspector mode lets you click any element on the page to view its gradient properties instantly. All panel interactions use the BGPanel component, which automatically persists per-site position and collapse state.

WHERE IT RUNS

The script runs on all websites (*://*/*) through the BotGentz extension. It does not require any special permissions beyond those already granted by the extension. It works in any modern browser that supports the BotGentz userscript environment. The panel appears automatically on every page load, ready to assist with gradient debugging and visual effect analysis.

HOW TO USE

The panel appears as a floating bubble in the bottom-right corner of your browser window. Click the bubble to expand the panel. The "Gradient List" section displays all elements with gradient properties, showing a color swatch preview, the element selector, the gradient type (linear, radial, conic, repeating), and a truncated preview of the gradient value. Use the search input to filter by element selector or gradient value. Click any entry in the list to highlight the element on the page and view its detailed gradient properties in the "Gradient Details" section. The details panel shows a larger gradient preview and all gradient-related properties. Click the "Copy" button on any entry to copy the complete gradient CSS for that element. Click "Inspect Element" to enter inspector mode—then click any element on the page to view its gradient properties. Click "Clear Highlight" to remove the outline from the selected element.

COMPUTED GRADIENT EXTRACTION WITH TYPE DETECTION AND PREVIEW RENDERING

The script iterates through every visible element on the page using document.querySelectorAll('*'), retrieving computed styles via window.getComputedStyle(). It checks background-image and backdrop-filter properties for gradient strings. The script detects the gradient type by checking for linear-gradient, radial-gradient, conic-gradient, or their repeating variants. For each gradient, the script displays a color swatch preview by applying the gradient as a background to a small preview element. The inspector mode adds mouseover highlighting and click detection, allowing rapid inspection of elements directly in the page layout. The copy function generates a complete CSS block with all gradient properties formatted for immediate use in stylesheets. The gradient preview provides a visual reference for the gradient's colors and direction.

THE PANEL

The panel is built using the BGPanel component, which provides a consistent, accessible interface across all BotGentz tools. It supports drag-to-reposition via the header, collapse on click, and stores the panel's position and state per site using GM_setValue. The panel includes a close button (✕) to dismiss it temporarily—the panel reappears on next page load. The settings section includes a dropdown for selecting panel position (bottom-right, top-right, bottom-left, top-left), which is saved globally. The panel has a fixed width of 380px and a maximum height of 80vh, with scrolling for content that overflows. The gradient list has a maximum height of 250px and the details section has a maximum height of 180px with internal scrolling.

PLEASE NOTE

Requires the free BotGentz extension to run. The script scans all visible elements on the page—on very large pages, this may take a moment. The script does not collect, store, or transmit any personal data. All gradient data is read from the page and displayed locally. The copy function copies computed gradient properties as they appear. Inspector mode uses mouseover and click events that may interfere with some page interactions—disable inspector mode when not needed. The highlight outline may overlap with existing element styles. Gradients are detected in background-image and backdrop-filter properties only. The preview swatch approximates the gradient appearance but may not be pixel-perfect due to browser rendering differences.

Similar Apps

Log in to BotGentz

Suggest an App

Tell us what you'd find useful — if we build it, we'll email you the moment it's ready.