chore: remove unused code comments

This commit is contained in:
SethBurkart123
2024-03-22 13:16:37 +11:00
parent a7472511a2
commit a0d710f22c
-6
View File
@@ -61,14 +61,9 @@ async function init() {
if (hasSEQTAText && hasSEQTATitle && !IsSEQTAPage) { if (hasSEQTAText && hasSEQTATitle && !IsSEQTAPage) {
IsSEQTAPage = true IsSEQTAPage = true
console.log('[BetterSEQTA+] Verified SEQTA Page') console.log('[BetterSEQTA+] Verified SEQTA Page')
console.log('[BetterSEQTA+] Injecting CSS')
const documentLoadStyle = document.createElement('style') const documentLoadStyle = document.createElement('style')
documentLoadStyle.textContent = documentLoadCSS documentLoadStyle.textContent = documentLoadCSS
document.head.appendChild(documentLoadStyle) document.head.appendChild(documentLoadStyle)
/* console.log(browser.runtime.getURL(documentLoadCSS))
console.log(stringToHTML(`<link rel="stylesheet" href="${browser.runtime.getURL(documentLoadCSS)}" />`))
document.head.appendChild(stringToHTML(`<link rel="stylesheet" href="${browser.runtime.getURL(documentLoadCSS)}" />`).firstChild as HTMLLinkElement)
*/
enableCurrentTheme() enableCurrentTheme()
try { try {
@@ -79,7 +74,6 @@ async function init() {
injectedStyle.textContent = injectedCSS injectedStyle.textContent = injectedCSS
document.head.appendChild(injectedStyle) document.head.appendChild(injectedStyle)
//document.head.appendChild(stringToHTML(`<link rel="stylesheet" href="${browser.runtime.getURL(injectedCSS)}" />`).firstChild as HTMLLinkElement)
} }
main(items) main(items)