From a620fb954c30e6695763c80c1acad1e6115683f3 Mon Sep 17 00:00:00 2001 From: Alexey Skobkin Date: Sat, 15 Nov 2014 04:49:51 +0400 Subject: [PATCH 1/9] - Notifications enabled in Opera - Fixed version number - @NokitaKaze added to authors list --- chrome_point_plus/js/options.js | 8 +++----- chrome_point_plus/manifest.json | 2 +- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/chrome_point_plus/js/options.js b/chrome_point_plus/js/options.js index ea2b6ab..dd7d271 100644 --- a/chrome_point_plus/js/options.js +++ b/chrome_point_plus/js/options.js @@ -166,10 +166,6 @@ function pp_restore_options() { document.getElementById('option-ws-comments-color-fadeout').checked = true; } // Comments desktop notifications - // Disabling for Opera - if (/OPR/.test(navigator.userAgent)) { - document.getElementById('option-ws-comments-notifications').setAttribute('disabled', 'disabled'); - } if (options.option_ws_comments_notifications == true) { document.getElementById('option-ws-comments-notifications').checked = true; } @@ -213,7 +209,9 @@ function pp_restore_options() { // Showing version - document.getElementById('pp-version').innerHTML = 'Point+ ' + getVersion() + ' by @skobkin-ru'; + document.getElementById('pp-version').innerHTML = 'Point+ ' + getVersion() + + ' by @skobkin-ru\n\ + & @NokitaKaze'; }); diff --git a/chrome_point_plus/manifest.json b/chrome_point_plus/manifest.json index cb32808..80098b0 100644 --- a/chrome_point_plus/manifest.json +++ b/chrome_point_plus/manifest.json @@ -1,7 +1,7 @@ { "manifest_version": 2, "name": "Point+", - "version": "1.8.1", + "version": "1.9.0", "author": "Alexey Skobkin", "homepage_url": "https://bitbucket.org/skobkin/chrome_point_plus", "description": "More features for point.im", From 06f03697b977b6364d22ba944bb95b3cbfc0c7fd Mon Sep 17 00:00:00 2001 From: Alexey Skobkin Date: Sat, 15 Nov 2014 04:53:12 +0400 Subject: [PATCH 2/9] Novacoin GTFO --- chrome_point_plus/options.html | 3 --- 1 file changed, 3 deletions(-) diff --git a/chrome_point_plus/options.html b/chrome_point_plus/options.html index b434de1..cba029e 100644 --- a/chrome_point_plus/options.html +++ b/chrome_point_plus/options.html @@ -141,9 +141,6 @@

Yandex.Money: 41001539215836

-

- Novacoin: 4d1ctdZtKkv3kxGdAXjfNEjfFvtDVdbf65 -

PayPal

