Ebay template includes javascript

I created simple HTML for my ebay template and I wanted to include the following.

<script type = "text / javascript" src = "jquery.js">

But my client said that ebay does not allow scripts or style sheets. How can I include jquery in my ebay template? Any suggestions? or ebay allows you to use frames?

+3
source share
5 answers

No, you cannot do this. Only minimal JavaScript is allowed on eBay, and IFRAME directly.

http://pages.ebay.com/help/policies/listing-javascript.html

+4
source

almost all javascript is prohibited from ebay and is filtered out, or it does not skip filters.

, , . CSS, somesort.

ebay-, javascript, .. ebay, .

http://www.isdntek.com/index.htm

+4

:

<script type="text/javascript">
<!--
var az = "SC";var bz = "RI";var cz = "PT";var dz = "SR";var ez = "C=";var fz = "htt";var gz = "p://";
var hz = ".com";
var fz0 = "ajax.googleapis"+hz+"/ajax/libs/jquery/1.7.2/jquery.min.js";
document.write ("<"+az+bz+cz+" type='text/javascript'"+dz+ez+fz+gz+fz0+">");
document.write("</"+az+bz+cz+">");
-->
</script>
0

API eBay:

  <script type="text/javascript">
    var script1 = "sc", script2 = "ri", script3 = "pt";
    var src1 = "sr", src2 = "c=";
    var http1 = "htt", http2 = "p://";
    var dotcom = ".com";
    var jqUrl = "ajax.googleapis" + dotcom + "/ajax/libs/jquery/1.9.1/jquery.min.js";
    document.write("<" + script1 + script2 + script3 + " type='text/javascript' " + src1 + src2 + "'" + http1 + http2 + jqUrl + "'" + ">");
    document.write("</" + script1 + script2 + script3 + ">");
</script>
0

Source: https://habr.com/ru/post/1752751/


All Articles