In the box below, enter an eBay item#, eBay item URL, Web Page URL, or paste your entire description code. Click the "SCAN" button. Then scroll down to view your page and code results:

Paste eBay Item# or Web Page URL or HTML code below:

Click a width to see how your page might fit on smaller devices
           

See What Changed below

       
Messages.

When you scan your listing description, this tool will look for both Active Content and Link Targets. The Active Content will consist of Scripts, Objects, form Actions, and Events (all colored pink on the markup tab). Additionally, Hyperlinks (yellow) and link Targets (orange) will be highlighted since Targets are impacted by eBay's ban. In order for links to work correctly, they must include target="_blank" to open a new window or tab, so this tool will attempt to locate and modify your links. You can choose how much to modify on the Filtered tab by selecting any of the options at the top of the tab.

  • No Change: Display the original code without any content removed.
  • Strip Active: Remove only the major Active Content components. Links that are inside scripts and objects are automatically stripped out with the scripts, which can change the report of links remaining.
  • Modify Links: Modify or add missing target attributes.
  • Find/Replace: Using the Custom filter feature, find and replace user specified blocks of code.
  • Change All: Apply all filters to remove Active Content, modify links, and apply the Custom find/replace feature.

After filtering your code, use the popup preview to see how it will display. If you are happy with the changes, you can use the Revise button on the Filtered tab to access your listing and manually change out the description. You must be logged into eBay before you can use the Revise button.

highlighted Active Content.
Legend: Script/Object/Embed/FormAction/Event Link Targets Links Custom Find Custom Replace
0


eBay's ban on active content in descriptions.

Deep scan your eBay listing with this Active Content checker:

With eBay's ban on active content coming in June 2017, we have put together a suite of tools to help sellers comply. In addition to this test and removal tool, we have a bulk scanner to identify listings that contain Active Content, and a bulk find/replace editor that will create eBay File Exchange revision files. Additionally, we have been working on a whole suite of free tools that will create replacements for those banned elements, like menus, rollover and clickable photo galleries, terms tabs, and promo galleries. They should be presentable in the coming months.

Instructions
Examine and Remove Active Content.

The Active Content Sandbox tool will colorize the HTML codes that need attention (for the do-it-yourself types). It will also offer a stripped version (for the non-techies) that can be previewed and pasted into a listing revision.

  1. Enter an item number, item URL, or paste HTML code into the top box.
  2. Custom settings: details

    The Custom button will open a screen where you can set filters for a custom scan.

    Custom Checkbox Filters: The scanner will automatically find and remove Active Content, but not the leftover code surrounding it. The checkbox filters can be used to clean out some of the leftover code from known widgets. They won't find all the code, or might encompass too much code, so experiment before committing.

    Custom Text Filters: The text filters support customized find/replace strings. If you set text filters here, be sure to checkmark the box on the resulting Filtered tab, after the scan, in order to remove/replace that custom content.

    A Custom text filter row will be ignored if its first text box is left empty. If custom data is entered as plain text, the scan will only find exactly matching (case-insensitive) text, with the same spacing and line breaks. The scan will find as many matches as exist in the file. If start text and end text are both entered, the scan will find all text between those markers, including the markers. If the replacement field is empty, the matching text will be removed, otherwise the matching content will be replaced by the text entered in the replacement field.

    Alternatively, a PHP Regex wildcard format can be used in the first text field of a line. The second field must be empty. The regex string must be enclosed in at least one set of parentheses and be further wrapped in enclosing slashes. The "case-insensitive" designator "i" may be appended or omitted to modify the match. This tool will then auto-detect your regex when it sees a field that starts with "/(" and ends with either ")/" or ")/i". The replacement field on this tool must be either plain text or empty for replacement or removal of all the matches.

    Use the help "?" on each field to see special tags for adding new code to the beginning or end of a file, or to remove code between a marker and the beginning or end of a file.

    When using Regex start markers, back-annotation of the replacement code is also supported. This allows you to remove a block of text, yet preserve parts of that text to be inserted into your replacement text. Starting with the opening parenthesis number "one" on the left of your regex, consecutive left parentheses are numbered from left to right. However, since "one" is the entire phrase, it can not be used to back annotate itself, as that would destroy the remainder of the match, so you may start with the second and subsequent parentheticals.

    To use back-annotation in your replacement text, insert the placeholders <<+2>> to <<+99>> wherever the parenthetical clause found by the Regex is to be inserted in your replacement text. This feature can be used to reformat image tags or videos, or to pull and reuse content during a makeover.

    With these custom scan filters in place, a user can load different listing descriptions and the same filters will be applied to each. Be sure to set the Custom checkbox on the Filtered tab to apply the custom find/replace to the repaired code.
  3. Click the SCAN button to load the page and start a scan. The scan will automatically find and mark Active Content and Link targets that are missing or wrong.
  4. Check width. When reviewing your listing in the Sandbox scanner, checkmark the "320" width option to see if your description is mobile friendly. If you see a horizontal scrollbar under the narrow preview, then your description is too wide for mobile devices and you may want to consider changing the layout. If you don't see a scroller, then your listing adapts correctly to mobile viewing.
  5. Review the three results tabs at the bottom:

