Advertisement
John4711

resolve (rip,d)

Jul 7th, 2022
746
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JavaScript 0.62 KB | None
  1. document.querySelectorAll('.ll').forEach(function(el) {
  2.     el.onmouseover=function(){
  3.         //txt.value=this.innerText.trim();txt.onsearch();
  4.         var qq=this.innerText.trim();if (this.dataset.resolved)return false;
  5.         fetch("/p/rip.php?q="+qq).then(r=>r.text()).then(d=>{this.title=d;if (d!="") {this.dataset.resolved=d;this.style.color="dimgray";
  6.             [...d.match(/\S+/gim)].slice(0,10).map(v=>fetch("/p/d.php?q="+v));                                                                          
  7.                                                                                    
  8.             } });
  9.        }
  10.     });
Advertisement
RAW Paste Data Copied
Advertisement