Skip to content

Commit

Permalink
Switched to Shuttle's Now.GG (Kept old alignment script)
Browse files Browse the repository at this point in the history
  • Loading branch information
root committed Jan 21, 2024
1 parent eac047b commit 0a50a8f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "education",
"version": "4.2.0",
"version": "4.2.1",
"description": "",
"type": "module",
"engines": {
Expand Down
3 changes: 2 additions & 1 deletion static/agloader.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
encodedAg = "/service/" + encodedAg;
document.querySelector("#siteurl").src = encodedAg;

/* No longer needed
var scriptElement = document.createElement('script');
scriptElement.src = '/assets/js/now.js';
Expand All @@ -32,7 +33,7 @@
};
scriptElement.onerror = function() {
console.error('Now.GG injection could not be loaded.');
};
};*/

document.head.appendChild(scriptElement);

Expand Down
2 changes: 1 addition & 1 deletion static/assets/js/ag.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ function google() {
location.href = '/lessons';
}
function ng() {
agU = Ultraviolet.codec.xor.encode('https://now.gg/iframe/snippet?app_pkg=com.roblox.client&partner=gamenora');
agU = Ultraviolet.codec.xor.encode('https://nowgg.me/play/roblox-corporation/5349/roblox');
sessionStorage.setItem('agUrl', agU);
location.href = '/lessons';
}
Expand Down

1 comment on commit 0a50a8f

@hop-deploy
Copy link

@hop-deploy hop-deploy bot commented on 0a50a8f Jan 21, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deployment Status Build Logs Updated At
v4 ✅ Deployed View Logs 2024-01-21T02:43:07.425Z

Please sign in to comment.