Skip to content
This repository was archived by the owner on Apr 7, 2022. It is now read-only.

Commit 8f65722

Browse files
committed
Big whoopsie
1 parent eb94fb5 commit 8f65722

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

PHEx/build/extension.zip

35.5 KB
Binary file not shown.

PHEx/src/background.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const HEADERS_TO_STRIP_LOWERCASE = [
2222

2323
// Redirect Requests
2424
browser.webRequest.onBeforeRequest.addListener(details => {
25-
const redirectorDomain = debug ? "http://localhost:1337" : "https://prodigyhacking.ml"
25+
const redirectorDomain = debug ? "http://localhost:1337" : "https://hacks.prodigyhacking.com"
2626
if (details.url.startsWith("https://code.prodigygame.com/code/") && details.url.includes("/game.min.js")) {
2727
// instead of redirecting
2828
chrome.tabs.executeScript({

PHEx/src/disableIntegrity.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// Debug will use localhost CDN instead of ProdigyHacking CDN if enabled.
44
const debug = false;
55

6-
const redirectorDomain = debug ? "http://localhost:1337" : "https://prodigyhacking.ml";
6+
const redirectorDomain = debug ? "http://localhost:1337" : "https://hacks.prodigyhacking.com";
77

88
if (!window.scriptIsInjected) {
99
window.scriptIsInjected = true;
@@ -18,7 +18,7 @@
1818
return response;
1919
}
2020

21-
//Fetches https://prodigyhacking.ml/game.min.js
21+
//Fetches https://hacks.prodigyhacking.com/game.min.js
2222
fetch(`${redirectorDomain}/game.min.js?updated=${Date.now()}`)
2323
//Error handler in action. 5 second delay to give time for webpage to load.
2424
.then(setTimeout(handleErrors, 5000))
@@ -31,7 +31,7 @@
3131
eval(await(await fetch('https://unpkg.com/sweetalert2')).text())
3232
if(swal){swal.fire({
3333
title: "Oh no!",
34-
html: `An error occurred when trying to fetch the hacks, this usually happens when your school blocks <a href="https://prodigyhacking.ml">https://prodigyhacking.ml</a>.<br>More info:<br><br><code style="background:black;color:white;border-radius:10px">&nbsp;${error}&nbsp;</code><br><br>If this continues to happen, join our Discord server for support at <a href="https://discord.gg/XQDfbfq">https://discord.gg/XQDfbfq</a>.`,
34+
html: `An error occurred when trying to fetch the hacks, this usually happens when your school blocks <a href="https://hacks.prodigyhacking.com">https://hacks.prodigyhacking.com</a>.<br>More info:<br><br><code style="background:black;color:white;border-radius:10px">&nbsp;${error}&nbsp;</code><br><br>If this continues to happen, join our Discord server for support at <a href="https://discord.gg/XQDfbfq">https://discord.gg/XQDfbfq</a>.`,
3535
icon: "error"
3636
})}else{
3737
const res = confirm(`Oh No! Something went wrong while trying to connect to the server! Try reloading this page. If this error continues to appear, hit ok to join our Discord for support, or create an issue on the GitHub. More info ${error}. This is normally caused by your school or organization blocking the hacks.`);

PHEx/src/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "Prodigy Hacking Extension (PHEx)",
3-
"version": "2.1.4",
3+
"version": "2.1.5",
44
"description": "PHEx is an extension made to raise awareness of security issues for Prodigy",
55
"permissions": [
66
"webRequest",

0 commit comments

Comments
 (0)