eBay – How to Include iframes in Listings

ebayiframe

When I try and post a listing on eBay it tells me I can't use iframe:

enter image description here

— but all the professional listings I see have iframes…

What's the catch? How can I add iframes to my eBay listings as well?

Best Answer

There is no catch as there are no iframes allowed for use in any eBay listing.

You can't use HTML or JavaScript that:

  • Calls remote scripts and pages automatically, such as JavaScript "includes" or "iframes."

...

What you are seeing in some listings is how the server has chosen to render the listing according to the browser.

In some it will be loaded fully embedded as part of the page. On others, it will be loaded in an iframe. Both will be using the same information.

An example listing viewed via Opera shows this in the source code:

<div class="sh-cnt u-cb">
    </div>
<div id="desc_div">
    <table align="center" style="border-spacing: 0px; width: 100%;">
        <tr>
            <td>
                <div><meta http-equiv="Content-Type" 
                    content="text/html; charset=utf-8">
                <title>Boutique Chérie</title>
...

However, the same while using Firefox renders this:

<div class="sh-cnt u-cb">
    </div>
<div id="desc_div">
    <iframe id="desc_ifr" height="10000" width="99%" 
        marginheight="0" marginwidth="0" frameborder="0" 
        src="http://vi.raptor.ebaydesc.com/ws/eBayISAPI.dll?etc"
        title="Seller's description of item"></iframe>
</div>
...

Same listing, different rendering.