<commit_before>gifffer
=======

A tiny JavaScript library that prevents the autoplaying of the animated Gifs<commit_msg>Updating README<commit_after>gifffer
=======

1K JavaScript library that prevents the autoplaying of the animated Gifs.

## Usage

Include `gifffer.min.js` in your page.

```js
<script type="text/javascript" src="gifffer.min.js"></script>
```

Instead of setting `src` attribute on your image use `data-gifffer`.

```html
<img data-gifffer="image.gif" />
```

At the end, call `Gifffer();` whenever you want. For example:

```js
window.onload = function() {
    Gifffer();
}
```

## Demo

[http://work.krasimirtsonev.com/git/gifffer/example/](http://work.krasimirtsonev.com/git/gifffer/example/)
{'fraction_non_alphanumeric': 0.16083916083916083, 'fraction_numerical': 0.0013986013986013986, 'mean_word_length': 4.917355371900826, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 6, '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': '7598492', 'n_tokens_mistral': 260, 'n_tokens_neox': 236, 'n_words': 64}