mirror of
https://github.com/anatolykopyl/vk-mute.git
synced 2026-03-26 12:55:13 +00:00
Migrate to manifest v3
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 2.2 KiB |
123
extension/dist/background.js
vendored
123
extension/dist/background.js
vendored
File diff suppressed because one or more lines are too long
1224
extension/dist/dom.js
vendored
1224
extension/dist/dom.js
vendored
File diff suppressed because one or more lines are too long
5
extension/dist/popup.html
vendored
5
extension/dist/popup.html
vendored
@@ -2,12 +2,11 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
</head>
|
||||
<script defer src="popup.js"></script></head>
|
||||
<body>
|
||||
<div class="header">
|
||||
<h3 align="center">VK Mute</h3>
|
||||
</div>
|
||||
<!--<button id="disableButton">Toggle</button>-->
|
||||
<div style="text-align: center;">
|
||||
<label class="switch">
|
||||
<input type="checkbox" id="disableCheckbox">
|
||||
@@ -19,5 +18,5 @@
|
||||
<div class="donation_btn">
|
||||
<a href="./donate.html" title="Пожертвовать" target="_blank">💸</a>
|
||||
</div>
|
||||
<script src="popup.js"></script></body>
|
||||
</body>
|
||||
</html>
|
||||
412
extension/dist/popup.js
vendored
412
extension/dist/popup.js
vendored
File diff suppressed because one or more lines are too long
@@ -6,20 +6,21 @@
|
||||
"128": "assets/icons/icon128.png",
|
||||
"48": "assets/icons/icon48.png"
|
||||
},
|
||||
"version": "1.4",
|
||||
"version": "1.5.0",
|
||||
"description": "Позволяет заглушить нежелаемых собеседников",
|
||||
"permissions": [
|
||||
"declarativeContent",
|
||||
"storage"
|
||||
],
|
||||
"background": {
|
||||
"scripts": ["dist/background.js"],
|
||||
"persistent": false
|
||||
},
|
||||
"page_action": {
|
||||
"action": {
|
||||
"default_icon": {
|
||||
"140": "assets/icons/icon140.png",
|
||||
"128": "assets/icons/icon128.png",
|
||||
"48": "assets/icons/icon48.png"
|
||||
},
|
||||
"default_title": "VK Mute",
|
||||
"default_popup": "dist/popup.html"
|
||||
},
|
||||
"manifest_version": 2,
|
||||
"manifest_version": 3,
|
||||
"content_scripts": [
|
||||
{
|
||||
"matches": ["https://*.vk.com/*"],
|
||||
@@ -27,6 +28,9 @@
|
||||
}
|
||||
],
|
||||
"web_accessible_resources": [
|
||||
"assets/mute.png"
|
||||
{
|
||||
"resources": ["assets/mute.png"],
|
||||
"matches": ["https://*.vk.com/*"]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user