Manifest to V3, removed extension build and private key

This commit is contained in:
2022-09-03 23:12:40 +03:00
parent 8b4f8f19f7
commit 35d5f2cab3
4 changed files with 25 additions and 41 deletions

View File

@@ -161,7 +161,7 @@
)[0];
} while (!buttonContainer || giveUpAt < Date.now());
// createSettingsButton(buttonContainer);
createSettingsButton(buttonContainer);
// Options for the observer (which mutations to observe)
const config = { attributes: true, childList: true, subtree: true };
@@ -183,10 +183,10 @@
const username = n.attributes["data-a-user"].value;
if (username) {
let noteButton = usernameContainer.querySelector(".twitchnote");
let noteButton = usernameContainer.querySelector(".twitch-note");
if (!noteButton) {
const twitchNote = document.createElement("span");
twitchNote.classList.add("twitchnote");
twitchNote.classList.add("twitch-note");
twitchNote.style.cursor = "pointer";
twitchNote.addEventListener("click", () => {
openTwitchNote(username);