From e71263f9929c5e17787d681e386669b47a1d9cb5 Mon Sep 17 00:00:00 2001 From: Jeena Paradies Date: Mon, 18 Feb 2013 02:38:14 +0100 Subject: [PATCH] added d.rp --- WebKit/scripts/helper/Core.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/WebKit/scripts/helper/Core.js b/WebKit/scripts/helper/Core.js index 7287e35..aa55a4d 100644 --- a/WebKit/scripts/helper/Core.js +++ b/WebKit/scripts/helper/Core.js @@ -843,6 +843,10 @@ function(jQuery, Paths, URI, HostApp, Cache) { var v = word.replace(/https?:\/\/cl\.ly\//, ""); src = "http://thumbs.cl.ly/" + v; + } else if (word.startsWith("http://d.pr/i/") || word.startsWith("https://d.pr/i/")) { + + src = word + "+"; + } else if (word.startsWith("http://vimeo.com/") || word.startsWith("http://vimeo.com/")) { var video_id = word.replace(/https?:\/\/vimeo\.com\//, "");