diff --git a/chrome_point_plus/_locales/en/messages.json b/chrome_point_plus/_locales/en/messages.json index 4871642..28ec701 100644 --- a/chrome_point_plus/_locales/en/messages.json +++ b/chrome_point_plus/_locales/en/messages.json @@ -95,6 +95,12 @@ "option_embedding_twitter_tweets": { "message": "Twitter" }, + "option_embedding_instagram_posts": { + "message": "Instagram" + }, + "option_embedding_instagram_posts_orig_link": { + "message": "Leave original link" + }, "option_nsfw": { "message": "NSFW content filtering" }, diff --git a/chrome_point_plus/_locales/ru/messages.json b/chrome_point_plus/_locales/ru/messages.json index 8d6b14d..deab3f5 100644 --- a/chrome_point_plus/_locales/ru/messages.json +++ b/chrome_point_plus/_locales/ru/messages.json @@ -95,6 +95,12 @@ "option_embedding_twitter_tweets": { "message": "Twitter" }, + "option_embedding_instagram_posts": { + "message": "Instagram" + }, + "option_embedding_instagram_posts_orig_link": { + "message": "Не убирать ссылку" + }, "option_nsfw": { "message": "Фильтрация NSFW-контента" }, diff --git a/chrome_point_plus/css/point-plus.css b/chrome_point_plus/css/point-plus.css index 5c7ab56..dd943dc 100644 --- a/chrome_point_plus/css/point-plus.css +++ b/chrome_point_plus/css/point-plus.css @@ -28,12 +28,12 @@ div#markItUpText-input { } /* Auto-loaded Booru pictures */ -.booru_pic { +.booru_pic, .instagram-post-embedded { display: block !important; float: none !important; } -.booru_pic img { +.booru_pic img, .instagram-post-embedded img { border: none; max-width: 60%; max-height: 300px; diff --git a/chrome_point_plus/js/bquery_ajax.js b/chrome_point_plus/js/bquery_ajax.js index 553c39c..72a7603 100644 --- a/chrome_point_plus/js/bquery_ajax.js +++ b/chrome_point_plus/js/bquery_ajax.js @@ -1,3 +1,6 @@ +/** + * @deprecated since 1.36.0 + */ function $ajax_prot(settings){ if (settings==undefined){return;} if (settings['url'] ==undefined){return;}this.url=settings['url']; @@ -46,8 +49,14 @@ $ajax_prot.prototype={ $ajax=function (settings){return new $ajax_prot(settings);} +/** + * @deprecated since 1.36.0 + */ function urlencode(text){return encodeURIComponent(text);} +/** + * @deprecated since 1.36.0 + */ function sad_safe_reg(text){ var ar='.-\\/[]{}?+'; var s=''; for (var i=0;i + +
+ + + + +