fix matches and change css id
This commit is contained in:
parent
b388079da6
commit
3a71b38997
@ -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/*"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
@ -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);
|
Reference in New Issue
Block a user