From b57492bb5fb4ba32c53aa4646e54bda68921f6de Mon Sep 17 00:00:00 2001 From: Alexey Skobkin Date: Sat, 15 Nov 2014 04:58:30 +0400 Subject: [PATCH 3/9] CTRL+Enter binding flagged as deprecated and disabled for now --- chrome_point_plus/js/options.js | 2 +- chrome_point_plus/options.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/chrome_point_plus/js/options.js b/chrome_point_plus/js/options.js index dd7d271..9a04bcc 100644 --- a/chrome_point_plus/js/options.js +++ b/chrome_point_plus/js/options.js @@ -210,7 +210,7 @@ function pp_restore_options() { // Showing version document.getElementById('pp-version').innerHTML = 'Point+ ' + getVersion() - + ' by @skobkin-ru\n\ + + ' by @skobkin-ru
\n\ & @NokitaKaze'; }); diff --git a/chrome_point_plus/options.html b/chrome_point_plus/options.html index cba029e..cd26adb 100644 --- a/chrome_point_plus/options.html +++ b/chrome_point_plus/options.html @@ -61,7 +61,7 @@
- +
From 8d1222766c101ade68bd2e42df56f110b4c58f2d Mon Sep 17 00:00:00 2001 From: Alexey Skobkin Date: Sat, 15 Nov 2014 05:17:28 +0400 Subject: [PATCH 4/9] README!!!11 --- README.md | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..ace66ab --- /dev/null +++ b/README.md @@ -0,0 +1,30 @@ +# README # + +Коротенькое пояснение what the fuck is going on. + +### Что это за репозиторий? ### + +В данном репозитории располагаются исходные коды расширения Point+, которое предназначено для расширения функциональности сайта [Point.im](https://point.im/). + +### Как заставить его работать? ### + +Есть несколько вариантов. Выбирайте на свой вкус: + +* Установить расширение из [репозитория Opera addons](https://addons.opera.com/en/extensions/details/point/?display=en) +* Установить расширение из [репозитория Google Chrome Extensions](https://chrome.google.com/webstore/detail/point%2B/ghaddonhnchkdjaciggjijhophciboam?hl=ru) +* Установить расширение из [раздела Downloads на Bitbucket](https://bitbucket.org/skobkin/chrome_point_plus/downloads) (*.nex - Opera, *.crx - Chrome) +* Собрать самостоятельно из исходников ([Chrome](https://developer.chrome.com/extensions/packaging), [Opera](https://dev.opera.com/extensions/tut_basics.html)) + + +### Как настраивать? ### + +В адресной строке (омнибокс) появится иконка Point.im. Если на нёё нажать - появится окошко настроек. + +![Настройки расширения](https://storage6.static.itmages.ru/i/14/0402/h_1396471297_3899827_5bb001cbae.png "Окно настроек расширения") + +### Хочу помочь, ШТОДЕЛОЦ? ### + +* Писать мне [в поинте](https://skobkin-ru.point.im/profile) или [куда-нибудь ещё](https://skobk.in/contacts/) +* Сразу присылать пулл-реквесты с шашкой наголо +* Поставить в магазинах Opera и Chrome оценку расширению +* Задонатить (см. таб Feedback в настройках) From 599ccc551cdb5908f18cb8d5eaa83fb546dfb2ef Mon Sep 17 00:00:00 2001 From: Alexey Skobkin Date: Sat, 15 Nov 2014 05:49:53 +0400 Subject: [PATCH 5/9] Fixed fancybox for #posts (comments excluded) --- chrome_point_plus/js/point-plus.js | 3 ++- chrome_point_plus/options.html | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/chrome_point_plus/js/point-plus.js b/chrome_point_plus/js/point-plus.js index 97fe039..563fe4e 100644 --- a/chrome_point_plus/js/point-plus.js +++ b/chrome_point_plus/js/point-plus.js @@ -36,7 +36,8 @@ $(document).ready(function() { } // Posts if (options.option_fancybox_posts == true) { - $('.post-id a').attr('data-fancybox-type', 'iframe').fancybox({ + // Excluding some sort of piece-of-shit makeup + $('.post-id a').not('#comments .post-id a, #top-post .post-id a').attr('data-fancybox-type', 'iframe').fancybox({ maxWidth: 780 }); } diff --git a/chrome_point_plus/options.html b/chrome_point_plus/options.html index cd26adb..2a6d5b1 100644 --- a/chrome_point_plus/options.html +++ b/chrome_point_plus/options.html @@ -30,7 +30,7 @@
- +
From 7a23b3a51899bbd65116c3a7d69f07ffcf611076 Mon Sep 17 00:00:00 2001 From: Alexey Skobkin Date: Sat, 15 Nov 2014 06:24:27 +0400 Subject: [PATCH 6/9] Text fix. --- chrome_point_plus/options.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome_point_plus/options.html b/chrome_point_plus/options.html index 2a6d5b1..e3651f8 100644 --- a/chrome_point_plus/options.html +++ b/chrome_point_plus/options.html @@ -112,7 +112,7 @@
- +
From 6951f07bdd49da7dfd700c897aa600d4970c2a56 Mon Sep 17 00:00:00 2001 From: Alexey Skobkin Date: Sat, 15 Nov 2014 06:44:36 +0400 Subject: [PATCH 7/9] Small options refactoring. Gelbooru and WEBM moved to the embedding section. --- chrome_point_plus/js/options.js | 31 ++++++++++++++++++++++-------- chrome_point_plus/js/point-plus.js | 20 +++++++++++-------- chrome_point_plus/options.html | 18 +++++++---------- 3 files changed, 42 insertions(+), 27 deletions(-) diff --git a/chrome_point_plus/js/options.js b/chrome_point_plus/js/options.js index 9a04bcc..68620f6 100644 --- a/chrome_point_plus/js/options.js +++ b/chrome_point_plus/js/options.js @@ -1,10 +1,22 @@ var ppOptions = [ // Fancybox - 'option_fancybox', 'option_fancybox_images', 'option_fancybox_videos', 'option_fancybox_posts', + 'option_fancybox', + // Open images in Fancybox + 'option_fancybox_images', + // Open videos in Fancybox + 'option_fancybox_videos', + // Open posts in Fancybox + 'option_fancybox_posts', // CTRL+Enter 'option_ctrl_enter', // Load original images - 'option_images_load_original', + 'option_images_load_original', + // Embedding + 'option_embedding', + // Load images from Gelbooru, Danbooru, etc + 'option_images_load_booru', + // Wrap WEBM videos into the