maybe, there's a better way to detect it.
mycoin opened this issue · comments
RT
<script type="text/javascript">
var el = new Image();
Object.defineProperty(el, 'id', {
get: function() {
alert('active');
}
});
console.log('%cHello', el);
</script>
not support firefox
Doesn't work after clearing the console.