Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- setTimeout(function(){
- var par = document.querySelector('.workdayHome-x');
- var link = document.querySelector('.workdayHome-x > li:first-child');
- var newLink = document.createElement('a');
- var img = document.createElement('img');
- console.log('link---', link);
- newLink.setAttribute('href', 'https://testru-abinbev.talentsys.ru/contingencycheck?3');
- img.setAttribute('src', 'https://watsdesign.ru/projects/workday/im/PersData.png');
- par.insertBefore(newLink, link);
- newLink.appendChild(img);
- img.style.margin = "15px 10px";
- link.style.display = 'none';
- }, 10600);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement