Introduction:
In the days of daily Hot browser, a big browser almost all want to dominate, fight for a life-and-death, so now the major browsers support JavaScript scripting language, but in children's shoes, we assume that, in case a user out of security, the browser's JavaScript script support, The option off, which led us to write some effects, statistics, geolocation, Access, login registration verification is not meaningless anymore, so we introduced today our almost forgotten <noscript> tags
Many people feel that, but as a want to learn JS I think that any knowledge is important, not to say we look at the code
1 <!DOCTYPE HTML>2 <HTMLLang= "en">3 <Head>4 <MetaCharSet= "UTF-8">5 <title>Document</title>6 </Head>7 8 <Body>9 Ten <NoScript> One A <P>This page requires browser-enabled JavaScript</P> - </NoScript> - the <Script> - functionji () { - - Alert ("<\/script>")//Here The backslash is the escape character, because the browser parsing process, encounters </script>will stop parsing script without escaping character browser will error; - ji (); + </Script>
is not very simple, just a label can judge the user JavaScript script status, interested in the small partners can try their own, do not forget to put the browser's script state to close = =
END
every knowledge point has the truth of existence, do not ignore which, fancy which, after the development of the future, the knowledge that you neglect will become your biggest obstacle;
The NoScript in JavaScript