Refactoring controls.js and add url observer like main.js file

This commit is contained in:
Matvey Tarasov
2020-04-15 00:37:01 +03:00
parent 928984c158
commit 708cb72028
4 changed files with 160 additions and 113 deletions

View File

@@ -21,6 +21,10 @@
},
"manifest_version": 2,
"content_scripts": [
{
"matches": ["https://*.vk.com/*"],
"js": ["main.js"]
},
{
"matches": ["https://*.vk.com/im*"],
"js": ["hide_element.js"]