1/* neofire Store Connect â merkt die Shop-Auswahl einer Erweiterung im Warenkorb */ 2(function () { 3 if (window.__neofireStoreConnect) return; 4 window.__neofireStoreConnect = true; 5 document.addEventListener('change', function (e) { 6 var select = e.target; 7 if (!select || !select.matches || !select.matches('select.neofire-store-shop')) return; 8 var sid = ''; 9 try { 10 sid = localStorage.getItem('core_sid') || ''; 11 } catch (x) {} 12 fetch((window.SHOP_URL || '') + '/cart.php', { 13 method: 'POST', 14 headers: { 'Content-Type': 'application/json' }, 15 body: JSON.stringify({ 16 sid: sid, 17 action: 'store_shop', 18 uuid: select.getAttribute('data-uuid'), 19 install_id: parseInt(select.value, 10) || 0 20 }) 21 }); 22 }); 23})();
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.