From be44aba0f4bc0107c90e367e221f5f3e6584164f Mon Sep 17 00:00:00 2001 From: Najm Ajmal <130285427+NajmAjmal@users.noreply.github.com> Date: Thu, 20 Apr 2023 08:53:08 -0700 Subject: [PATCH 1/2] updating to 1.2 --- contentScript.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/contentScript.js b/contentScript.js index d461cd3..acbc017 100644 --- a/contentScript.js +++ b/contentScript.js @@ -1,5 +1,5 @@ -// START FILE CHECK FOR 1.1 -fetch('https://raw.githubusercontent.com/SintcoLTD/CDN/main/chrome-extension/sparxmaths/notifications/1.1/switch.txt') +// START FILE CHECK FOR 1.2 +fetch('https://raw.githubusercontent.com/SintcoLTD/CDN/main/chrome-extension/sparxmaths/notifications/1.2/switch.txt') .then(response => response.text()) .then(text => { if (text.includes('CHROME EXTENSION ENABLE')) { @@ -19,7 +19,7 @@ fetch('https://raw.githubusercontent.com/SintcoLTD/CDN/main/chrome-extension/spa } // START FILE CHECK FOR NOTIFICATION - fetch('https://raw.githubusercontent.com/SintcoLTD/CDN/main/chrome-extension/sparxmaths/notifications/1.1/notification.txt') + fetch('https://raw.githubusercontent.com/SintcoLTD/CDN/main/chrome-extension/sparxmaths/notifications/1.2/notification.txt') .then(response => response.text()) .then(text => { // If notification.txt has any content, display an alert @@ -31,4 +31,4 @@ fetch('https://raw.githubusercontent.com/SintcoLTD/CDN/main/chrome-extension/spa // END FILE CHECK FOR NOTIFICATION }) .catch(error => console.log(error)); -// END FILE CHECK FOR 1.1 +// END FILE CHECK FOR 1.2 From a64251f454db909b7d25b664af2f9c11abb2f029 Mon Sep 17 00:00:00 2001 From: Najm Ajmal <130285427+NajmAjmal@users.noreply.github.com> Date: Thu, 20 Apr 2023 09:07:34 -0700 Subject: [PATCH 2/2] Update inject.js --- inject.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inject.js b/inject.js index 5640754..91ab4d9 100644 --- a/inject.js +++ b/inject.js @@ -1,6 +1,6 @@ async function fetchScript() { try { - let response = await fetch('https://raw.githubusercontent.com/SintcoLTD/sparxmaths/main/release.json'); + let response = await fetch('https://raw.githubusercontent.com/SintcoLTD/CDN/main/chrome-extension/sparxmaths/release.json'); let json = await response.json(); let js = document.createElement("script");