mirror of
https://github.com/anatolykopyl/vk-mute.git
synced 2026-03-26 21:05:16 +00:00
Compare commits
29 Commits
v1.2
...
85596a95a6
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
85596a95a6 | ||
|
|
4cebd66a85 | ||
|
|
78c6b02214 | ||
|
|
97a8920057 | ||
|
|
a22c3485fa | ||
|
|
fd8c01e41b | ||
|
|
aad1365953 | ||
|
|
de578fd210 | ||
|
|
59ca6bb360 | ||
|
|
f7474d863b | ||
|
|
9a2381690e | ||
|
|
ecc265430b | ||
|
|
a8290e41f3 | ||
|
|
343ebe14ea | ||
|
|
31dcbae1da | ||
|
|
2330704243 | ||
|
|
56bf77001c | ||
|
|
d8f653382b | ||
| afa274b651 | |||
| 9a201e7412 | |||
|
|
fee04826c9 | ||
|
|
ae88addcfd | ||
|
|
119d598c24 | ||
|
|
c227c69aaf | ||
|
|
874c0694ba | ||
|
|
671ab3c037 | ||
|
|
5f5e5d1461 | ||
| 42d352c0f6 | |||
|
|
2ee163cba7 |
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,4 +1,5 @@
|
|||||||
/node_modules
|
/node_modules
|
||||||
|
.DS_Store
|
||||||
/.cache
|
/.cache
|
||||||
/.idea
|
/.idea
|
||||||
/assets
|
/assets
|
||||||
|
|||||||
19
README.md
19
README.md
@@ -6,11 +6,15 @@
|
|||||||
Если нажать на кнопку 🔇 напротив сообщения в беседе, то все сообщения во всех беседах от этого отправителя будут скрыты.
|
Если нажать на кнопку 🔇 напротив сообщения в беседе, то все сообщения во всех беседах от этого отправителя будут скрыты.
|
||||||
|
|
||||||
## Установка:
|
## Установка:
|
||||||
1. Скачать ZIP
|
### Вариант 1
|
||||||
|
Скачать из интернет-магазина Chrome ([ссылка](https://chrome.google.com/webstore/detail/vk-mute/mcnkfnjggkbenehgfelnnkklpkpjeibl)).
|
||||||
|
|
||||||
|
### Вариант 2
|
||||||
|
1. [Скачать ZIP](https://github.com/anatolykopyl/vk-mute/releases)
|
||||||
2. Разархивировать в удобное место
|
2. Разархивировать в удобное место
|
||||||
3. Хром > Настройки > Расширения
|
3. Хром > Настройки > Расширения
|
||||||
1. Включить режим разработчика
|
1. Включить режим разработчика
|
||||||
2. Загрузить распакованное, выбрать каталог с расширением (vk-mute-master/extension)
|
2. Загрузить распакованное, выбрать каталог с расширением
|
||||||
|
|
||||||
Расширение должно работать во всех браузерах на движке Chromium.
|
Расширение должно работать во всех браузерах на движке Chromium.
|
||||||
|
|
||||||
@@ -18,3 +22,14 @@
|
|||||||
- Google Chrome
|
- Google Chrome
|
||||||
- Opera
|
- Opera
|
||||||
- Brave
|
- Brave
|
||||||
|
|
||||||
|
## Разработка:
|
||||||
|
Для живого обновления содержимого каталога `extension` во время работы запускаем:
|
||||||
|
```
|
||||||
|
$ npm run watch
|
||||||
|
```
|
||||||
|
|
||||||
|
Для билда расширения:
|
||||||
|
```
|
||||||
|
$ npm run build
|
||||||
|
```
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 13 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 14 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 5.5 KiB After Width: | Height: | Size: 4.3 KiB |
2
extension/dist/background.js
vendored
2
extension/dist/background.js
vendored
File diff suppressed because one or more lines are too long
4
extension/dist/dom.js
vendored
4
extension/dist/dom.js
vendored
File diff suppressed because one or more lines are too long
4
extension/dist/popup.js
vendored
4
extension/dist/popup.js
vendored
File diff suppressed because one or more lines are too long
@@ -6,7 +6,7 @@
|
|||||||
"128": "assets/icons/icon128.png",
|
"128": "assets/icons/icon128.png",
|
||||||
"48": "assets/icons/icon48.png"
|
"48": "assets/icons/icon48.png"
|
||||||
},
|
},
|
||||||
"version": "1.2",
|
"version": "1.4",
|
||||||
"description": "Позволяет заглушить нежелаемых собеседников",
|
"description": "Позволяет заглушить нежелаемых собеседников",
|
||||||
"permissions": [
|
"permissions": [
|
||||||
"declarativeContent",
|
"declarativeContent",
|
||||||
|
|||||||
8586
package-lock.json
generated
8586
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -20,11 +20,11 @@
|
|||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/core": "^7.9.0",
|
"@babel/core": "^7.9.0",
|
||||||
"@babel/preset-env": "^7.9.5",
|
"@babel/preset-env": "^7.9.5",
|
||||||
"babel-loader": "^8.1.0",
|
"babel-loader": "^8.3.0",
|
||||||
"css-loader": "^3.5.2",
|
"css-loader": "^6.7.3",
|
||||||
"html-webpack-plugin": "^4.2.0",
|
"html-webpack-plugin": "^5.5.0",
|
||||||
"style-loader": "^1.1.4",
|
"style-loader": "^1.1.4",
|
||||||
"webpack": "^4.42.1",
|
"webpack": "^5.76.0",
|
||||||
"webpack-cli": "^4.7.2"
|
"webpack-cli": "^4.7.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,6 +4,7 @@
|
|||||||
|
|
||||||
body {
|
body {
|
||||||
min-width: 160px;
|
min-width: 160px;
|
||||||
|
margin: 0;
|
||||||
}
|
}
|
||||||
/* The switch - the box around the slider */
|
/* The switch - the box around the slider */
|
||||||
.switch {
|
.switch {
|
||||||
@@ -71,19 +72,17 @@ input:checked + .slider:before {
|
|||||||
.header {
|
.header {
|
||||||
background-color: #2196F3;
|
background-color: #2196F3;
|
||||||
color: white;
|
color: white;
|
||||||
width: 100vw;
|
width: 100%;
|
||||||
|
height: 3rem;
|
||||||
position: relative;
|
position: relative;
|
||||||
margin-left: -50vw;
|
display: flex;
|
||||||
left: 50%;
|
align-items: center;
|
||||||
margin-top: -20vw;
|
justify-content: center;
|
||||||
margin-bottom: 10vw;
|
margin-bottom: 1rem;
|
||||||
padding-top: 5px;
|
|
||||||
padding-bottom: 5px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
h3 {
|
h3 {
|
||||||
margin-bottom: 0;
|
margin: 0;
|
||||||
padding: 1rem 0 .5rem 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.idToHide {
|
.idToHide {
|
||||||
@@ -92,7 +91,6 @@ h3 {
|
|||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
width: 100vw;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.idToHide:hover {
|
.idToHide:hover {
|
||||||
@@ -102,9 +100,8 @@ h3 {
|
|||||||
#id_list {
|
#id_list {
|
||||||
color: black;
|
color: black;
|
||||||
position: relative;
|
position: relative;
|
||||||
margin-left: -50vw;
|
width: 100%;
|
||||||
left: 50%;
|
margin-top: 1rem;
|
||||||
margin-top: 10vw;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.del_item {
|
.del_item {
|
||||||
@@ -119,6 +116,7 @@ h3 {
|
|||||||
.donation_btn {
|
.donation_btn {
|
||||||
text-align: right;
|
text-align: right;
|
||||||
margin-top: .5rem;
|
margin-top: .5rem;
|
||||||
|
padding: 0 10px 10px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
|
|||||||
Reference in New Issue
Block a user