01-29-2019 10:36 AM
What the heck is this, on all 396 of my listings:
We found the following active content in your listing: Javascript. To make eBay a more secure marketplace, we hide all active content from buyers.
<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
01-29-2019 10:57 AM
01-29-2019 10:42 AM
If you are using LastPass, try disabling it.
See here:
01-29-2019 10:57 AM
01-30-2019 03:21 AM
The eBay BEAR (bulk edit and replace) tool is pretty simplistic, can't do RegEx search/replace, has trouble with HTML tag sets sometimes, and has a 1000 character limit. Your problem script section above is 2½ times that limit.
396 listings should be under any "number of listings that can be bulk edited at once" limit that may remain in the various versions of the BEAR tool scattered around eBay.
You should be able to replace that mess with the BEAR tool if it is consistent (exact same format and content in a group of listings), but you would probably have to do it in multiple passes because of the char limit.
Because of the problem it has with broken tag sets you don't want to do it from top to bottom but instead inside out. In other words, remove an approx 995 char complete inner block of it first, then another approx 995 char layer, then the remaining outside <script> .... </script> that should only contain approx 600 chars.
In the case above, it looks like an approx 1300 byte block of the same script is there twice. So that narrows it down (if they are identical to getting that 1300 byte block broken into 2 passes under 1000 chars each. (if the two script instances are identical, each pass will remove both copies at once)
Might want to try a BEAR search and replace where you make a pass and replace the approx 600-700 byte section starting with
function() and ending with var runid = null;
with nothing, then a second pass on whats left, replacing
<script> and ending with </script>
with nothing.
Assuming the content of the script in the listings is consistent, that should get rid any number of copies of the script in them.
If that fails, shipscript has some wisdom and external tools:
https://community.ebay.com/t5/Tools-Apps/Bulk-Editing-Description-Problem/td-p/28072112
https://community.ebay.com/t5/Tools-Apps/anybody-else-struggle-with-the-eBay-bulk-edit-tool/td-p/275...