mirror of
https://github.com/BetterSEQTA/BetterSEQTA-Plus.git
synced 2026-06-06 03:34:40 +00:00
chore: remove unused code comments
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user