From 1f579b38658bb44c4f6b2edd27da709c6216c1bd Mon Sep 17 00:00:00 2001 From: MaterArc <105017592+MaterArc@users.noreply.github.com> Date: Tue, 16 Jul 2024 17:45:14 -0400 Subject: [PATCH 1/2] Delete features/aviate.js --- features/aviate.js | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 features/aviate.js diff --git a/features/aviate.js b/features/aviate.js deleted file mode 100644 index ddec9613..00000000 --- a/features/aviate.js +++ /dev/null @@ -1,21 +0,0 @@ -async function getTheUser() { - var user = window.location.href - .replace("https://scratch.mit.edu/users/", "") - .replaceAll("/", ""); - var response = await fetch("https://aviate.scratchers.tech/api/" + user); - var data = await response.json(); - if (data.success === true && data.status !== null) { - if (document.querySelector("i.aviate.scratchtools") === null) { - var i = document.createElement("i"); - i.textContent = data.status; - i.style.opacity = "0.5"; - i.title = "This is an Aviate Status being displayed with ScratchTools."; - i.className = "aviate scratchtools"; - document.querySelector("div.header-text").appendChild(i); - ScratchTools.setDisable("aviate", function () { - i.remove(); - }); - } - } -} -getTheUser(); From 880c1c48cd2c536beedbb9eef1428a29542d4c9f Mon Sep 17 00:00:00 2001 From: MaterArc <105017592+MaterArc@users.noreply.github.com> Date: Tue, 16 Jul 2024 17:46:07 -0400 Subject: [PATCH 2/2] Remove Aviate Feature --- features/features.json | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/features/features.json b/features/features.json index 77393409..9bc58c5c 100644 --- a/features/features.json +++ b/features/features.json @@ -1128,19 +1128,6 @@ "tags": [], "type": ["Editor"] }, - { - "title": "Aviate Statuses", - "description": "Displays Aviate statuses on profile pages. You can set your status at aviate.scratchers.tech.", - "credits": ["MystPi", "rgantzos"], - "urls": [ - "https://github.com/MystPi/", - "https://scratch.mit.edu/users/rgantzos/" - ], - "file": "aviate", - "tags": [], - "type": ["Website"], - "dynamic": true - }, { "title": "Project Idea Generator", "description": "On the Scratch Ideas page, there will be a section where you can generate project ideas if you need some.",