RESULTS TABS:

Messages: The results of your Sandbox scan are reported on the Messages tab. If no issues were found, then the listing is compliant with the ban on Active Content.

Markup: If issues are reported, click to the Markup tab to see a color-coded markup of the results. The color coding simplifies the seller's task of finding Active Content problems. This tab is informational only. You will not copy anything from this tab.

  1. The pink markup (with lines through the text) represents Active Content that should be removed (scripts, forms, objects, etc).
  2. Yellow indicates links, which are not a problem; but if you see orange, then you need to add that orange attribute target="_blank" to your links, or you may need to replace the wrong target with the correct target.
  3. Blue and green indicate changes applied using the custom settings.

Filtered:  Then click the Filtered tab where you will find the modified code with Active Content removed and links repaired.  Use the popup preview to make sure your listing still displays properly after being stripped. If it does, this filtered code will be your new description. Click the Revise button on the Filtered tab to open eBay's description editor where you can paste your corrected code from the Filtered tab into the HTML tab of eBay's description editor.

(Note: Depending on which listing editor you use, you may see the HTML tab or just a link in eBay's toolbar to switch to HTML view.)

You can perform the final listing revision in either order:

  1. Copy the Filtered code (that puts it in your computer clipboard).
  2. Click the Revise button to open eBay.
  3. Switch to the HTML view of eBay's description editor.
  4. Delete the code in your eBay description.
  5. Paste the new copied code (which is already in your clipboard.)

Or, you can

  1. Click the revise button to open eBay.
  2. Switch to the HTML view of eBay's description editor.
  3. Delete the code in your eBay description.
  4. Go back to the Filtered tab and copy the code.
  5. Paste the copied code into the HTML tab of eBay's editor.

 

Mobile Friendly?

Now is also the time to check your listings for mobile compatibility with eBay's new online tool:
http://www.ebay.com/tools/sell/mobile-friendly-test

The first step toward mobile compatibility is to use CSS to make your photos and page elements flexible, or simply avoid using elements that are wider than 300 pixels.

When the page has been made mobile friendly, add this line of code to the top of your item description on the HTML tab of the listing form.

<meta name="viewport" content="width=device-width, initial-scale=1">

This viewport tag will advise the browser that the content will reformat correctly for mobile browsers, and that no special scaling is required to display the page.


What Template Designers should know.

Designers would like to know exactly what will be banned so that future creations will be compliant. eBay will take advantage of an industry standard browser feature called iFrame sandbox to block Active Content. The "sandbox" attribute is defined in the HTML5 specification:

http://www.w3schools.com/tags/att_iframe_sandbox.asp

Our descriptions are already placed in an iFrame when displayed on eBay, so eBay need only add that simple sandbox attribute to their HTML and the below active content in our pages will be automatically disabled in supporting browsers. That's what eBay means when they say our active content will fail to render.

The Sandbox will:

All the newer browsers support sandbox (exceptions are Opera mini, Opera 12 and lower, and IE 9 and lower).

Knowing this attribute will be implemented will make it easier to test one's own code for compliance by creating a description page and testing it in an iframe with the sandbox attribute. That is exactly what this tool does. Additionally, eBay will allow links to other pages by loosening the sandbox restrictions with two tokens: "allow-popups" and "allow-popups-to-escape-sandbox". For properly functioning links, be sure that all links include the attribute target="_blank".

For seller videos that would be blocked by these new rules, eBay is working toward a solution to continue to allow YouTube videos. Their solution will most likely be implemented mid 2017, and we will adjust this tool accordingly.