r/Lastpass • u/Web-Dude • Aug 08 '18
LastPass is injecting javascript code into my eBay listings.
All of my latest eBay listings have js code injected into the item description.
Although I only installed LastPass last month for the first time (and therefore have the latest version), this has apparently been a problem for a while.
After checking numerous forum posts about the issue, LastPass seems entirely indifferent about fixing the problem.
Does anyone know if LastPass has a bugtracker?
Here is the code that is being injected:
<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>
0
Upvotes
20
u/Richie4422 Aug 08 '18
Because it's not a bug and not an issue. LastPass injects javascript in to fields (like editing window) to provide features like - filling custom fields, detecting custom fields, notes, usernames or passwords.
If you don't want this happening on particular page, follow these steps:
LastPass Vault
Go to Account Settings
Click on Never URLS
Click. 'Add'
Pick 'Never Do Anything' from the Menu
Add bulksell.ebay.com/ws/eBayISAPI.dll (customize url to fit your region - aka co.uk, .ie)
Click 'Add'