Links and active content in eBay listings
In short
Active content such as scripts and widgets is blocked in new eBay listings, and a description may link off eBay only in the few cases eBay lists.
eBay has two rules that decide what a listing description may contain. The first bans active content, such as scripts and interactive widgets. The second limits links to other websites. This article explains both rules as eBay’s help pages describe them at the time of writing, lists the link types that are still allowed, and ends with a short check to run before you publish.
What active content means
eBay’s JavaScript policy says that active content, such as JavaScript, Flash, plug-ins and form actions, is no longer displayed in listings. The page gives examples: scrolling item pickers, embedded Feedback, social sharing icons and currency conversion widgets. It states that active content has been removed from all existing listings and is not allowed in new ones.
If a new listing includes active content, the seller sees the error 'Disallowed JavaScript/HTML Syntax', and the listing cannot be published until that content is removed. Because the error appears only when you try to publish, the simplest protection is to read the description text before you submit it.
Links in descriptions
The general rule in eBay’s Links policy is that listings and item descriptions cannot link to other websites, even when the link is not clickable. Links that send buyers off eBay to finish a purchase are prohibited, as are links to pages outside eBay that collect personal or payment details, and links to unsecured sites. Shop names cannot be web addresses, and they cannot include domain endings such as '.com'.
For flippers and resellers: Manual work around every sale costs you time and margin. MarketShield is building tools to cut it down – within platform rules. Closed access for now. Get early access
Links that are still allowed
The same page sets out a short list of exceptions. At the time of writing, a description may contain links of the kinds shown in the table below.
| Type | Condition |
|---|---|
| eBay pages | For example eBay Messages, other eBay items, Shops pages or follow-seller features |
| Product videos | Embedded in the description, taken from an approved site (YouTube, Vimeo, Brightcove, Ustream, Screencast, Kizoa or Dailymotion), and related to the listing |
| Freight services | Only the five freight companies that eBay approves: AnyVan, Parcelforce 48 large, Shiply, uShip and Yodel XL |
| Legally required information | Information that the law requires you to give |
Every allowed link must use HTTPS. Third-party credits follow separate rules: they cannot link off eBay, cannot contain external web addresses or contact details, and cannot flash or animate. The page allows up to 10 words of text and a logo no larger than 88 × 33 pixels.
Checks before you publish
- Read the description text once without formatting, and look for code, script or widget fragments. Remove any code or widget that does not describe the item.
- Remove any web address, including one written without a clickable link, that points to a site other than eBay.
- Keep only the link types listed in the table above. For a product video, embed it from an approved site and check that it shows the listed product.
- Use HTTPS for each allowed link.
- If publishing fails with an error, find the element the error refers to and remove it. Do not get around the error by writing the same link in a different form.
Rules for photos and text are set out in the eBay images and text policy. For the photos that go with a description, see Image requirements for marketplace listings.
Descriptions copied from older listings or from saved templates are a common source of this problem. The JavaScript policy says active content has been removed from existing listings, but a template that still contains code can fail when you reuse it for a new listing. Open each template once and read it in full before you publish from it.
This article summarises eBay’s help pages at the time of writing. The lists of allowed links and blocked content can change, and eBay’s policy pages may cover cases that are not described here. Check the current policy before you publish a description that depends on an exception.
Common questions
- Why does my new listing fail with a syntax error?
- The error 'Disallowed JavaScript/HTML Syntax' means the description contains active content, such as a script or widget. Remove that element from the description and publish again.
- Can I link to my own website in an eBay description?
- Generally no. eBay’s links policy says listings and descriptions cannot link to other websites, with a few exceptions such as eBay pages and approved product videos.
- Are links to product videos allowed?
- Yes, if the video is embedded in the description, comes from an approved site and relates to the listing. Approved sites named on the policy page include YouTube and Vimeo.
Sources
- JavaScript policy eBay Help · 14 Nov 2026
- Links policy eBay Help · 14 Nov 2026
Further reading
- Photos and text on eBay: what needs permission Copied photos, catalogue scans and text need written permission from the rights owner on eBay, except eBay catalogue images and product details. 4 min read
- Image requirements for marketplace listings At the time of writing, eBay requires one photo of at least 500 pixels on its longest side, and Etsy requires one unedited photo of the real item. 4 min read
- eBay business policies: setup and opt-out eBay business policies save your payment, postage and return settings as reusable templates, and you must opt in before using them. 4 min read
MarketShield is in closed access. You can request early access.
Get early access