Quantcast

[Moo] mootools pollutes IE developer tools DOM Explorer?

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Moo] mootools pollutes IE developer tools DOM Explorer?

Nico
I wonder if i'm the only one...

it seems like whenever i use mootools scripts on a page and, for instance, add events to elements then these elements get totally unreadable in the IE developer tools DOM explorer because all the mootools methods are displayed there. This totally blows up the DOM explorer and i wonder if there is anything i could do to prevent this. I'm not sure if this happens also with other js frameworks.

Any hints?

--

---
You received this message because you are subscribed to the Google Groups "MooTools Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Moo] mootools pollutes IE developer tools DOM Explorer?

Johnny F
That doesn't sound right, no.

I would suggest you post an example... if not a jsfiddle, at least a sample of your source and the result in your developer console. 

Johnny Fuery
Merus, Inc.

On Thu, Jan 21, 2016 at 12:25 AM, Nico <[hidden email]> wrote:
I wonder if i'm the only one...

it seems like whenever i use mootools scripts on a page and, for instance, add events to elements then these elements get totally unreadable in the IE developer tools DOM explorer because all the mootools methods are displayed there. This totally blows up the DOM explorer and i wonder if there is anything i could do to prevent this. I'm not sure if this happens also with other js frameworks.

Any hints?

--

---
You received this message because you are subscribed to the Google Groups "MooTools Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--

---
You received this message because you are subscribed to the Google Groups "MooTools Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Moo] mootools pollutes IE developer tools DOM Explorer?

Nico
Thanks for your answer! After some testing i discovered this happens only if i set the document mode to IE8 or lower but not in IE9, 10 or Edge mode.

Unfortunately or site needs to run in Quirks (IE5) mode.

Here is a simple example:

http://muxpix.de/files/Index.html

watch the p tag in DOM explorer while you set the document mode to IE8 or lower...



Am Donnerstag, 21. Januar 2016 10:06:58 UTC+1 schrieb johnnyf:
That doesn't sound right, no.

I would suggest you post an example... if not a jsfiddle, at least a sample of your source and the result in your developer console. 

Johnny Fuery
Merus, Inc.

On Thu, Jan 21, 2016 at 12:25 AM, Nico <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="dmv3E8oTBAAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">kaise...@...> wrote:
I wonder if i'm the only one...

it seems like whenever i use mootools scripts on a page and, for instance, add events to elements then these elements get totally unreadable in the IE developer tools DOM explorer because all the mootools methods are displayed there. This totally blows up the DOM explorer and i wonder if there is anything i could do to prevent this. I'm not sure if this happens also with other js frameworks.

Any hints?

--

---
You received this message because you are subscribed to the Google Groups "MooTools Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="dmv3E8oTBAAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">mootools-user...@googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.

--

---
You received this message because you are subscribed to the Google Groups "MooTools Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Moo] mootools pollutes IE developer tools DOM Explorer?

Dimitar Christoff
yes it's normal because Element.prototype in old IE was buggy and MooTools puts all methods on the element itself by copying. 



On Thursday, 21 January 2016, Nico <[hidden email]> wrote:
Thanks for your answer! After some testing i discovered this happens only if i set the document mode to IE8 or lower but not in IE9, 10 or Edge mode.

Unfortunately or site needs to run in Quirks (IE5) mode.

Here is a simple example:


watch the p tag in DOM explorer while you set the document mode to IE8 or lower...



Am Donnerstag, 21. Januar 2016 10:06:58 UTC+1 schrieb johnnyf:
That doesn't sound right, no.

I would suggest you post an example... if not a jsfiddle, at least a sample of your source and the result in your developer console. 

Johnny Fuery
Merus, Inc.

On Thu, Jan 21, 2016 at 12:25 AM, Nico <[hidden email]> wrote:
I wonder if i'm the only one...

it seems like whenever i use mootools scripts on a page and, for instance, add events to elements then these elements get totally unreadable in the IE developer tools DOM explorer because all the mootools methods are displayed there. This totally blows up the DOM explorer and i wonder if there is anything i could do to prevent this. I'm not sure if this happens also with other js frameworks.

Any hints?

--

---
You received this message because you are subscribed to the Google Groups "MooTools Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--

---
You received this message because you are subscribed to the Google Groups "MooTools Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="javascript:_e(%7B%7D,&#39;cvml&#39;,&#39;mootools-users%2Bunsubscribe@googlegroups.com&#39;);" target="_blank">mootools-users+unsubscribe@....
For more options, visit https://groups.google.com/d/optout.


--
Dimitar Christoff

"JavaScript is to JAVA what hamster is to ham"
@D_mitar - https://github.com/DimitarChristoff

--

---
You received this message because you are subscribed to the Google Groups "MooTools Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Loading...