<commit_before>LRED
====

LRED (Like, Reblog, Edit, Delete) is a javascript plugin for your Tumblr that adds Like, Reblog, Edit and Delete buttons under each of your posts. This may be useful when doing mass post editing, or to avoid having users click into the permalink page in order to like or reblog your post.

Screenshots
-----------

### Visitors
This is what the plugin looks like to the visitors on your blog.
![Visitor Screenshot](screenshots/visitor.png?raw=true "What visitors see.")

### You
This is what the plugin looks like to you, the owner of the blog.
![Visitor Screenshot](screenshots/owner.png?raw=true "What you see.")

Installation
------------

### Step 1 
Add the following code to your Tumblr theme, right before the `</head>` tag.
```html
<script type="text/javascript" src="http://little-vince.tumblr.com/lred.js"></script>
```

### Step 2
Place the following code somewhere between the `{block:Date}` and `{/block:Date}` tags. If you have more than one set of those tags then you will need to work out which one is best to put it in.
```html
<div class="reblogframe">
  <iframe class="lred" scrolling="no" width="100%" height="25px" frameborder="0" data-plink="{Permalink}" data-reblog="{ReblogURL}" data-user="{Name}" data-pic="{URLEncodedPortraitURL-64}"></iframe>
</div>
```

### Step 3
That's it! You might need to edit your theme a bit to make it fit in a little more but assuming all things went well, it should look vaguely similar to the screenshots up there.

Changelog
---------

### 0.4
* 140122 - Added support for infinite scroll

### 0.3<commit_msg>Updated README.<commit_after>LRED
====

LRED (Like, Reblog, Edit, Delete) is a javascript plugin for your Tumblr that adds Like, Reblog, Edit and Delete buttons under each of your posts. This may be useful when doing mass post editing, or to avoid having users click into the permalink page in order to like or reblog your post.

Screenshots
-----------

### Visitors
This is what the plugin looks like to the visitors on your blog.
![Visitor Screenshot](screenshots/visitor.png?raw=true "What visitors see.")

### You
This is what the plugin looks like to you, the owner of the blog.
![Visitor Screenshot](screenshots/owner.png?raw=true "What you see.")

Installation
------------

### Step 1 
Add the following code to your Tumblr theme, right before the `</head>` tag.
```html
<script type="text/javascript" src="http://little-vince.tumblr.com/lred.js"></script>
```

### Step 2
Place the following code somewhere between the `{block:Date}` and `{/block:Date}` tags. If you have more than one set of those tags then you will need to work out which one is best to put it in.
```html
<div class="reblogframe">
  <iframe class="lred" scrolling="no" width="100%" height="26px" frameborder="0" data-plink="{Permalink}" data-reblog="{ReblogURL}" data-user="{Name}" data-pic="{URLEncodedPortraitURL-64}"></iframe>
</div>
```

### Step 3
That's it! You might need to edit your theme a bit to make it fit in a little more but assuming all things went well, it should look vaguely similar to the screenshots up there.

Changelog
---------

### 0.5
* 140123 - Added support for anonymous users (people who aren't logged in)

### 0.4
* 140122 - Added support for infinite scroll

### 0.3
{'fraction_non_alphanumeric': 0.13211009174311927, 'fraction_numerical': 0.01529051987767584, 'mean_word_length': 4.167456556082149, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 17, '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': '5574312', 'n_tokens_mistral': 1047, 'n_tokens_neox': 954, 'n_words': 434}