02-18-2020 10:35 AM
Is it just me or are there other sellers that are having active content automatically added to the end of their listing description code? Script that's being added is at the end of this post.
Our listings don't use any script in them, just HTML & some CSS.
I can go in manually & delete the code or run the Active Content fix provided and the code is gone. Save the listing then go back in to check, there it is again.
Ran the bulk Active Content checker and it found 162 of our 600+ listings with content. Not wanting to take a chance of crashing all our listings by using the File Exchange function I made a list of the flagged listings to edit one by one.
I cleaned up about a half dozen then went back to recheck, all the Active Content I deleted is added back in.
Not 100% sure when this started, but I think it was recently. I noticed it after I was playing around the other day loading our listings into the Inventory section for backup. I tried doing a new item by adding it to inventory 1st then moving it to an Active listing.
THE ADDED SCRIPT....
<script>try{(function() {if (typeof(lpcurruser) == 'undefined') lpcurruser = ''; if (document.getElementById('lpcurruserelt') && document.getElementById('lpcurruserelt').value != '') { lpcurruser = document.getElementById('lpcurruserelt').value; document.getElementById('lpcurruserelt').value = ''; } if (typeof(lpcurrpass) == 'undefined') lpcurrpass=''; if (document.getElementById('lpcurrpasselt') && document.getElementById('lpcurrpasselt').value != '') { lpcurrpass = document.getElementById('lpcurrpasselt').value; document.getElementById('lpcurrpasselt').value = ''; } var lploc=1;var lponlyfill=1;(function() {
var doc = document;
var frm = doc.getElementById('SignInForm');
var old_username = doc.getElementById('userid');
var old_password = doc.getElementById('pass');
var runids = doc.getElementsByName('runId2');
var runid = null;
if (runids.length==1) { runid = doc.getElementsByName('runId2')[0]; }
if (frm && runid && old_username && old_password ) {
try {
old_username.value = "";
old_password.value = "";
old_username.parentNode.nextSibling.getElementsByTagName('input')[0].value = lpcurruser;
old_password.parentNode.previousSibling.getElementsByTagName('input')[0].value = lpcurrpass;
} catch (e) { };
}
})();lpcurruser = ''; lpcurrpass = '';})();}catch(e){}</script><script>try{(function() {if (typeof(lpcurruser) == 'undefined') lpcurruser = ''; if (document.getElementById('lpcurruserelt') && document.getElementById('lpcurruserelt').value != '') { lpcurruser = document.getElementById('lpcurruserelt').value; document.getElementById('lpcurruserelt').value = ''; } if (typeof(lpcurrpass) == 'undefined') lpcurrpass=''; if (document.getElementById('lpcurrpasselt') && document.getElementById('lpcurrpasselt').value != '') { lpcurrpass = document.getElementById('lpcurrpasselt').value; document.getElementById('lpcurrpasselt').value = ''; } var lploc=2;var lponlyfill=1;(function() {
var doc = document;
var frm = doc.getElementById('SignInForm');
var old_username = doc.getElementById('userid');
var old_password = doc.getElementById('pass');
var runids = doc.getElementsByName('runId2');
var runid = null;
if (runids.length==1) { runid = doc.getElementsByName('runId2')[0]; }
if (frm && runid && old_username && old_password ) {
try {
old_username.value = "";
old_password.value = "";
old_username.parentNode.nextSibling.getElementsByTagName('input')[0].value = lpcurruser;
old_password.parentNode.previousSibling.getElementsByTagName('input')[0].value = lpcurrpass;
} catch (e) { };
}
})();lpcurruser = ''; lpcurrpass = '';})();}catch(e){}</script>
Solved! Go to Best Answer
02-18-2020 12:35 PM
Are you using LastPass by any chance?
I seem to recall a very similar problem cropping up a while back for users who had LastPass installed.
02-18-2020 11:20 AM
You have 163 listings that need to be repaired.
https://www.isdntek.com/ebaytools/ActiveContentScanner.htm
They're all flagged for missing targets in your links- easily fixable. JavaScript wasn't flagged at all. Did you already remove it? That makes it more difficult to diagnose.
02-18-2020 11:40 AM
Nope, ran it through that site with same results.
But if I go into edit the listing it flags the description as having Active Content. I delete the content that's shown on the OP, save the listing and the delete script gets added back in.
One thing I didn't mention in the OP is there are a couple of items that someone else here added & the description amount to about 6 words, ( I know, another story for another time. I just haven't felt like fixing it. ) no links or anything else. The script is automatically added to it. Delete code & back it comes right back after a save.
02-18-2020 12:20 PM
Admittedly, I know very little about this, but let's ask for help from those who may know - @shipscript and brian@ebay - I am sure if they can't help, they will likely know of someone else. (Thanks folks!)
I wish you well.
02-18-2020 12:35 PM
Are you using LastPass by any chance?
I seem to recall a very similar problem cropping up a while back for users who had LastPass installed.
02-18-2020 02:17 PM
02-18-2020 04:12 PM
Thank you eburtonlab , Lastpass was the issue.
And the reason I think it cause it was because I had both my work & personal eBay accounts saved in there.
I deleted both, that fixed the Active Content added code. Then I added back in my personal eBay login info & still no added code. Added back the work login & problem returned.
Thanks again for the help.
As far as the isdntek.com Target link issue it is the way I configure the links in some.
THIS WORKS OK https://stores.ebay.com/Competition-Transmission" target="_blank" rel="noopener"
Even though this link works fine when you click it, it fails the isdntek.com Target link test.
THIS LINK DOES NOT PASS THE TEST https://www.ebay.com/str/competitiontransmission
The fix for the link issue is to add target="_blank" rel="noopener" to the link that is the issue or copy & replace the with the working link.
Again, thank to all that helped.
02-18-2020 04:14 PM