// Search Plus Boot v8 - Auto-injects button and loads search-plus.js (function(){ var s=document.createElement('script'); s.src='search-plus.js'; s.onload=function(){ var sb=document.querySelector('.search-box'); if(sb){ var btn=document.createElement('button'); btn.onclick=function(){toggleSearchPlus()}; btn.title='Tìm kiếm Plus — Scrape sản phẩm từ web bên ngoài'; btn.style.cssText='position:absolute;right:70px;top:50%;transform:translateY(-50%);width:30px;height:30px;border-radius:8px;background:linear-gradient(135deg,#db9815,#f0b840);color:#fff;border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:.78rem;z-index:2;box-shadow:0 2px 8px rgba(219,152,21,.3);transition:all .25s'; btn.innerHTML='✨'; btn.onmouseover=function(){this.style.transform='translateY(-50%) scale(1.15)';this.style.boxShadow='0 4px 12px rgba(219,152,21,.5)'}; btn.onmouseout=function(){this.style.transform='translateY(-50%)';this.style.boxShadow='0 2px 8px rgba(219,152,21,.3)'}; sb.appendChild(btn); } setTimeout(function(){if(typeof loadExternalProducts==='function')loadExternalProducts()},2000); }; if(document.readyState==='loading')document.addEventListener('DOMContentLoaded',function(){document.body.appendChild(s)}); else document.body.appendChild(s); })();