diff --git a/README.md b/README.md index 0e5735d4..5013097f 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ -![betterseqta-dark-full](https://github.com/OG-RandomTechChannel/BestSEQTA/assets/140035326/9e51a6be-4da9-4cff-a746-070583cbddcb) +![betterseqta-dark-full]() -# BestSEQTA +# Better BetterSEQTA Forking the BetterSEQTA project to add extra functionality Looking for contributors! @@ -21,12 +21,8 @@ Looking for contributors! - Edge Supported - Brave Supported - (kinda) Opera Supported (We have found a issue that the manifest V3 version doesn't work on Opera, Please use Ultra Stable (3.0.2) - ## Credits -This extension was developed and maintained by [RandomTechChannel](https://github.com/OG-RandomTechChannel) - -> GitHub [@OG-RandomTechChannel](https://github.com/OG-RandomTechChannel) -> Youtube [@TheRandomTechChannel](https://www.youtube.com/@TheRandomTechChannel) +This extension was initially developed by [Nulkem](https://github.com/Nulkem/betterseqta), was ported to manifest V3 by [OG-RandomTechChannel](https://github.com/OG-RandomTechChannel) and is currently under active development by [SethBurkart](https://github.com/SethBurkart123) \ No newline at end of file diff --git a/src/.DS_Store b/src/.DS_Store index 888a8462..3c2d477e 100644 Binary files a/src/.DS_Store and b/src/.DS_Store differ diff --git a/src/SEQTA.js b/src/SEQTA.js index 4ec258de..d06dd2de 100644 --- a/src/SEQTA.js +++ b/src/SEQTA.js @@ -198,7 +198,7 @@ function ApplyCSSToHiddenMenuItems() { if (!Object.values(result.menuitems)[i].toggle) { stylesheetInnerText += SetDisplayNone(Object.keys(result.menuitems)[i]); console.log( - `[BestSEQTA] Hiding ${Object.keys(result.menuitems)[i]} menu item` + `[Better BetterSEQTA] Hiding ${Object.keys(result.menuitems)[i]} menu item` ); } } @@ -218,7 +218,7 @@ function OpenWhatsNewPopup() { var header = stringToHTML(`

What's New

-

BestSEQTA V${chrome.runtime.getManifest().version}

+

Better BetterSEQTA V${chrome.runtime.getManifest().version}

`).firstChild; imagecont = document.createElement('div'); @@ -237,20 +237,21 @@ function OpenWhatsNewPopup() { text = stringToHTML( `
-

3.1.2 - New API for News feed and bug fixes

-

3.1.1 - Under the hood improvements

-

3.1.0 - Complete overhaul

  • Upgraded Manifest to V3
  • Fixed transitional glitches
  • News feature wouldn't refresh until cookies were cleared
  • -

    3.0.1 - Bug fixes and working on manifest V3

    -

    3.0.0 - Started BestSEQTA

    -

    2.0.7 - Added support to other domains + Minor bug fixes

  • Fixed BestSEQTA not loading on some pages
  • Fixed text colour of notices being unreadable
  • Fixed pages not reloading when saving changes
  • +

    3.0.0 - Better BetterSEQTA *Complete Overhaul*

    +
  • Redesigned appearance
  • +
  • Upgraded to manifest V3 (longer support)
  • +
  • Fixed transitional glitches
  • +
  • Under the hood improvements
  • +
  • Fixed News Feed
  • +

    2.0.7 - Added support to other domains + Minor bug fixes

  • Fixed Better BetterSEQTA not loading on some pages
  • Fixed text colour of notices being unreadable
  • Fixed pages not reloading when saving changes
  • 2.0.2 - Minor bug fixes

  • Fixed indicator for current lesson
  • Fixed text colour for DM messages list in Light mode
  • Fixed user info text colour
  • -

    Sleek New Layout

  • Updated with a new font and presentation, BestSEQTA has never looked better.
  • +

    Sleek New Layout

  • Updated with a new font and presentation, Better BetterSEQTA has never looked better.
  • New Updated Sidebar

  • Condensed appearance with new updated icons.
  • Independent Light Mode and Dark Mode

  • Dark mode and Light mode are now available to pick alongside your chosen Theme Colour. Your Theme Colour will now become an accent colour for the page. Light/Dark mode can be toggled with the new button, found in the top-right of the menu bar.
  • -

    Create Custom Shortcuts

  • Found in the BestSEQTA Settings menu, custom shortcuts can now be created with a name and URL of your choice.
  • +

    Create Custom Shortcuts

  • Found in the Better BetterSEQTA Settings menu, custom shortcuts can now be created with a name and URL of your choice.
  • ` @@ -260,7 +261,7 @@ function OpenWhatsNewPopup() {
    Report bugs and feedback: - + @@ -474,7 +475,7 @@ function LoadPageElements() { var sublink = window.location.href.split("/")[4]; switch (sublink) { case "news": - console.log("[BestSEQTA] Started Init"); + console.log("[Better BetterSEQTA] Started Init"); chrome.storage.local.get(null, function (result) { if (result.onoff) { SendNewsPage(); @@ -499,7 +500,7 @@ function LoadPageElements() { "notifications__bubble___1EkSQ" )[0]; if (typeof alertdiv == 'undefined') { - console.log("[BestSEQTA] No notifications currently") + console.log("[Better BetterSEQTA] No notifications currently") } else { @@ -553,7 +554,7 @@ function LoadPageElements() { "notifications__bubble___1EkSQ" )[0]; if (typeof alertdiv == 'undefined') { - console.log("[BestSEQTA] No notifications currently") + console.log("[Better BetterSEQTA] No notifications currently") } else { @@ -637,7 +638,7 @@ function tryLoad() { }); waitForElm(".code").then((elm) => { - if (!elm.innerText.includes("BestSEQTA")) + if (!elm.innerText.includes("BetterSEQTA")) LoadPageElements(); }); @@ -891,7 +892,7 @@ function RunFunctionOnTrue(storedSetting) { } if (storedSetting.onoff) { - console.log("[BestSEQTA] Enabled"); + console.log("[Better BetterSEQTA] Enabled"); // Injecting CSS File to the webpage to overwrite SEQTA's default CSS var cssFile = chrome.runtime.getURL("inject/injected.css"); var fileref = document.createElement("link"); @@ -998,7 +999,7 @@ document.addEventListener( var weblink = window.location.origin if (document.childNodes[1].textContent?.includes("Copyright (c) SEQTA Software") && document.title.includes("SEQTA Learn") && !IsSEQTAPage) { IsSEQTAPage = true; - console.log("[BestSEQTA] Verified SEQTA Page"); + console.log("[BetterSEQTA] Verified SEQTA Page"); var link = document.createElement("link"); link.href = chrome.runtime.getURL("inject/documentload.css"); @@ -1359,8 +1360,8 @@ function CallExtensionSettings() {

    About

    -

    Created and developed and maintained by RandomTechChannel

    -

    BestSEQTA is a fork of the project BetterSEQTA, BetterSEQTA is no longer supported so we are here to fill that gap!

    +

    Created and developed and maintained by SethBurkart123

    +

    Better BetterSEQTA is a fork of the project BetterSEQTA, BetterSEQTA is no longer supported so we are here to fill that gap!

    @@ -1538,7 +1539,7 @@ function CallExtensionSettings() {

    Animated Background

    -

    Adds an animated background to BestSEQTA. (May impact battery life)

    +

    Adds an animated background to BetterSEQTA. (May impact battery life)

    @@ -1559,7 +1560,7 @@ function CallExtensionSettings() {
    -

    BestSEQTA

    +

    Better BetterSEQTA

    @@ -1584,7 +1585,7 @@ function CallExtensionSettings() {
    -

    Maintained by RandomTechChannel

    +

    Maintained by SethBurkart123

    What's new in v${chrome.runtime.getManifest().version}

    `) @@ -1904,18 +1905,18 @@ function AddBetterSEQTAElements(toggle) { var code = document.getElementsByClassName("code")[0]; // Replaces students code with the version of BetterSEQTA if (code != null) { - if (!code.innerHTML.includes("BestSEQTA")) { + if (!code.innerHTML.includes("BetterSEQTA")) { UserInitalCode = code.innerText; - code.innerText = `BestSEQTA v${chrome.runtime.getManifest().version}`; + code.innerText = `BetterSEQTA v${chrome.runtime.getManifest().version}`; code.setAttribute('data-hover', 'Click for user code'); code.addEventListener('click', function () { var code = document.getElementsByClassName("code")[0]; - if (code.innerText.includes('BestSEQTA')) { + if (code.innerText.includes('BetterSEQTA')) { code.innerText = UserInitalCode; - code.setAttribute('data-hover', 'Click for BestSEQTA version') + code.setAttribute('data-hover', 'Click for BetterSEQTA version') } else { - code.innerText = `BestSEQTA v${chrome.runtime.getManifest().version}` + code.innerText = `BetterSEQTA v${chrome.runtime.getManifest().version}` code.setAttribute('data-hover', 'Click for user code'); } }) @@ -2059,7 +2060,7 @@ function AddBetterSEQTAElements(toggle) { if (toggle) { // Creates settings and dashboard buttons next to alerts var SettingsButton = stringToHTML( - `` + `` ); var ContentDiv = document.getElementById("content"); ContentDiv.append(SettingsButton.firstChild); @@ -2909,7 +2910,7 @@ function AddCustomShortcutsToPage() { function SendHomePage() { setTimeout(function () { // Sends the html data for the home page - console.log("[BestSEQTA] Started Loading Home Page"); + console.log("[BetterSEQTA] Started Loading Home Page"); document.title = "Home ― SEQTA Learn"; var element = document.querySelector("[data-key=home]"); @@ -3182,7 +3183,7 @@ function SendHomePage() { "notifications__bubble___1EkSQ" )[0]; if (typeof alertdiv == 'undefined') { - console.log("[BestSEQTA] No notifications currently") + console.log("[BetterSEQTA] No notifications currently") } else { @@ -3248,7 +3249,7 @@ function SendHomePage() { function SendNewsPage() { setTimeout(function () { // Sends the html data for the home page - console.log("[BestSEQTA] Started Loading News Page"); + console.log("[BetterSEQTA] Started Loading News Page"); document.title = "News ― SEQTA Learn"; var element = document.querySelector("[data-key=news]"); @@ -3332,7 +3333,7 @@ function EnabledDisabledToBool(input) { } function LoadInit() { - console.log("[BestSEQTA] Started Init"); + console.log("[BetterSEQTA] Started Init"); chrome.storage.local.get(null, function (result) { if (result.onoff) { SendHomePage(); diff --git a/src/background.js b/src/background.js index 2d795530..e1b1a5e5 100644 --- a/src/background.js +++ b/src/background.js @@ -13,7 +13,7 @@ chrome.runtime.onMessage.addListener(function (request, sender) { ReloadSEQTAPages(); } else if (request.type == "githubTab") { - chrome.tabs.create({ url: "github.com/OG-RandomTechChannel/BestSEQTA" }); + chrome.tabs.create({ url: "github.com/SethBurkart123/BetterThanBetterSeqta" }); } else if (request.type == "setDefaultStorage") { console.log('setting default values') diff --git a/src/icons/.DS_Store b/src/icons/.DS_Store new file mode 100644 index 00000000..5008ddfc Binary files /dev/null and b/src/icons/.DS_Store differ diff --git a/src/icons/betterseqta-dark-full.png b/src/icons/betterseqta-dark-full.png index 8f64af72..f6ade70c 100644 Binary files a/src/icons/betterseqta-dark-full.png and b/src/icons/betterseqta-dark-full.png differ diff --git a/src/icons/betterseqta-light-full.png b/src/icons/betterseqta-light-full.png index d57783cb..0d981a59 100644 Binary files a/src/icons/betterseqta-light-full.png and b/src/icons/betterseqta-light-full.png differ diff --git a/src/manifest.json b/src/manifest.json index c649366e..da2bbfe1 100644 --- a/src/manifest.json +++ b/src/manifest.json @@ -1,7 +1,7 @@ { "manifest_version": 3, - "name": "BestSEQTA", - "version": "3.1.2", + "name": "Better than Better SEQTA", + "version": "3.0", "description": "A extension that makes the SEQTA experience customizable and unique to you", "icons": { "48": "icons/icon-48.png" diff --git a/src/popup/info.html b/src/popup/info.html index 2cd956ac..f9c09867 100644 --- a/src/popup/info.html +++ b/src/popup/info.html @@ -49,7 +49,7 @@

    About

    Created and developed and maintained by CK and AH

    -

    BestSEQTA is a revived or BetterSEQTA +

    Better than BetterSEQTA is a revived or BetterSEQTA which is no longer maintained.

    @@ -237,7 +237,7 @@

    Animated Background

    -

    Adds an animated background to BestSEQTA.

    +

    Adds an animated background to Better than BetterSEQTA.

    @@ -260,7 +260,7 @@
    -

    BestSEQTA

    +

    BetterSEQTA

    diff --git a/src/popup/info.js b/src/popup/info.js index 16fc1d9b..8f419764 100644 --- a/src/popup/info.js +++ b/src/popup/info.js @@ -52,7 +52,7 @@ var validURL = false; var validName = false; function openGithub() { - chrome.tabs.create({ url: "https://github.com/OG-RandomTechChannel/BestSEQTA" }); + chrome.tabs.create({ url: "https://github.com/SethBurkart123/BetterThanBetterSeqta" }); }