posted on October 15, 2002 05:23:32 PM
I've tried to change the title or description on a couple of my auctions that have already loaded, and I keep getting an error message from eBay saying:
Your listing cannot contain javascript (".cookie", "cookie(", "replace(", "open(", "eval(", IFRAME, META, or includes) or cookies.
I'm not sure what it is picking up from my descriptions because they all loaded just fine thru AW and I'm only trying to add a couple of words to the description, not javascript.
The PayPal HTML you have stored in your default listing text area contains the eval tag, which eBay just recently stopped accepting.
You will want to check PayPal to see if they have new code without the eval tag within to use in your eBay auctions. Edit your default text via the My Account tab, under the global preferences link once you have the new text to use.
Unfortunately, that also means that in order to make this change, you would need to do a find on the edit page and manually remove all of the PayPal HTML, or at least the eval tags, to get your changes accepted for this item.
posted on October 15, 2002 08:24:36 PM
Could you please tell me what an eval tag is so I'll know what to remove. I just recently added the Pay Now with PayPal logo about a month ago which I thought was acceptable. Is this logo not acceptable?
This is the logo I'd like to use:
<!-- PayPal Logo -->
<table border="0" cellpadding="10" cellspacing="0" align="center"><tr><td align="center"><font face="verdana,arial,helvetica" size="3"><b>Pay me securely with any major credit card through PayPal!</b></font></td></tr>
<tr><td align="center"><a href="https://www.paypal.com/xclick-auction/business=8KNDTUQ4PM3K4&auction_type=Ebay" target="_blank">
<script language="Javascript">
function dw(nu){document.write(s1+"ppslv"+nu+".gif"+s2);}
f1="document.links";
s1="\<img src=\"http:\/\/images.paypal.com\/images\/lgo\/";
s2="\" border=0 width=88 height=33 alt=\"Pay me securely with any major credit card through PayPal!\" title=\"Pay me securely with any major credit card through PayPal!\"\>";
c1=c2=c3=c4=0;
for(i=0;i<document.links.length;i++){if((document.links[i].protocol)=="mailto:"{} else {if(((document.links[i].search)).indexOf("LeaveFeedbackShow">=0){c1++;}else if(((document.links[i].search)).indexOf("BetterSeller">=0){c2++;}else if((((document.links[i].search)).indexOf("ListItemForSaleShow">=0)||(((document.links[i].search)).indexOf("ListItemForSaleAutosShow">=0)){c3++;}else if((((document.links[i].hash)).indexOf("ListItemForSaleShow">=0)||(((document.links[i].hash)).indexOf("ListItemForSaleAutosShow">=0)){c4++;}}}
if((c1>=2)||(c2>0)||(c3>0)||(c4>0)){dw(3);}else{dw(2);}
f11="xclick-auction";f13="iid=";f14="";
for(i=0;i<(document.links.length);i++){if(document.links[i].search.indexOf(f13)>0){s11=document.links[i].search;j=s11.indexOf(f13);if(j>0){s11=s11.slice((j+(f13.length)));for(k=0;k<(s11.length);k++){if(isNaN(s11.charAt(k))){j=k;break;}}s11=s11.slice(0,j);f14=s11;break;}}}
for(i=0;i<(document.links.length);i++){if((document.links[i].pathname.indexOf(f11))>=0){var p=new Array();p[0]=document.links[i].protocol;p[1]=document.links[i].hostname;p[2]=document.links[i].pathname;for(j=0;j<(p.length);j++){while(p[j].charAt(0)=='/'){p[j]=p[j].slice(1);}while(p[j].charAt(p[j].length - 1)=='/'){p[j]=p[j].slice(0,-1);}}document.links[i].href=(p[0]+"//"+p[1]+"/"+p[2]+"&jitem_id="+f14+"&jmagic=1"break;}}
document.write("<\/a><\/td><\/tr><tr><td align=\"center\"><img src=\"http:\/\/images.paypal.com\/images\/icon_visa.gif\" border=\"0\" alt=\"Visa\"> <img src=\"http:\/\/images.paypal.com\/images\/icon_mastercard.gif\" border=\"0\" alt=\"MasterCard\"> <img src=\"http:\/\/images.paypal.com\/images\/icon_discover.gif\" border=\"0\" alt=\"Discover\"> <img src=\"http:\/\/images.paypal.com\/images\/icon_amex.gif\" border=\"0\" alt=\"American Express\"><img src=\"http:\/\/images.paypal.com\/images\/icon_echeck.gif\" border=\"0\" alt=\"eCheck\"><\/td><\/tr><\/table>"
</script>
<noscript><img src="http://images.paypal.com/images/lgo/logo3v.gif" border="0" width="88" height="33" alt="Pay me securely with any major credit card through PayPal!" title="Pay me securely with any major credit card through PayPal!"></a></td></tr>
<tr><td align="center"><img src="http://images.paypal.com/images/icon_visa.gif" border="0" alt="Visa"> <img src="http://images.paypal.com/images/icon_mastercard.gif" border="0" alt="MasterCard"> <img src="http://images.paypal.com/images/icon_discover.gif" border="0" alt="Discover"> <img src="http://images.paypal.com/images/icon_amex.gif" border="0" alt="American Express"> <img src="http://images.paypal.com/images/icon_echeck.gif"alt="eCheck" border="0"></td></tr></table>
</noscript><!-- End PayPal Logo -->
Unfortunately I'm not sure which one it is. Your best bet would be to submit the HTML to eBay Customer Service and ask them if it is okay -- or to do as suggested and check PayPal for a newer, more updated logo that is acceptable on your auctions.