Dectect sifr active on page

I want to check if sIFR is activated after page load, so that then I can do other settings - like setting () an alternative behavior

Since sIFR already checks for flash, is there a simple global flag that I can reference, or do I just need to query the DOM to see if the sIFR replaced class has been added?

It would be more elgegant if you could just check the flag ;-)

+1


a source to share


1 answer


With sIFR 3, you can check sIFR.isActive

.



0


a source







All Articles