Pastebin supports HTTPS embedding now.
This commit is contained in:
parent
371b8cf7de
commit
75707f1c70
@ -302,10 +302,9 @@ Embedding =
|
|||||||
,
|
,
|
||||||
key: 'Pastebin'
|
key: 'Pastebin'
|
||||||
regExp: /^\w+:\/\/(?:\w+\.)?pastebin\.com\/(?!u\/)(?:[\w\.]+\?i\=)?(\w+)/
|
regExp: /^\w+:\/\/(?:\w+\.)?pastebin\.com\/(?!u\/)(?:[\w\.]+\?i\=)?(\w+)/
|
||||||
httpOnly: true
|
|
||||||
el: (a) ->
|
el: (a) ->
|
||||||
div = $.el 'iframe',
|
div = $.el 'iframe',
|
||||||
src: "http://pastebin.com/embed_iframe.php?i=#{a.dataset.uid}"
|
src: "//pastebin.com/embed_iframe.php?i=#{a.dataset.uid}"
|
||||||
,
|
,
|
||||||
key: 'SoundCloud'
|
key: 'SoundCloud'
|
||||||
regExp: /^\w+:\/\/(?:www\.)?(?:soundcloud\.com\/|snd\.sc\/)([\w\-\/]+)/
|
regExp: /^\w+:\/\/(?:www\.)?(?:soundcloud\.com\/|snd\.sc\/)([\w\-\/]+)/
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user