I am a seller on eBay. I always get eBay telling me there is JavaScript script in my listing. Sometimes it's because I copy information from other product sites. I also get eBay saying there is JavaScript in my Item description before I copy or write anything in it.
I searched eBay seller forum with this code that is in my listing. Thinking maybe it is a hacker or something. A seller had posting the same thing. Why she was getting the same issue. Another seller said it was because of LastPass. Was autofilling in this information into the listings. It would stop if you disable LastPass at least when doing listings. I am going to try it. I was wounding if anyone else had this issue.
I wanted to pass the information along also. If it is doing this on eBay might be happening on other sites?
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 Solution.
Perhaps I have found the resolution to my issue. I had been adding "https://bulksell.ebay.com" as a "Never Do Anything" blocked Domain. When I changed it to "bulksell.ebay.com/" it was added as a blocked URL and my listings seem to be working with LastPass enabled.
No response from LP? I'm also getting this on my eBay listings. LP keeps injecting the code into my eBay listing when I edit them.
Is there any way to disable this?
Hi @rand0mguy,
While we're not aware of this issue specifically, you could try setting this URL as a Never URL in LastPass to tell LastPass not to take action on this page: https://support.logmeininc.com/lastpass/help/disable-lastpass-for-specific-sites-lp040006
I have talked to them. They were looking into it. They asked me to make a video of what I was doing when the code was being added to my listing. They are still checking into it as far as I know.
There are a few things you can do. I use Firefox and Chrome when doing my listing.
I disable lastpass one browser say Chrome after I Am logged into eBay. Then I use Firefox if I need for everything else. So I don't have to undisable lastpass if I Am in the middle of listing.
You can log into eBay and disable lastpass or turn off the auto fill also.
It's been a pain because I have a eBay store and almost 400 listing. I had to go back and clean up this mess this code has caused me.
This issue started happening to me about 6-8 weeks ago. Now I need to disable LastPass to post eBay Listings. Otherwise the code above is put into each listing. The listing then fails because active code is not allowed.
I added "https://bulksell.ebay.com" to the "Never URLs", but that did not help.
It is a pain to always needing to enable/disable LastPass. I might just use the browser password management to resolve the issue and cancel LastPass.
Perhaps I have found the resolution to my issue. I had been adding "https://bulksell.ebay.com" as a "Never Do Anything" blocked Domain. When I changed it to "bulksell.ebay.com/" it was added as a blocked URL and my listings seem to be working with LastPass enabled.
Have you tried. Going into the password profile and enable Autologin. You can also check the Edit Form Fields. Click on the wrench icon in the profile password where eBay password in stored in last pass. those are the Fields I have only. I don't have the issue with the code being auto filed into my listing anymore.
Field Value userid pass tokenText email EmailAddress username
Thanks for the reply. In my 2nd post, I found the solution, so it is all working now.