I'm referencing an external JS file with a src html tag, why am I getting a "Java script not allowed" error? Home Knowledge Base I'm referencing an external JS file with a src html tag, why am I getting a "Java script not allowed" error? Find the answer to your question
Advanced Search Product -Select Product- GDPR Trading API Shopping API Merchandising API Feedback API Finding API Product Services Sandbox Others MIP Media API Notification API Identity API Charity API Taxonomy API Catalog API Recommendation API Compliance API Logistics API Finances API(Alpha) Negotiation API Sell Feed API Marketing Ads API Account API Inventory API Fulfillment API Marketing Promotion API Analytics API Metadata API Offer API Marketplace Insights API Deal API Marketing API Feed API Browse API Order API Analytics API Key Management API Cancellation API Case Management API Inquiry API Return API Category -Select- Getting Started Sample Code Troubleshooting HowTo's / Best Practices No Value
Language -Select- C# Flex Java JavaScript PHP VB.NET VB6
Format -Select- All XML SOAP JSON Name Value N/A
SDK -Select- .NET Java JavaScript Flax/Flash Mobile - iOS None
Sort by Default Summary New Description Date Updated
Sort order Descending Ascending
Search
Published: February 04 2015, 4:46:00 PM Updated: August 17 2022, 1:44:24 PM
I'm referencing an external JS file with a src html tag, why am I getting a "Java script not allowed" error?
The chances are, you will have a tag that is similar to this.
<HTMLTag>
<script type="text/javascript" src="http://www.domain.com/scripts/somescript.js"></script>
</HTMLTag>
The reference to the external file is not allowed as per our HTML and JavaScript policy.
src="http://www.domain.com/scripts/somescript.js" will throw the error
<ShortMessage>Java script not allowed.</ShortMessage>
<LongMessage>Your listing cannot contain javascript (".cookie", "cookie(", "replace(", IFRAME, META, or includes), cookies or base href.</LongMessage>
<ErrorCode>353</ErrorCode>
For additional information about eBay's javascript policies and guidelines, please visit
http://pages.ebay.com/help/policies/listing-javascript.html#what
How well did this answer your question? Answers others found helpful