Blenra LogoBlenra
Optimized for: Gemini / ChatGPT / Claude
#UI

Advanced AI Prompt for Responsive Mobile-Disabled Custom Cursor

Customize the variables below to instantly engineer your prompt.

Required Variables

responsive-mobile-disabled-custom-cursor.txt
Act as a Core Web Vitals Optimization Lead. Implement an aggressive, defensive execution strategy for a heavy JavaScript custom cursor system. You must architect a script that proactively queries the viewport and instantly halts initialization, completely unmounting the custom DOM nodes and restoring the default [NATIVE_FALLBACK] CSS cursor, whenever the window width drops below the precise [MOBILE_BREAKPOINT] (e.g., 1024px) OR whenever native [TOUCH_EVENT_HANDLING] (`ontouchstart`) is detected by the browser. You must utilize lightweight `window.matchMedia` listeners rather than spamming the `resize` event. Generate a technical SEO brief within the code comments explicitly documenting why suppressing heavy `mousemove` event listeners on mobile devices is an absolute requirement for passing Google's Interaction to Next Paint (INP) and preserving mobile battery life.

Example Text Output

"A script featuring a 'checkDevice' function that initializes the custom cursor only on desktop devices with fine-pointer capabilities."

More Web Components Prompts

View all →

Frequently Asked Questions

What is the "Advanced AI Prompt for Responsive Mobile-Disabled Custom Cursor" prompt used for?

A script featuring a 'checkDevice' function that initializes the custom cursor only on desktop devices with fine-pointer capabilities.

Which AI tools work with this prompt?

This prompt is optimized for Gemini / ChatGPT / Claude, but works great with ChatGPT, Claude, Gemini, and other large language models. Simply copy it and paste it into your preferred AI tool.

How do I customize this prompt?

Use the variable fields above to fill in your specific details. The prompt will auto-update as you type, ready to copy instantly.

Is this prompt free?

Yes! All prompts on Blenra are free to copy and use immediately. No account required.