From 3a71b38997891e35e81dfa7c216b5f283e9f080b Mon Sep 17 00:00:00 2001 From: Maxim Slipenko Date: Sun, 14 May 2023 00:04:52 +0300 Subject: [PATCH] fix matches and change css id --- manifest.json | 4 ++-- script.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/manifest.json b/manifest.json index 366d6fa..fb6e8d3 100644 --- a/manifest.json +++ b/manifest.json @@ -1,6 +1,6 @@ { "name": "VK Messages Tooltip", - "version": "1.2", + "version": "1.2.1", "manifest_version": 3, "content_scripts": [ { @@ -8,7 +8,7 @@ "script.js" ], "matches": [ - "https://vk.com/im*" + "https://vk.com/*" ] } ] diff --git a/script.js b/script.js index f0a4ba6..b53e00e 100644 --- a/script.js +++ b/script.js @@ -43,6 +43,6 @@ document.addEventListener('click', function(event) { const css = document.createElement('style'); -css.id = "my-custom-super-id" +css.id = "vk-message-tooltip-style" css.appendChild(document.createTextNode(styles)); document.getElementsByTagName("body")[0].appendChild(css); \ No newline at end of file