Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- tmptitle = document.title;
- target = document.querySelector('div#navigation ol > li:nth-child(3) > a');
- foo = new MutationObserver(function() {
- document.title = target.innerHTML.replace("Account ","") + tmptitle;
- });
- config = {
- attributes: true,
- childList: true,
- characterData: true,
- };
- foo.observe(target, config);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement