<commit_before># noscript.js

stop other JavaScript (as best as can be done) and show `noscript` elements

## Installation

You can just grab the `noscript.min.js` file from this repository, or you can
use Bower:

- `bower install noscript`


## Usage

Include `noscript.js` on your web page. This installs a global `noscript`
object. You may want the poly-fills in the `lib` directory if you plan on using
this with older browsers.

**TODO**: provide a concatenated version so that there is just one file

### noscript.show()

This will find all `noscript` elements on the page, and make their contents
visible, just as though the browser had JavaScript disabled.

**Caution**: this will only work on elements that were on the page _before_
`noscript.show()` was called. That means that you'll likely want to do this
after all other HTML elements have been declared (e.g. at the bottom of the
`body` element.

### noscript.lockdown()

There doesn't seem to be a way to disable JavaScript via JavaScript. So, this<commit_msg>add link to blog post<commit_after># noscript.js

stop other JavaScript (as best as can be done) and show `noscript` elements

Read more about it in my blog post: [All-Or-Nothing Enhancement](http://jokeyrhy.me/blog/2014/03/13/1/all-or-nothing-enhancement.html)

## Installation

You can just grab the `noscript.min.js` file from this repository, or you can
use Bower:

- `bower install noscript`


## Usage

Include `noscript.js` on your web page. This installs a global `noscript`
object. You may want the poly-fills in the `lib` directory if you plan on using
this with older browsers.

**TODO**: provide a concatenated version so that there is just one file

### noscript.show()

This will find all `noscript` elements on the page, and make their contents
visible, just as though the browser had JavaScript disabled.

**Caution**: this will only work on elements that were on the page _before_
`noscript.show()` was called. That means that you'll likely want to do this
after all other HTML elements have been declared (e.g. at the bottom of the
`body` element.

### noscript.lockdown()

There doesn't seem to be a way to disable JavaScript via JavaScript. So, this
{'fraction_non_alphanumeric': 0.0788514129443938, 'fraction_numerical': 0.004102096627164996, 'mean_word_length': 4.314769975786925, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2028634', 'n_tokens_mistral': 642, 'n_tokens_neox': 614, 'n_words': 325}