Old: v0.0.1.20170703154407 - 2017-07-03 -
New: v0.0.1.20170703170532 - 2017-07-03 -
- @@ -23,6 +23,7 @@
- cthfulfu: "http://i.imgur.com/6ueysCDh.png",
- dalek: "http://i.imgur.com/W325y1s.gif",
- dikdik: "http://i.imgur.com/Dj8FRrp.png",
- + ditto: "http://i.imgur.com/LwwqEU2.gif",
- eful: "http://i.imgur.com/WGExCALh.png",
- feels: "http://i.imgur.com/1UqALYB.gif",
- flufu: "http://i.imgur.com/EA3HECZh.png",
- @@ -49,6 +50,7 @@
- knifufu: "http://i.imgur.com/905e8hI.gif",
- kungfufu: "http://i.imgur.com/aMyCgYZh.png",
- leafufu: "http://i.imgur.com/8kRR9Dgh.png",
- + lick: "http://i.imgur.com/9cmjMER.gif",
- licky: "http://i.imgur.com/PF9fOmc.gif",
- lub: "http://i.imgur.com/hCsYezmh.png",
- michael: "http://i.imgur.com/o5pnGish.png",
- @@ -67,6 +69,7 @@
- shyfox: "/uploads/emotes/18367_original.gif",
- sleepy: "http://i.imgur.com/7HegR95h.png",
- snoop: "http://i.imgur.com/F5HViqt.gif",
- + squirtle: "http://i.imgur.com/w9zD7yu.gif",
- swag: "http://i.imgur.com/6uOsLKH.gif",
- tofufu: "http://i.imgur.com/XSR8Ceeh.png",
- uffu: "http://i.imgur.com/JfMlPzAh.png",
- @@ -98,9 +101,13 @@
- font-size: 1.5em;
- font-family: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Android Emoji";
- }
- #window_i img {
- + .fullwidth {
- max-width: 100%;
- }
- + .custom-emote {
- + max-width: 25px;
- + max-height: 25px;
- + }
- #lobbychat.expanded #window {
- height: auto !important;
- }
- @@ -248,17 +255,18 @@
- if(node.nodeType===HTMLElement.ELEMENT_NODE && node.classList.contains("talk")) {
- node=node.querySelector(".msg, .msg_wrapper") || node;
- if(node.textContent.substring(0, 4)==="$img") {
- var src=node.textContent.match(/(\w+:\/\/[^\s\?#]+)/)[0];
- if(~VALID_IMG.indexOf(src.replace(/.+(\.\w+)/, "$1"))) {
- var child=document.createElement("a");
- child.href=src;
- child.appendChild(
- document.createElement("img")
- ).src=src;
- node.parentNode.appendChild(
- document.createElement("br")
- + var src=node.textContent.match(/(\w+:\/\/[^\s\?#]+)/);
- + if(src && ~VALID_IMG.indexOf(src[0].replace(/.+(\.\w+)/, "$1"))) {
- + var link=document.createElement("a");
- + var image=document.createElement("img");
- + image.src=src[0];
- + image.className="fullwidth";
- + link.href=src[0];
- + link.appendChild(image);
- + node.parentNode.append(
- + document.createElement("br"),
- + link
- );
- node.parentNode.appendChild(child);
- }
- }
- if(localStorage.chat_format!=="false") {