How can i differentiate Nightly is opened in Metro or Desktop mode in javascript?

We are developing apps using Microsoft technologies. One of our app is required plugins support. In Win8 Metro mode won't support any plug ins. So, we want to detect it and ask the user to open it in Desktop mode. This detection is done through Javascript. We can able to detect for IE. How can we detect this for Nightly? Could you please provide a solution for this.
Thanks In Advance.

Fields "wysiwyg" are based on js library "tiny_mce.js"
tyny_mce.js compares
if (! A.gecko_spellcheck) {z.getBody (). spellcheck = 0} ...
Changing in comparing the number 0 with number 1 is solved
if (! A.gecko_spellcheck) {z.getBody (). spellcheck = 1} ...
You can download the library in, http://www.tinymce.com/, and view all code.

Similar Messages

Maybe you are looking for

  • BI java installation in BI 7.0

    Hi All, We had upgraded BW 3.5 to BI 7.0,   we have installed Java add in   when we are testing  Bex analyser it's  throwing errors like  " Java Communication error". We have not installed BI java, is it mandatory to have BI java for BI 7.0. Please s

  • New video editing pc.. will this work ? i'm new here, please help me out

    hi everybody my name is mark, . i really hope i write and express myself correctly first of all i'd like to say i love this forum. there are some brilliant ppl here with great advice. special props to Mr Harm Millaard.. wow u know sum serious s*** !

  • Acrobat Pro version 8.1.7

    I am on Snow Leopard (just switched and Acrobat Pro for the mac version 8.1.7. I am trying to create forms from PDF's I have. And when I make a box in an area where I need users to fill in and outline the box with a color, when I save this pdf and op

  • Lightroom 4 tethering unusable with Nikon D800

    I am on LR 4.4 using Nikon D800E. I had been using LR tethered with some intermittent locking issues since LR 3 with my Nikon D300. About 4 months ago, I purchased a Nikon D800E and started to use it tethered (as I had done with the D300) with LR 4.

  • Duke Nukem 3D graphic fix?

    Hi, I just got Duke Nukem 3D Atomic Edition from Macsoft. I just downloaded the Mac OS X update and installed the game. It works but the graphic has weird colors and makes it unbearable. Is there a fix for this? I have Mac OS X 10.6.7 Snow Leopard.