Last active
April 29, 2016 03:21
-
-
Save kainy/e20c86ef945e79bc6f0298a302befe13 to your computer and use it in GitHub Desktop.
显示页面上otitle埋点的元素(webtrends埋点验证)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript: (function() { | |
[].forEach.call(document.querySelectorAll('*[otitle]'), function(a) { | |
a.title= 'otitle内容:【 '+ a.getAttribute('otitle')+' 】'; | |
setInterval(function(){ | |
a.style.outline = "2px solid #" + (~~(Math.random() * (1 << 12))).toString(16) | |
}, 100) | |
}, 6); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment