EBAY COMPLIANCE

eBay HTML Policy:
What's Allowed

eBay banned active content (JavaScript) in June 2017. Here's exactly what that means — and how our templates stay fully compliant.

CustomeBayTemplates is 100% eBay compliant
All templates use CSS-only interactivity. Zero JavaScript. Every feature — image galleries, tabs, accordions — works within eBay's policy.

What eBay changed in 2017

In June 2017, eBay disabled all active content in listing descriptions. This was a security measure to protect buyers from malicious scripts embedded in listings.

Active content includes JavaScript, Flash, iframes, and other dynamic elements. Sellers who previously used JavaScript-powered sliders, animated headers, or embedded videos had their listings break overnight.

The solution: build everything with pure HTML and CSS. CSS is passive content — it changes appearance and layout but cannot execute code, make network requests, or access buyer data. eBay allows it.

Allowed
HTML structure (divs, tables, sections)
Inline CSS styles
External CSS via <link> tags (HTTPS only)
HTTPS images (<img src="https://...">)
CSS animations and transitions
CSS-only interactivity (radio button + :checked trick)
<details> / <summary> accordion elements
Google Fonts via HTTPS
Static text and formatted content
Not Allowed
Any JavaScript (<script> tags or inline on* handlers)
External JavaScript files
iframes
Flash / embed / object tags
Form submissions
Cookies or localStorage access from the listing
Cross-origin resource requests
HTTP (non-HTTPS) image or resource links

How we build interactive features without JavaScript

Image galleries: We use HTML radio inputs (<input type="radio">) with CSS :checked selectors. Clicking a thumbnail radio-selects it, and CSS shows the corresponding large image via a sibling selector. No JavaScript needed.

Tab sections: Same technique. Each tab is a radio input. The selected radio's sibling content panel is shown via CSS :checked ~ .panel.

Accordions (Q&A): We use the native HTML <details> and <summary> elements, which are browser-native and require no JavaScript.

Disclaimer: eBay's policies can change at any time. While our templates are designed to comply with eBay's active content policy as of 2026, it is your responsibility to verify compliance with eBay's current requirements before publishing any listing.

Ready to build compliant, professional listings?

Browse Templates Setup Guide