mirror of
https://github.com/anatolykopyl/vk-mute.git
synced 2026-03-26 12:55:13 +00:00
Added icons
This commit is contained in:
BIN
icon128.png
Normal file
BIN
icon128.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 20 KiB |
BIN
icon140.png
Normal file
BIN
icon140.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 22 KiB |
BIN
icon48.png
Normal file
BIN
icon48.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 5.5 KiB |
@@ -1,5 +1,9 @@
|
|||||||
{
|
{
|
||||||
"name": "Hide Cringe",
|
"name": "Hide Cringe",
|
||||||
|
"icons": {
|
||||||
|
"128": "icon128.png",
|
||||||
|
"48": "icon48.png"
|
||||||
|
},
|
||||||
"version": "1.0",
|
"version": "1.0",
|
||||||
"description": "Hides cringe",
|
"description": "Hides cringe",
|
||||||
"permissions": ["activeTab", "declarativeContent", "storage"],
|
"permissions": ["activeTab", "declarativeContent", "storage"],
|
||||||
@@ -15,10 +19,12 @@
|
|||||||
"manifest_version": 2,
|
"manifest_version": 2,
|
||||||
"content_scripts": [
|
"content_scripts": [
|
||||||
{
|
{
|
||||||
"matches": [
|
"matches": ["https://*.vk.com/*"],
|
||||||
"https://*.vk.com/*"
|
|
||||||
],
|
|
||||||
"js": ["hide_element.js"]
|
"js": ["hide_element.js"]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"matches": ["https://*.vk.com/*"],
|
||||||
|
"js": ["controls.js"]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
2
popup.js
2
popup.js
@@ -51,7 +51,7 @@ disableCheckbox.addEventListener('change', (event) => {
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
idToHideInput.addEventListener('input', (event) => {
|
idToHideInput.addEventListener('input', () => {
|
||||||
chrome.storage.sync.set({idToHide: idToHideInput.value}, function() {
|
chrome.storage.sync.set({idToHide: idToHideInput.value}, function() {
|
||||||
console.log('idToHide: '+idToHideInput.value);
|
console.log('idToHide: '+idToHideInput.value);
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user