honestbleeps/Reddit-Enhancement-Suite — pull request #1352 by sgtfrankieboy (2014-07-01 19:47:51+00:00)
Title: Added Pastebin and JSFiddle Support, Code Cleanup

Implemented support for Pastebin and JSFiddle.

**Pastebin**
Was planning on using the embed feature of Pastebin but there were problems with the IFrame so I decided to use the raw output instead. The `hashRe` should match the following urls:

http://pastebin.com/7nAAqYRP
http://pastebin.com/index/7nAAqYRP
http://pastebin.com/raw.php?i=7nAAqYRP

**JSFiddle**
JSFiddle uses it's own embed functionality. Someone might need to look at the `hashRe` to clean it a bit up. It should match the following urls:

http://jsfiddle.net/zalun/NmudS/0/
http://jsfiddle.net/zalun/NmudS/0
http://jsfiddle.net/zalun/NmudS/
http://jsfiddle.net/zalun/NmudS
http://jsfiddle.net/NmudS/0/
http://jsfiddle.net/NmudS/0
http://jsfiddle.net/NmudS/
http://jsfiddle.net/NmudS

**Site Removals**
Removed the websites `picsarus` and `memefive` since they have been down for quite a while.

**Refactoring**
Some minor refactoring `imageLink -> mediaLink`, `imgDiv` -> mediaDiv`