diff --git a/public/backgrounds/background.html b/public/backgrounds/background.html index b7fd1faf..e6561a62 100644 --- a/public/backgrounds/background.html +++ b/public/backgrounds/background.html @@ -19,6 +19,7 @@ object-fit: cover; } + diff --git a/public/manifest.json b/public/manifest.json index d04db9ce..ecffa5c3 100644 --- a/public/manifest.json +++ b/public/manifest.json @@ -4,9 +4,7 @@ "version": "3.2.2", "description": "Make SEQTA usable and beautiful! A fork of BetterSEQTA to continue development and add WAY more features!!!", "icons": { - "32": "icons/icon-32.png", - "48": "icons/icon-48.png", - "64": "icons/icon-64.png" + "48": "icons/icon-48.png" }, "browser_action": { "browser_style": true, @@ -47,5 +45,4 @@ "client/*", "resources/*", "backgrounds/*" - ] -} +] \ No newline at end of file diff --git a/src/SEQTA.js b/src/SEQTA.js index f0be738d..813505af 100644 --- a/src/SEQTA.js +++ b/src/SEQTA.js @@ -1,5 +1,5 @@ /* eslint-disable no-inner-declarations */ -import browser from 'webextension-polyfill' +import browser from 'webextension-polyfill'; import { animate, spring, stagger } from 'motion'; import Color from 'color'; import Sortable, { AutoScroll } from 'sortablejs/modular/sortable.core.esm.js'; @@ -220,7 +220,7 @@ function OpenWhatsNewPopup() { - + @@ -287,6 +287,7 @@ async function finishLoad() { console.log(err); } + const result = browser.storage.local.get(['justupdated']); function open (result) { if (result.justupdated && !document.getElementById('whatsnewbk')) { @@ -371,7 +372,6 @@ async function RunColourCheck(element) { element.contentDocument.documentElement.childNodes[1].style.color = 'white'; } } - export function GetCSSElement (file) { const cssFile = browser.runtime.getURL(file) const fileref = document.createElement('link') @@ -2183,6 +2183,7 @@ export function RemoveShortcutDiv(elements) { function AddCustomShortcutsToPage() { const result = browser.storage.local.get(['customshortcuts']) function open (result) { + var customshortcuts = Object.values(result)[0]; if (customshortcuts.length > 0) { document.getElementsByClassName('shortcut-container')[0].style.display = @@ -2305,6 +2306,7 @@ function SendHomePage() { // Adds the shortcuts to the shortcut container const result = browser.storage.local.get(['shortcuts']) function open (result) { + const shortcuts = Object.values(result)[0]; addShortcuts(shortcuts); } diff --git a/src/background.js b/src/background.js index 4a3d41c6..34372d13 100644 --- a/src/background.js +++ b/src/background.js @@ -1,3 +1,4 @@ + import browser from 'webextension-polyfill' import { onError } from './seqta/utils/onError.js'; export const openDB = () => { diff --git a/src/css/injected.scss b/src/css/injected.scss index cca22770..124891e8 100644 --- a/src/css/injected.scss +++ b/src/css/injected.scss @@ -426,7 +426,7 @@ td.colourBar { /* Provides space for the icon */ } #toolbar span:has(.search)::before { - content: ""; + content: "\eca5"; /* Unicode for the search icon */ position: absolute; left: 8px; @@ -1879,7 +1879,7 @@ body { align-items: center; } [data-label="inbox"] > .LabelList__name___-CHgq::before { - content: ""; + content: "\eb70"; /* Unicode for the search icon */ color: currentColor; font-size: 16px; @@ -1889,7 +1889,7 @@ body { pointer-events: none; } [data-label="outbox"] > .LabelList__name___-CHgq::before { - content: ""; + content: "\eca6"; /* Unicode for the search icon */ color: currentColor; font-size: 16px; @@ -1899,7 +1899,7 @@ body { pointer-events: none; } [data-label="starred"] > .LabelList__name___-CHgq::before { - content: ""; + content: "\ece8"; color: currentColor; font-size: 16px; margin-right: 8px; @@ -1908,7 +1908,7 @@ body { pointer-events: none; } [data-label="trash"] > .LabelList__name___-CHgq::before { - content: ""; + content: "\ed2c"; /* Unicode for the search icon */ color: currentColor; font-size: 16px; @@ -2739,7 +2739,7 @@ body:has(.outside-container:not(.hide)) #AddedSettings.tooltip:hover > .tooltipt cursor: pointer; } #whatsnewclosebutton::before { - content: ""; + content: "\ed8a"; color: currentColor; font-size: 24px; font-family: "IconFamily";