refactor: change log statements to BetterSEQTA+

This commit is contained in:
SethBurkart123
2024-02-05 17:22:36 +11:00
parent f5dfba2872
commit a08244607e
+5 -5
View File
@@ -742,7 +742,7 @@ function InjectCustomIcons() {
} }
export function AppendElementsToDisabledPage() { export function AppendElementsToDisabledPage() {
console.log("Appending elements to disabled page") console.log("[BetterSEQTA+] Appending elements to disabled page")
AddBetterSEQTAElements(false) AddBetterSEQTAElements(false)
let settingsStyle = document.createElement('style') let settingsStyle = document.createElement('style')
@@ -2165,7 +2165,7 @@ function AddCustomShortcutsToPage() {
async function loadHomePage() { async function loadHomePage() {
// Sends the html data for the home page // Sends the html data for the home page
console.log('[BetterSEQTA] Started Loading Home Page') console.log('[BetterSEQTA+] Started Loading Home Page')
document.title = 'Home ― SEQTA Learn' document.title = 'Home ― SEQTA Learn'
const element = document.querySelector('[data-key=home]') const element = document.querySelector('[data-key=home]')
@@ -2587,7 +2587,7 @@ export function enableNotificationCollector() {
'notifications__bubble___1EkSQ' 'notifications__bubble___1EkSQ'
)[0] )[0]
if (typeof alertdiv == 'undefined') { if (typeof alertdiv == 'undefined') {
console.log('[BetterSEQTA] No notifications currently') console.log('[BetterSEQTA+] No notifications currently')
} else { } else {
alertdiv.textContent = Notifications.payload.notifications.length alertdiv.textContent = Notifications.payload.notifications.length
} }
@@ -2637,7 +2637,7 @@ function createNewShortcut(link: any, icon: any, viewBox: any, title: any) {
function SendNewsPage() { function SendNewsPage() {
setTimeout(function () { setTimeout(function () {
// Sends the html data for the home page // Sends the html data for the home page
console.log('[BetterSEQTA] Started Loading News Page') console.log('[BetterSEQTA+] Started Loading News Page')
document.title = 'News ― SEQTA Learn' document.title = 'News ― SEQTA Learn'
var element = document.querySelector('[data-key=news]') var element = document.querySelector('[data-key=news]')
@@ -2752,7 +2752,7 @@ function documentTextColor () {
browser.storage.onChanged.addListener(documentTextColor) browser.storage.onChanged.addListener(documentTextColor)
function LoadInit() { function LoadInit() {
console.log('[BetterSEQTA] Started Init') console.log('[BetterSEQTA+] Started Init')
const result = browser.storage.local.get() const result = browser.storage.local.get()
function open (result: any) { function open (result: any) {
if (result.onoff) { if (result.onoff) {