mirror of
https://bitbucket.org/skobkin/chrome_point_plus.git
synced 2024-09-28 18:53:13 +00:00
Compare commits
1 commit
Author | SHA1 | Date | |
---|---|---|---|
449b6d5fb9 |
|
@ -1,5 +1,5 @@
|
||||||
var vendorCopy = [
|
var vendorCopy = [
|
||||||
'jquery/dist/jquery.min.js',
|
'jquery/jquery.min.js',
|
||||||
|
|
||||||
'fancybox/source/jquery.fancybox.pack.js',
|
'fancybox/source/jquery.fancybox.pack.js',
|
||||||
'fancybox/source/helpers/jquery.fancybox-media.js',
|
'fancybox/source/helpers/jquery.fancybox-media.js',
|
||||||
|
|
|
@ -55,9 +55,3 @@ npm run lint
|
||||||
```
|
```
|
||||||
grunt bump
|
grunt bump
|
||||||
```
|
```
|
||||||
|
|
||||||
Запустить сборку расширения браузером:
|
|
||||||
|
|
||||||
```
|
|
||||||
/bin/bash pack_chromium.sh /usr/bin/chromium /path/to/repository/chrome_point_plus /path/to/private/key.pem
|
|
||||||
```
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "chrome-point-plus",
|
"name": "chrome-point-plus",
|
||||||
"version": "1.42.1",
|
"version": "1.36.4",
|
||||||
"authors": [
|
"authors": [
|
||||||
"Alexey Skobkin"
|
"Alexey Skobkin"
|
||||||
],
|
],
|
||||||
|
@ -14,7 +14,7 @@
|
||||||
"chrome_point_plus/vendors/**"
|
"chrome_point_plus/vendors/**"
|
||||||
],
|
],
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"jquery": "~3",
|
"jquery": "~1.10.1",
|
||||||
"fancybox": "~2.1.5",
|
"fancybox": "~2.1.5",
|
||||||
"markitup": "~1.1.14",
|
"markitup": "~1.1.14",
|
||||||
"soundcloud": "git@github.com:soundcloud/Widget-JS-API.git"
|
"soundcloud": "git@github.com:soundcloud/Widget-JS-API.git"
|
||||||
|
|
|
@ -50,6 +50,9 @@
|
||||||
"option_fancybox_bind_images_to_one_flow": {
|
"option_fancybox_bind_images_to_one_flow": {
|
||||||
"message": "Bind all images to one Fancybox gallery"
|
"message": "Bind all images to one Fancybox gallery"
|
||||||
},
|
},
|
||||||
|
"option_fancybox_smart_hints": {
|
||||||
|
"message": "Generate image caption from tags"
|
||||||
|
},
|
||||||
"option_images_load_original": {
|
"option_images_load_original": {
|
||||||
"message": "Load original images instead of thumbnails"
|
"message": "Load original images instead of thumbnails"
|
||||||
},
|
},
|
||||||
|
@ -113,12 +116,6 @@
|
||||||
"option_ajax_comments": {
|
"option_ajax_comments": {
|
||||||
"message": "Send comments via AJAX (CTRL+Enter)"
|
"message": "Send comments via AJAX (CTRL+Enter)"
|
||||||
},
|
},
|
||||||
"option_right_panel": {
|
|
||||||
"message": "Right side panel"
|
|
||||||
},
|
|
||||||
"option_right_panel_to_unread": {
|
|
||||||
"message": "\"Go to unread comment\" button"
|
|
||||||
},
|
|
||||||
"option_fluid_layout": {
|
"option_fluid_layout": {
|
||||||
"message": "Fluid layout"
|
"message": "Fluid layout"
|
||||||
},
|
},
|
||||||
|
@ -180,9 +177,6 @@
|
||||||
"option_other_move_all_to_menu":{
|
"option_other_move_all_to_menu":{
|
||||||
"message": "Move \"All posts\" to left menu"
|
"message": "Move \"All posts\" to left menu"
|
||||||
},
|
},
|
||||||
"option_other_remove_fucking_button":{
|
|
||||||
"message": "Remove the fucking button"
|
|
||||||
},
|
|
||||||
"option_other_post_draft_save":{
|
"option_other_post_draft_save":{
|
||||||
"message": "Save post drafts"
|
"message": "Save post drafts"
|
||||||
},
|
},
|
||||||
|
|
|
@ -50,6 +50,9 @@
|
||||||
"option_fancybox_bind_images_to_one_flow": {
|
"option_fancybox_bind_images_to_one_flow": {
|
||||||
"message": "Связать все картинки в одну галерею Fancybox"
|
"message": "Связать все картинки в одну галерею Fancybox"
|
||||||
},
|
},
|
||||||
|
"option_fancybox_smart_hints": {
|
||||||
|
"message": "Генерировать подписи к картинкам из тегов"
|
||||||
|
},
|
||||||
"option_images_load_original": {
|
"option_images_load_original": {
|
||||||
"message": "Загружать оригиналы вместо миниатюр"
|
"message": "Загружать оригиналы вместо миниатюр"
|
||||||
},
|
},
|
||||||
|
@ -113,12 +116,6 @@
|
||||||
"option_ajax_comments": {
|
"option_ajax_comments": {
|
||||||
"message": "Отправка комментариев через AJAX (CTRL+Enter)"
|
"message": "Отправка комментариев через AJAX (CTRL+Enter)"
|
||||||
},
|
},
|
||||||
"option_right_panel": {
|
|
||||||
"message": "Боковая панель справа"
|
|
||||||
},
|
|
||||||
"option_right_panel_to_unread": {
|
|
||||||
"message": "Кнопка \"Перейти к непрочитанному\""
|
|
||||||
},
|
|
||||||
"option_fluid_layout": {
|
"option_fluid_layout": {
|
||||||
"message": ""Резиновая" вёрстка (растянуть сайт по горизонтали)"
|
"message": ""Резиновая" вёрстка (растянуть сайт по горизонтали)"
|
||||||
},
|
},
|
||||||
|
@ -180,9 +177,6 @@
|
||||||
"option_other_move_all_to_menu":{
|
"option_other_move_all_to_menu":{
|
||||||
"message": "Переместить \"Всё подряд\" в левое меню"
|
"message": "Переместить \"Всё подряд\" в левое меню"
|
||||||
},
|
},
|
||||||
"option_other_remove_fucking_button":{
|
|
||||||
"message": "Убрать ёбаную кнопку"
|
|
||||||
},
|
|
||||||
"option_other_post_draft_save":{
|
"option_other_post_draft_save":{
|
||||||
"message": "Сохранение черновика поста"
|
"message": "Сохранение черновика поста"
|
||||||
},
|
},
|
||||||
|
|
|
@ -1,28 +0,0 @@
|
||||||
#pp-right-panel {
|
|
||||||
width: 32px;
|
|
||||||
position: fixed;
|
|
||||||
top: 50%;
|
|
||||||
right: 3px;
|
|
||||||
opacity: .3;
|
|
||||||
transition: opacity 500ms;
|
|
||||||
}
|
|
||||||
|
|
||||||
#pp-right-panel:hover {
|
|
||||||
opacity: 1;
|
|
||||||
transition: opacity 500ms;
|
|
||||||
}
|
|
||||||
|
|
||||||
#pp-right-panel #pp-go-to-unread {
|
|
||||||
background-image: url("/img/menu-my.png");
|
|
||||||
height: 32px;
|
|
||||||
width: 32px;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
|
|
||||||
#pp-right-panel span#pp-unread-count {
|
|
||||||
position: relative;
|
|
||||||
top: 7px;
|
|
||||||
left: 11px;
|
|
||||||
-webkit-user-select: none;
|
|
||||||
user-select: none;
|
|
||||||
}
|
|
|
@ -124,7 +124,7 @@ div#markItUpText-input {
|
||||||
right: 5px;
|
right: 5px;
|
||||||
top: 5px;
|
top: 5px;
|
||||||
display: none;
|
display: none;
|
||||||
background-image: url('//point.im/img/btn-edit.png');
|
background-image: url("//point.im/img/btn-edit.png");
|
||||||
background-size: 100% 100%;
|
background-size: 100% 100%;
|
||||||
width: 16px;
|
width: 16px;
|
||||||
height: 16px;
|
height: 16px;
|
||||||
|
@ -216,44 +216,3 @@ div#markItUpText-input {
|
||||||
background-position: 0 0;
|
background-position: 0 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* "All" link in left menu */
|
|
||||||
#pp-left-menu-all {
|
|
||||||
/* Opened Lock icon from default point.im icon set */
|
|
||||||
background-image: url('/img/icon-private-inactive.png') !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Highlight post with new comments */
|
|
||||||
.pp-post-unread {
|
|
||||||
background-color: #EEFFEE;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Video from direct links */
|
|
||||||
.pp-video-player {
|
|
||||||
display: block;
|
|
||||||
max-width: 95%;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Audio from direct links */
|
|
||||||
.pp-audio-player {
|
|
||||||
display: block;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Coub embedded video */
|
|
||||||
.pp-video-player-coub {
|
|
||||||
max-width: 640px;
|
|
||||||
border: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* New posts and comments auto refresh in left menu by @NokitaKaze */
|
|
||||||
.pp-left-menu-refreshed {
|
|
||||||
background-color: #f2ebee;
|
|
||||||
color: #7c3558;
|
|
||||||
}
|
|
||||||
|
|
||||||
#pp-iframe-unread-refresh {
|
|
||||||
width: 600px;
|
|
||||||
height: 300px;
|
|
||||||
display: none;
|
|
||||||
}
|
|
File diff suppressed because it is too large
Load diff
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"manifest_version": 2,
|
"manifest_version": 2,
|
||||||
"name": "Point+",
|
"name": "Point+",
|
||||||
"version": "1.42.1",
|
"version": "1.36.4",
|
||||||
"default_locale": "ru",
|
"default_locale": "ru",
|
||||||
"author": "__MSG_ext_author__",
|
"author": "__MSG_ext_author__",
|
||||||
"homepage_url": "https://bitbucket.org/skobkin/chrome_point_plus",
|
"homepage_url": "https://bitbucket.org/skobkin/chrome_point_plus",
|
||||||
|
@ -27,7 +27,7 @@
|
||||||
{
|
{
|
||||||
"matches": ["http://*.point.im/*", "https://*.point.im/*"],
|
"matches": ["http://*.point.im/*", "https://*.point.im/*"],
|
||||||
"js": [
|
"js": [
|
||||||
"vendor/jquery/dist/jquery.min.js",
|
"vendor/jquery/jquery.min.js",
|
||||||
|
|
||||||
"js/options-manager.js",
|
"js/options-manager.js",
|
||||||
"js/message-sender.js",
|
"js/message-sender.js",
|
||||||
|
|
|
@ -11,10 +11,10 @@ function Booru($links, options) {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Base URL of gelbooru picture API (@NokitaKaze)
|
* Откуда тянуть картинки
|
||||||
* @type {String}
|
* @type {String}
|
||||||
*/
|
*/
|
||||||
Booru.baseUrl = 'https://evidell.xyz/get_booru_picture.php';
|
Booru.baseUrl = 'https://api.kanaria.ru/point/get_booru_picture.php';
|
||||||
|
|
||||||
/* jshint maxlen:false */
|
/* jshint maxlen:false */
|
||||||
Booru.services = {
|
Booru.services = {
|
||||||
|
|
|
@ -40,6 +40,11 @@
|
||||||
<input type="checkbox" name="option-fancybox-bind-images-to-one-flow">
|
<input type="checkbox" name="option-fancybox-bind-images-to-one-flow">
|
||||||
<span data-i18n="option_fancybox_bind_images_to_one_flow"></span>
|
<span data-i18n="option_fancybox_bind_images_to_one_flow"></span>
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
|
<label class="option-node">
|
||||||
|
<input type="checkbox" name="option-fancybox-smart-hints">
|
||||||
|
<span data-i18n="option_fancybox_smart_hints"></span>
|
||||||
|
</label>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<label class="option-node">
|
<label class="option-node">
|
||||||
|
@ -150,16 +155,6 @@
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="option-node">
|
|
||||||
<input type="checkbox" name="option-right-panel" id="option-right-panel">
|
|
||||||
<label for="option-right-panel" data-i18n="option_right_panel"></label>
|
|
||||||
|
|
||||||
<label class="option-node">
|
|
||||||
<input type="checkbox" name="option-right-panel-to-unread">
|
|
||||||
<span data-i18n="option_right_panel_to_unread"></span>
|
|
||||||
</label>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<label class="option-node">
|
<label class="option-node">
|
||||||
<input type="checkbox" name="option-fluid-layout">
|
<input type="checkbox" name="option-fluid-layout">
|
||||||
<span data-i18n="option_fluid_layout"></span>
|
<span data-i18n="option_fluid_layout"></span>
|
||||||
|
@ -237,11 +232,6 @@
|
||||||
<span data-i18n="option_other_move_all_to_menu"></span>
|
<span data-i18n="option_other_move_all_to_menu"></span>
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
<label class="option-node">
|
|
||||||
<input type="checkbox" name="option-other-remove-fucking-button">
|
|
||||||
<span data-i18n="option_other_remove_fucking_button"></span>
|
|
||||||
</label>
|
|
||||||
|
|
||||||
<label class="option-node">
|
<label class="option-node">
|
||||||
<input type="checkbox" name="option-other-post-draft-save">
|
<input type="checkbox" name="option-other-post-draft-save">
|
||||||
<span data-i18n="option_other_post_draft_save"></span>
|
<span data-i18n="option_other_post_draft_save"></span>
|
||||||
|
|
18
nbproject/project.properties
Normal file
18
nbproject/project.properties
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
auxiliary.org-netbeans-modules-css-prep.less_2e_compiler_2e_options=
|
||||||
|
auxiliary.org-netbeans-modules-css-prep.less_2e_enabled=false
|
||||||
|
auxiliary.org-netbeans-modules-css-prep.less_2e_mappings=/less:/css
|
||||||
|
auxiliary.org-netbeans-modules-css-prep.sass_2e_compiler_2e_options=
|
||||||
|
auxiliary.org-netbeans-modules-css-prep.sass_2e_enabled=false
|
||||||
|
auxiliary.org-netbeans-modules-css-prep.sass_2e_mappings=/scss:/css
|
||||||
|
auxiliary.org-netbeans-modules-javascript2-requirejs.enabled=false
|
||||||
|
auxiliary.org-netbeans-modules-web-clientproject-api.js_2e_libs_2e_folder=node_modules/bower/node_modules/inquirer/node_modules/rx/src/core/linq/observable
|
||||||
|
browser.autorefresh.Chrome.INTEGRATED=true
|
||||||
|
browser.highlightselection.Chrome.INTEGRATED=true
|
||||||
|
config.folder=
|
||||||
|
file.reference.src-chrome_point_plus=.
|
||||||
|
files.encoding=UTF-8
|
||||||
|
grunt.action.build=
|
||||||
|
site.root.folder=${file.reference.src-chrome_point_plus}
|
||||||
|
start.file=chrome_point_plus/options.html
|
||||||
|
test.folder=
|
||||||
|
web.context.root=/file:///chrome_point_plus
|
9
nbproject/project.xml
Normal file
9
nbproject/project.xml
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project xmlns="http://www.netbeans.org/ns/project/1">
|
||||||
|
<type>org.netbeans.modules.web.clientproject</type>
|
||||||
|
<configuration>
|
||||||
|
<data xmlns="http://www.netbeans.org/ns/clientside-project/1">
|
||||||
|
<name>chrome_point_plus</name>
|
||||||
|
</data>
|
||||||
|
</configuration>
|
||||||
|
</project>
|
|
@ -1,8 +0,0 @@
|
||||||
#!/usr/bin/env bash
|
|
||||||
BROWSER_BINARY=$1
|
|
||||||
PATH_EXTENSION=$2
|
|
||||||
PATH_KEY=$3
|
|
||||||
|
|
||||||
echo "Packing extension using $BROWSER_BINARY and key from $PATH_KEY"
|
|
||||||
#echo "$BROWSER_BINARY --pack-extension=$PATH_EXTENSION --pack-extension-key=$PATH_KEY"
|
|
||||||
eval "$BROWSER_BINARY --pack-extension=$PATH_EXTENSION --pack-extension-key=$PATH_KEY"
|
|
|
@ -1,2 +0,0 @@
|
||||||
#!/usr/bin/env bash
|
|
||||||
zip -9 -r chrome_point_plus.zip chrome_point_plus
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "chrome-point-plus",
|
"name": "chrome-point-plus",
|
||||||
"version": "1.42.1",
|
"version": "1.36.4",
|
||||||
"description": "Chrome extension for point.im",
|
"description": "Chrome extension for point.im",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|
Loading…
Reference in a new issue