fix matches and change css id

This commit is contained in:
Maxim Slipenko 2023-05-14 00:04:52 +03:00
parent b388079da6
commit 3a71b38997
2 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "VK Messages Tooltip", "name": "VK Messages Tooltip",
"version": "1.2", "version": "1.2.1",
"manifest_version": 3, "manifest_version": 3,
"content_scripts": [ "content_scripts": [
{ {
@ -8,7 +8,7 @@
"script.js" "script.js"
], ],
"matches": [ "matches": [
"https://vk.com/im*" "https://vk.com/*"
] ]
} }
] ]

View File

@ -43,6 +43,6 @@ document.addEventListener('click', function(event) {
const css = document.createElement('style'); const css = document.createElement('style');
css.id = "my-custom-super-id" css.id = "vk-message-tooltip-style"
css.appendChild(document.createTextNode(styles)); css.appendChild(document.createTextNode(styles));
document.getElementsByTagName("body")[0].appendChild(css); document.getElementsByTagName("body")[0].appendChild(css);