mirror of
https://bitbucket.org/skobkin/chrome_point_plus.git
synced 2024-11-23 18:56:04 +00:00
Merged skobkin/chrome_point_plus into master
This commit is contained in:
commit
ff51da8c3a
130
chrome_point_plus/_locales/en/messages.json
Normal file
130
chrome_point_plus/_locales/en/messages.json
Normal file
|
@ -0,0 +1,130 @@
|
|||
{
|
||||
"ext_description": {
|
||||
"message": "More features for point.im"
|
||||
},
|
||||
"ext_author": {
|
||||
"message": "Alexey Skobkin"
|
||||
},
|
||||
"ext_page_action_title": {
|
||||
"message": "Point+ settings"
|
||||
},
|
||||
|
||||
|
||||
"options_text_saved": {
|
||||
"message": "Reload page to apply changes."
|
||||
},
|
||||
|
||||
|
||||
"options_tabs_media": {
|
||||
"message": "Media"
|
||||
},
|
||||
"options_tabs_other": {
|
||||
"message": "Other"
|
||||
},
|
||||
"options_tabs_websocket": {
|
||||
"message": "WebSockets"
|
||||
},
|
||||
"options_tabs_feedback": {
|
||||
"message": "Feedback"
|
||||
},
|
||||
|
||||
|
||||
"option_fancybox": {
|
||||
"message": "Enable Fancybox ▼"
|
||||
},
|
||||
"option_fancybox_images": {
|
||||
"message": "Use for images"
|
||||
},
|
||||
"option_fancybox_videos": {
|
||||
"message": "Use for videos (YouTube, etc)"
|
||||
},
|
||||
"option_fancybox_posts": {
|
||||
"message": "Use for post links"
|
||||
},
|
||||
"option_fancybox_bind_images_to_one_flow": {
|
||||
"message": "Bind all images from fancybox to one flow"
|
||||
},
|
||||
"option_images_load_original": {
|
||||
"message": "Load original images instead of thumbnails"
|
||||
},
|
||||
"option_embedding": {
|
||||
"message": "Enable embedding ▼"
|
||||
},
|
||||
"option_images_load_booru": {
|
||||
"message": "Load pictures from Booru, Tumblr and some other sites"
|
||||
},
|
||||
"option_videos_parse_webm": {
|
||||
"message": "Parse webm-links and create video instead"
|
||||
},
|
||||
"option_embedding_soundcloud": {
|
||||
"message": "Soundcloud ▼"
|
||||
},
|
||||
"option_embedding_soundcloud_orig_link": {
|
||||
"message": "Leave original link"
|
||||
},
|
||||
"option_embedding_pleercom": {
|
||||
"message": "Pleer.com ▼"
|
||||
},
|
||||
"option_embedding_pleercom_nokita_server": {
|
||||
"message": "Use Nokita's server instead of AJAX to get mp3 link"
|
||||
},
|
||||
"option_nsfw": {
|
||||
"message": "NSFW content filtering"
|
||||
},
|
||||
"option_nsfw_blur": {
|
||||
"message": "Blurring"
|
||||
},
|
||||
"option_nsfw_blur_comments": {
|
||||
"message": "Blur comments too"
|
||||
},
|
||||
"option_ctrl_enter": {
|
||||
"message": "Send post and comments by CTRL+Enter (deprecated)"
|
||||
},
|
||||
"option_fluid_layout": {
|
||||
"message": "Fluid layout"
|
||||
},
|
||||
"option_visual_editor_post": {
|
||||
"message": "Show visual editor for posts"
|
||||
},
|
||||
"option_search_with_google": {
|
||||
"message": "Use Google search in header"
|
||||
},
|
||||
"option_ws": {
|
||||
"message": "Enable WebSockets ▼"
|
||||
},
|
||||
"option_ws_comments": {
|
||||
"message": "Process comments ▼"
|
||||
},
|
||||
"option_ws_comments_color_fadeout": {
|
||||
"message": "Fade out highlight in 20 sec"
|
||||
},
|
||||
"option_ws_comments_notifications": {
|
||||
"message": "Show desktop notifications"
|
||||
},
|
||||
"option_ws_feeds": {
|
||||
"message": "Process feeds ▼"
|
||||
},
|
||||
"option_ws_feeds_subscriptions": {
|
||||
"message": "Subscriptions feed"
|
||||
},
|
||||
"option_ws_feeds_blogs": {
|
||||
"message": "User blog pages (only when subscribed)"
|
||||
},
|
||||
"option_enlarge_font": {
|
||||
"message": "Enlarge font size ▼"
|
||||
},
|
||||
"option_at_before_username": {
|
||||
"message": "@ before username"
|
||||
},
|
||||
"option_other_hightlight_post_comments": {
|
||||
"message": "Hightlight post with new comments (using @NokitaKaze server)"
|
||||
},
|
||||
"option_other_show_recommendation_count": {
|
||||
"message": "Show recommendation count and unique commentators count (using @NokitaKaze server)"
|
||||
},
|
||||
|
||||
|
||||
"options_feedback_text": {
|
||||
"message": "<p>If you find an error do not hesitate to <a href=\"https:\/\/bitbucket.org\/skobkin\/chrome_point_plus\/issues?status=new&status=open\" target=\"_blank\">send me a bug report<\/a>.<\/p><p>Also you can make a donation in the following ways:<\/p><p><iframe frameborder=\"0\" allowtransparency=\"true\" scrolling=\"no\" src=\"https:\/\/money.yandex.ru\/embed\/small.xml?account=41001539215836&quickpay=small&yamoney-payment-type=on&button-text=04&button-size=s&button-color=black&targets=Point%2B&default-sum=150&successURL=https%3A%2F%2Fbitbucket.org%2Fskobkin%2Fchrome_point_plus\" width=\"158\" height=\"31\"><\/p><p><\/iframe><\/p><p><iframe frameborder=\"0\" allowtransparency=\"true\" scrolling=\"no\" src=\"https:\/\/money.yandex.ru\/embed\/small.xml?account=41001539215836&quickpay=small&any-card-payment-type=on&button-text=04&button-size=s&button-color=black&targets=Point%2B&default-sum=150&successURL=https%3A%2F%2Fbitbucket.org%2Fskobkin%2Fchrome_point_plus\" width=\"158\" height=\"31\"><\/iframe><\/p><p><form action=\"https:\/\/www.paypal.com\/cgi-bin\/webscr\" method=\"post\" target=\"_top\"><input type=\"hidden\" name=\"cmd\" value=\"_s-xclick\"><input type=\"hidden\" name=\"hosted_button_id\" value=\"RCW5V6UFXYTRE\"><input type=\"image\" src=\"https:\/\/www.paypalobjects.com\/ru_RU\/RU\/i\/btn\/btn_donateCC_LG.gif\" border=\"0\" name=\"submit\" alt=\"PayPal — более безопасный и легкий способ оплаты через Интернет!\"><img alt=\"\" border=\"0\" src=\"https:\/\/www.paypalobjects.com\/en_US\/i\/scr\/pixel.gif\" width=\"1\" height=\"1\"><\/form><\/p>"
|
||||
}
|
||||
}
|
130
chrome_point_plus/_locales/ru/messages.json
Normal file
130
chrome_point_plus/_locales/ru/messages.json
Normal file
|
@ -0,0 +1,130 @@
|
|||
{
|
||||
"ext_description": {
|
||||
"message": "Больше полезных функций для point.im"
|
||||
},
|
||||
"ext_author": {
|
||||
"message": "Алексей Скобкин"
|
||||
},
|
||||
"ext_page_action_title": {
|
||||
"message": "Настройки Point+"
|
||||
},
|
||||
|
||||
|
||||
"options_text_saved": {
|
||||
"message": "Для применения изменений перезагрузите страницу."
|
||||
},
|
||||
|
||||
|
||||
"options_tabs_media": {
|
||||
"message": "Медиа"
|
||||
},
|
||||
"options_tabs_other": {
|
||||
"message": "Прочее"
|
||||
},
|
||||
"options_tabs_websocket": {
|
||||
"message": "Вебсокеты"
|
||||
},
|
||||
"options_tabs_feedback": {
|
||||
"message": "Связь и донейт"
|
||||
},
|
||||
|
||||
|
||||
"option_fancybox": {
|
||||
"message": "Включить Fancybox ▼"
|
||||
},
|
||||
"option_fancybox_images": {
|
||||
"message": "Использовать для картинок"
|
||||
},
|
||||
"option_fancybox_videos": {
|
||||
"message": "Использовать для видео (YouTube и т.п.)"
|
||||
},
|
||||
"option_fancybox_posts": {
|
||||
"message": "Использовать для ссылок на посты"
|
||||
},
|
||||
"option_fancybox_bind_images_to_one_flow": {
|
||||
"message": "Связать все картинки в одну галерею"
|
||||
},
|
||||
"option_images_load_original": {
|
||||
"message": "Загружать оригиналы вместо миниатюр"
|
||||
},
|
||||
"option_embedding": {
|
||||
"message": "Включить встраивание ▼"
|
||||
},
|
||||
"option_images_load_booru": {
|
||||
"message": "Загружать картинки с Booru, Tumblr и других сайтов"
|
||||
},
|
||||
"option_videos_parse_webm": {
|
||||
"message": "Оборачивать ссылки на webm в тег <video>"
|
||||
},
|
||||
"option_embedding_soundcloud": {
|
||||
"message": "Soundcloud ▼"
|
||||
},
|
||||
"option_embedding_soundcloud_orig_link": {
|
||||
"message": "Не убирать ссылку"
|
||||
},
|
||||
"option_embedding_pleercom": {
|
||||
"message": "Pleer.com ▼"
|
||||
},
|
||||
"option_embedding_pleercom_nokita_server": {
|
||||
"message": "Использовать сервер @NokitaKaze вместо AJAX-запроса для получения mp3"
|
||||
},
|
||||
"option_nsfw": {
|
||||
"message": "Фильтрация NSFW-контента"
|
||||
},
|
||||
"option_nsfw_blur": {
|
||||
"message": "Размытие небезопасных постов"
|
||||
},
|
||||
"option_nsfw_blur_comments": {
|
||||
"message": "Размытие комментариев"
|
||||
},
|
||||
"option_ctrl_enter": {
|
||||
"message": "Отправлять текст по CTRL+Enter (устарело)"
|
||||
},
|
||||
"option_fluid_layout": {
|
||||
"message": ""Резиновая" вёрстка (растянуть сайт по горизонтали)"
|
||||
},
|
||||
"option_visual_editor_post": {
|
||||
"message": "Визуальный редактор постов"
|
||||
},
|
||||
"option_search_with_google": {
|
||||
"message": "Поиск по сайту с помощью Google"
|
||||
},
|
||||
"option_ws": {
|
||||
"message": "Включить вебсокеты ▼"
|
||||
},
|
||||
"option_ws_comments": {
|
||||
"message": "Получать комментарии ▼"
|
||||
},
|
||||
"option_ws_comments_color_fadeout": {
|
||||
"message": "Затухание подсветки через 20 секунд"
|
||||
},
|
||||
"option_ws_comments_notifications": {
|
||||
"message": "Включить уведомления на рабочем столе"
|
||||
},
|
||||
"option_ws_feeds": {
|
||||
"message": "Обрабатывать ленты ▼"
|
||||
},
|
||||
"option_ws_feeds_subscriptions": {
|
||||
"message": "Подписки"
|
||||
},
|
||||
"option_ws_feeds_blogs": {
|
||||
"message": "Блоги пользователей (только при подписке)"
|
||||
},
|
||||
"option_enlarge_font": {
|
||||
"message": "Увеличить шрифт ▼"
|
||||
},
|
||||
"option_at_before_username": {
|
||||
"message": "Пёс перед юзернеймом"
|
||||
},
|
||||
"option_other_hightlight_post_comments": {
|
||||
"message": "Подсвечивать посты с новыми комментариями (используя сервер @NokitaKaze)"
|
||||
},
|
||||
"option_other_show_recommendation_count": {
|
||||
"message": "Показывать количество рекомендаций и уникальных комментаторов в посте (используя сервер @NokitaKaze)"
|
||||
},
|
||||
|
||||
|
||||
"options_feedback_text": {
|
||||
"message": "<p>Нашли ошибку? Не стесняйтесь <a href=\"https:\/\/bitbucket.org\/skobkin\/chrome_point_plus\/issues?status=new&status=open\" target=\"_blank\">сообщить о ней<\/a>.<\/p><p>Также вы можете сделать пожертвование автору:<\/p><p><iframe frameborder=\"0\" allowtransparency=\"true\" scrolling=\"no\" src=\"https:\/\/money.yandex.ru\/embed\/small.xml?account=41001539215836&quickpay=small&yamoney-payment-type=on&button-text=04&button-size=s&button-color=black&targets=Point%2B&default-sum=150&successURL=https%3A%2F%2Fbitbucket.org%2Fskobkin%2Fchrome_point_plus\" width=\"158\" height=\"31\"><\/iframe><\/p><p><iframe frameborder=\"0\" allowtransparency=\"true\" scrolling=\"no\" src=\"https:\/\/money.yandex.ru\/embed\/small.xml?account=41001539215836&quickpay=small&any-card-payment-type=on&button-text=04&button-size=s&button-color=black&targets=Point%2B&default-sum=150&successURL=https%3A%2F%2Fbitbucket.org%2Fskobkin%2Fchrome_point_plus\" width=\"158\" height=\"31\"><\/iframe><\/p><p><form action=\"https:\/\/www.paypal.com\/cgi-bin\/webscr\" method=\"post\" target=\"_top\"><input type=\"hidden\" name=\"cmd\" value=\"_s-xclick\"><input type=\"hidden\" name=\"hosted_button_id\" value=\"WW33X5J5WFSP4\"><input type=\"image\" src=\"https:\/\/www.paypalobjects.com\/ru_RU\/RU\/i\/btn\/btn_donateCC_LG.gif\" border=\"0\" name=\"submit\" alt=\"PayPal — более безопасный и легкий способ оплаты через Интернет!\"><img alt=\"\" border=\"0\" src=\"https:\/\/www.paypalobjects.com\/en_US\/i\/scr\/pixel.gif\" width=\"1\" height=\"1\"><\/form><\/p>"
|
||||
}
|
||||
}
|
|
@ -151,6 +151,10 @@ div#markItUpText-input {
|
|||
float: right;
|
||||
}
|
||||
|
||||
.pp-options #status {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.pp-options #pp-version {
|
||||
margin-top: 6px;
|
||||
text-align: right;
|
||||
|
|
6
chrome_point_plus/js/i18n.js
Normal file
6
chrome_point_plus/js/i18n.js
Normal file
|
@ -0,0 +1,6 @@
|
|||
$(document).ready(function() {
|
||||
// Processing all emenents contains data-i18n attribute
|
||||
$('[data-i18n]').each(function() {
|
||||
$(this).html(chrome.i18n.getMessage($(this).data('i18n')));
|
||||
});
|
||||
});
|
|
@ -9,8 +9,6 @@ var ppOptions = [
|
|||
'option_fancybox_posts',
|
||||
// Bind all images from fancybox to one flow
|
||||
'option_fancybox_bind_images_to_one_flow',
|
||||
// CTRL+Enter
|
||||
'option_ctrl_enter',
|
||||
// Load original images
|
||||
'option_images_load_original',
|
||||
// Embedding
|
||||
|
@ -25,6 +23,14 @@ var ppOptions = [
|
|||
// Pleer.com
|
||||
'option_embedding_pleercom',
|
||||
'option_embedding_pleercom_nokita_server',
|
||||
// NSFW filtering
|
||||
'option_nsfw',
|
||||
// Blured pictures
|
||||
'option_nsfw_blur',
|
||||
// Blur comments too
|
||||
'option_nsfw_blur_comments',
|
||||
// CTRL+Enter
|
||||
'option_ctrl_enter',
|
||||
// Fluid layout
|
||||
'option_fluid_layout',
|
||||
// Visual editor for posts
|
||||
|
@ -65,6 +71,9 @@ function pp_save_options() {
|
|||
ppOptions.option_embedding_soundcloud_orig_link = $('#option-embedding-soundcloud-orig-link').prop('checked');
|
||||
ppOptions.option_embedding_pleercom = $('#option-embedding-pleercom').prop('checked');
|
||||
ppOptions.option_embedding_pleercom_nokita_server = $('#option-embedding-pleercom-nokita-server').prop('checked');
|
||||
ppOptions.option_nsfw = $('#option-nsfw').prop('checked');
|
||||
ppOptions.option_nsfw_blur = $('#option-nsfw-blur').prop('checked');
|
||||
ppOptions.option_nsfw_blur_comments = $('#option-nsfw-blur-comments').prop('checked');
|
||||
ppOptions.option_visual_editor_post = $('#option-visual-editor-post').prop('checked');
|
||||
ppOptions.checkbox_search_with_google = $('#option-search-with-google').prop('checked');
|
||||
ppOptions.option_ws = $('#option-ws').prop('checked');
|
||||
|
@ -83,10 +92,7 @@ function pp_save_options() {
|
|||
// Saving parameters
|
||||
chrome.storage.sync.set(ppOptions, function() {
|
||||
// Update status to let user know options were saved.
|
||||
$('#status').html('Options Saved.');
|
||||
setTimeout(function() {
|
||||
window.close();
|
||||
}, 1500);
|
||||
$('#status').html(chrome.i18n.getMessage('options_text_saved'));
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -127,6 +133,14 @@ if (point_plus_options_save_button !== null) {
|
|||
point_plus_options_save_button.addEventListener('click', pp_save_options);
|
||||
}
|
||||
|
||||
// Binding event listeners
|
||||
$(function() {
|
||||
// Delegating events
|
||||
$('#tabs-content').on('click', 'input', function() {
|
||||
pp_save_options();
|
||||
});
|
||||
});
|
||||
|
||||
// Getting version from manifest.json
|
||||
function getVersion() {
|
||||
var xhr = new XMLHttpRequest();
|
||||
|
|
|
@ -105,6 +105,30 @@ $(document).ready(function() {
|
|||
}
|
||||
}
|
||||
|
||||
// NSFW Filtering
|
||||
if (options.option_nsfw == true) {
|
||||
// Blurred posts
|
||||
if (options.option_nsfw_blur == true) {
|
||||
console.log('Bluring NSFW posts');
|
||||
|
||||
$('.post').each(function() {
|
||||
$(this).find('a.tag').each(function() {
|
||||
if ($(this).html().toLowerCase() == 'nsfw') {
|
||||
console.log('NSFW tag found!');
|
||||
|
||||
$(this).wrapInner('<b></b>');
|
||||
$(this).parent().siblings('.text').css('-webkit-filter', 'blur(30px)');
|
||||
|
||||
// Blurred comments
|
||||
if (options.option_nsfw_blur_comments == true) {
|
||||
$('#comments').css('-webkit-filter', 'blur(30px)');
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
// Hotkeys
|
||||
// Send by CTRL+Enter
|
||||
if (options.option_ctrl_enter == true) {
|
||||
|
@ -334,7 +358,7 @@ $(document).ready(function() {
|
|||
type: 'showNotification',
|
||||
notificationId: wsMessage.post_id + '_' + wsMessage.comment_id,
|
||||
avatarUrl: ((location.protocol == 'http:') ? 'http:' : 'https:') + userAvatar + '/80',
|
||||
title: '@' + wsMessage.author + ' commented #' + wsMessage.post_id + '(/' + wsMessage.comment_id + ')',
|
||||
title: '@' + wsMessage.author + ' → #' + wsMessage.post_id + '(/' + wsMessage.comment_id + ')',
|
||||
text: wsMessage.text
|
||||
});
|
||||
}
|
||||
|
|
|
@ -1,17 +1,18 @@
|
|||
{
|
||||
"manifest_version": 2,
|
||||
"name": "Point+",
|
||||
"version": "1.11.0",
|
||||
"author": "Alexey Skobkin",
|
||||
"version": "1.13.0",
|
||||
"default_locale": "ru",
|
||||
"author": "__MSG_ext_author__",
|
||||
"homepage_url": "https://bitbucket.org/skobkin/chrome_point_plus",
|
||||
"description": "More features for point.im",
|
||||
"description": "__MSG_ext_description__",
|
||||
"options_page": "options.html",
|
||||
"page_action": {
|
||||
"default_icon": {
|
||||
"19": "images/icon19.png",
|
||||
"38": "images/icon38.png"
|
||||
},
|
||||
"default_title": "Point+",
|
||||
"default_title": "__MSG_ext_page_action_title__",
|
||||
"default_popup": "options.html"
|
||||
},
|
||||
"icons": {
|
||||
|
|
|
@ -10,62 +10,74 @@
|
|||
<body class="pp-options">
|
||||
<div class="tabs usual">
|
||||
<ul class="idTabs">
|
||||
<li><a href="#media">Media</a></li>
|
||||
<li><a href="#other">Other</a></li>
|
||||
<li><a href="#websocket">WebSockets</a></li>
|
||||
<li><a href="#feedback">Feedback</a></li>
|
||||
<li><a href="#media" data-i18n="options_tabs_media"></a></li>
|
||||
<li><a href="#other" data-i18n="options_tabs_other"></a></li>
|
||||
<li><a href="#websocket" data-i18n="options_tabs_websocket"></a></li>
|
||||
<li><a href="#feedback" data-i18n="options_tabs_feedback"></a></li>
|
||||
</ul>
|
||||
|
||||
<div id="tabs-content">
|
||||
<div class="tab-content" id="media">
|
||||
<div class="option">
|
||||
<input type="checkbox" id="option-fancybox"><label for="option-fancybox">Enable Fancybox ▼</label>
|
||||
<input type="checkbox" id="option-fancybox"><label for="option-fancybox" data-i18n="option_fancybox"></label>
|
||||
|
||||
<div class="option">
|
||||
<input type="checkbox" id="option-fancybox-images"><label for="option-fancybox-images">Use for images</label>
|
||||
<input type="checkbox" id="option-fancybox-images"><label for="option-fancybox-images" data-i18n="option_fancybox_images"></label>
|
||||
</div>
|
||||
|
||||
<div class="option">
|
||||
<input type="checkbox" id="option-fancybox-videos"><label for="option-fancybox-videos">Use for videos (YouTube, ...)</label>
|
||||
<input type="checkbox" id="option-fancybox-videos"><label for="option-fancybox-videos" data-i18n="option_fancybox_videos"></label>
|
||||
</div>
|
||||
|
||||
<div class="option">
|
||||
<input type="checkbox" id="option-fancybox-posts"><label for="option-fancybox-posts">Use for post links</label>
|
||||
<input type="checkbox" id="option-fancybox-posts"><label for="option-fancybox-posts" data-i18n="option_fancybox_posts"></label>
|
||||
</div>
|
||||
|
||||
<div class="option">
|
||||
<input type="checkbox" id="option-fancybox-bind-images-to-one-flow"><label for="option-fancybox-bind-images-to-one-flow">Bind all images from fancybox to one flow</label>
|
||||
<input type="checkbox" id="option-fancybox-bind-images-to-one-flow"><label for="option-fancybox-bind-images-to-one-flow" data-i18n="option_fancybox_bind_images_to_one_flow"></label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="option">
|
||||
<input type="checkbox" id="option-images-load-original"><label for="option-images-load-original">Load original images instead of thumbnails</label>
|
||||
<input type="checkbox" id="option-images-load-original"><label for="option-images-load-original" data-i18n="option_images_load_original"></label>
|
||||
</div>
|
||||
|
||||
<div class="option">
|
||||
<input type="checkbox" id="option-embedding"><label for="option-embedding">Enable embedding ▼</label>
|
||||
<input type="checkbox" id="option-embedding"><label for="option-embedding" data-i18n="option_embedding"></label>
|
||||
|
||||
<div class="option">
|
||||
<input type="checkbox" id="option-images-load-booru"><label for="option-images-load-booru">Load pictures from Booru, Tumblr and some other sites</label>
|
||||
<input type="checkbox" id="option-images-load-booru"><label for="option-images-load-booru" data-i18n="option_images_load_booru"></label>
|
||||
</div>
|
||||
|
||||
<div class="option">
|
||||
<input type="checkbox" id="option-videos-parse-webm"><label for="option-videos-parse-webm">Parse webm-links and create video instead</label>
|
||||
<input type="checkbox" id="option-videos-parse-webm"><label for="option-videos-parse-webm" data-i18n="option_videos_parse_webm"></label>
|
||||
</div>
|
||||
|
||||
<div class="option">
|
||||
<input type="checkbox" id="option-embedding-soundcloud"><label for="option-embedding-soundcloud">Soundcloud ▼</label>
|
||||
<input type="checkbox" id="option-embedding-soundcloud"><label for="option-embedding-soundcloud" data-i18n="option_embedding_soundcloud"></label>
|
||||
|
||||
<div class="option">
|
||||
<input type="checkbox" id="option-embedding-soundcloud-orig-link"><label for="option-embedding-soundcloud-orig-link">Leave original link</label>
|
||||
<input type="checkbox" id="option-embedding-soundcloud-orig-link"><label for="option-embedding-soundcloud-orig-link" data-i18n="option_embedding_soundcloud_orig_link"></label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="option">
|
||||
<input type="checkbox" id="option-embedding-pleercom"><label for="option-embedding-pleercom">Pleer.com ▼</label>
|
||||
<input type="checkbox" id="option-embedding-pleercom"><label for="option-embedding-pleercom" data-i18n="option_embedding_pleercom"></label>
|
||||
|
||||
<div class="option">
|
||||
<input type="checkbox" id="option-embedding-pleercom-nokita-server"><label for="option-embedding-pleercom-nokita-server">Use Nokita's server instead of AJAX to get mp3 link</label>
|
||||
<input type="checkbox" id="option-embedding-pleercom-nokita-server"><label for="option-embedding-pleercom-nokita-server" data-i18n="option_embedding_pleercom_nokita_server"></label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="option">
|
||||
<input type="checkbox" id="option-nsfw"><label for="option-nsfw" data-i18n="option_nsfw"></label>
|
||||
|
||||
<div class="option">
|
||||
<input type="checkbox" id="option-nsfw-blur"><label for="option-nsfw-blur" data-i18n="option_nsfw_blur"></label>
|
||||
|
||||
<div class="option">
|
||||
<input type="checkbox" id="option-nsfw-blur-comments"><label for="option-nsfw-blur-comments" data-i18n="option_nsfw_blur_comments"></label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -73,23 +85,23 @@
|
|||
|
||||
<div class="tab-content" id="other">
|
||||
<div class="option">
|
||||
<input type="checkbox" id="option-ctrl-enter" disabled="disabled"><label for="option-ctrl-enter">Send post and comments by CTRL+Enter (deprecated)</label>
|
||||
<input type="checkbox" id="option-ctrl-enter" disabled="disabled"><label for="option-ctrl-enter" data-i18n="option_ctrl_enter"></label>
|
||||
</div>
|
||||
|
||||
<div class="option">
|
||||
<input type="checkbox" id="option-fluid-layout"><label for="option-fluid-layout">Fluid layout</label>
|
||||
<input type="checkbox" id="option-fluid-layout"><label for="option-fluid-layout" data-i18n="option_fluid_layout"></label>
|
||||
</div>
|
||||
|
||||
<div class="option">
|
||||
<input type="checkbox" id="option-visual-editor-post"><label for="option-visual-editor-post">Show visual editor for posts</label>
|
||||
<input type="checkbox" id="option-visual-editor-post"><label for="option-visual-editor-post" data-i18n="option_visual_editor_post"></label>
|
||||
</div>
|
||||
|
||||
<div class="option">
|
||||
<input type="checkbox" id="option-search-with-google"><label for="option-search-with-google">Use Google search in header</label>
|
||||
<input type="checkbox" id="option-search-with-google"><label for="option-search-with-google" data-i18n="option_search_with_google"></label>
|
||||
</div>
|
||||
|
||||
<div class="option">
|
||||
<input type="checkbox" id="option-enlarge-font"><label for="option-enlarge-font">Enlarge font size ▼</label>
|
||||
<input type="checkbox" id="option-enlarge-font"><label for="option-enlarge-font" data-i18n="option_enlarge_font"></label>
|
||||
|
||||
<div class="option">
|
||||
<input name="pp-font-size" id="option-enlarge-font-85" type="radio" value="85" checked="checked"><label for="option-enlarge-font-85">0.85em</label>
|
||||
|
@ -99,74 +111,57 @@
|
|||
</div>
|
||||
|
||||
<div class="option">
|
||||
<input type="checkbox" id="option-at-before-username"><label for="option-at-before-username">@ before username</label>
|
||||
<input type="checkbox" id="option-at-before-username"><label for="option-at-before-username" data-i18n="option_at_before_username"></label>
|
||||
</div>
|
||||
|
||||
<div class="option">
|
||||
<input type="checkbox" id="option-other-hightlight-post-comments"><label for="option-other-hightlight-post-comments">Hightlight post with new comments (using @NokitaKaze server)</label>
|
||||
<input type="checkbox" id="option-other-hightlight-post-comments"><label for="option-other-hightlight-post-comments" data-i18n="option_other_hightlight_post_comments"></label>
|
||||
</div>
|
||||
|
||||
<div class="option">
|
||||
<input type="checkbox" id="option-other-show-recommendation-count"><label for="option-other-show-recommendation-count">Show recommendation count and unique commentators count (using @NokitaKaze server)</label>
|
||||
<input type="checkbox" id="option-other-show-recommendation-count"><label for="option-other-show-recommendation-count" data-i18n="option_other_show_recommendation_count"></label>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="tab-content" id="websocket">
|
||||
<div class="option">
|
||||
<input type="checkbox" id="option-ws"><label for="option-ws">Enable WebSockets ▼</label>
|
||||
<input type="checkbox" id="option-ws"><label for="option-ws" data-i18n="option_ws"></label>
|
||||
|
||||
<div class="option">
|
||||
<input type="checkbox" id="option-ws-comments"><label for="option-ws-comments">Process comments ▼</label>
|
||||
<input type="checkbox" id="option-ws-comments"><label for="option-ws-comments" data-i18n="option_ws_comments"></label>
|
||||
|
||||
<div class="option">
|
||||
<input type="checkbox" id="option-ws-comments-color-fadeout"><label for="option-ws-comments-color-fadeout">Fade out highlight in 20 sec</label>
|
||||
<input type="checkbox" id="option-ws-comments-color-fadeout"><label for="option-ws-comments-color-fadeout" data-i18n="option_ws_comments_color_fadeout"></label>
|
||||
</div>
|
||||
|
||||
<div class="option">
|
||||
<input type="checkbox" id="option-ws-comments-notifications"><label for="option-ws-comments-notifications">Show desktop notifications</label>
|
||||
<input type="checkbox" id="option-ws-comments-notifications"><label for="option-ws-comments-notifications" data-i18n="option_ws_comments_notifications"></label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="option">
|
||||
<input type="checkbox" id="option-ws-feeds" disabled><label for="option-ws-feeds">Process feeds ▼</label>
|
||||
<input type="checkbox" id="option-ws-feeds" disabled><label for="option-ws-feeds" data-i18n="option_ws_feeds"></label>
|
||||
|
||||
<div class="option">
|
||||
<input type="checkbox" id="option-ws-feeds-subscriptions"><label for="option-ws-feeds-subscriptions">Subscriptions feed</label>
|
||||
<input type="checkbox" id="option-ws-feeds-subscriptions"><label for="option-ws-feeds-subscriptions" data-i18n="option_ws_feeds_subscriptions"></label>
|
||||
</div>
|
||||
|
||||
<div class="option">
|
||||
<input type="checkbox" id="option-ws-feeds-blogs"><label for="option-ws-feeds-blogs">User blog pages (only when subscribed)</label>
|
||||
<input type="checkbox" id="option-ws-feeds-blogs"><label for="option-ws-feeds-blogs" data-i18n="option_ws_feeds_blogs"></label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="tab-content" id="feedback">
|
||||
<div class="text">
|
||||
<p>
|
||||
If you find an error do not hesitate to <a href="https://bitbucket.org/skobkin/chrome_point_plus/issues?status=new&status=open" target="_blank">send me a bug report</a>.
|
||||
</p>
|
||||
<p>
|
||||
You can make a donation in the following ways:
|
||||
</p>
|
||||
<p>
|
||||
Yandex.Money: 41001539215836
|
||||
</p>
|
||||
<p>
|
||||
<a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=WW33X5J5WFSP4" target="_blank">PayPal</a>
|
||||
</p>
|
||||
</div>
|
||||
<div class="text" data-i18n="options_feedback_text"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div id="panel">
|
||||
<div id="status"></div>
|
||||
|
||||
<div class="left">
|
||||
<button id="save" class="button">Save</button>
|
||||
</div>
|
||||
<div class="left" id="status"></div>
|
||||
|
||||
<div class="right">
|
||||
<div id="pp-version"></div>
|
||||
|
@ -175,5 +170,6 @@
|
|||
</div>
|
||||
|
||||
<script src="js/options.js"></script>
|
||||
<script src="js/i18n.js"></script>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in a new issue