Firefox supports a “No Style” view mode which strips off all the CSS styling in a web page. Is there any way to detect if current page is rendered using “No Style” mode ? Preferably in JavaScript
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
No. But you might be able to dream something up by setting an element’s style to some known value, then using JavaScript to check that value after the page has loaded. If it’s not what you expected, you might be in the scenario you mention.
…CSS:
Then check the z-index value on page load. Does it equal 100?
Cheers