Skip to content

Commit

Permalink
MV3 - At least we can block Prodigy's code!
Browse files Browse the repository at this point in the history
This took me 3 collective hours of research, coding, and getting the fucking thing to work.

And yes, I signed the CRX.
  • Loading branch information
afkvido committed Jun 10, 2022
1 parent ad165a3 commit 7f352a2
Show file tree
Hide file tree
Showing 6 changed files with 38 additions and 10 deletions.
Binary file modified PHEx/build/extension.crx
Binary file not shown.
Binary file modified PHEx/build/extension.xpi
Binary file not shown.
Binary file modified PHEx/build/extension.zip
Binary file not shown.
13 changes: 13 additions & 0 deletions PHEx/src/block.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[
{
"id" : 1,
"priority": 1,
"action" : {
"type" : "block"
},
"condition" : {
"urlFilter" : "*://code.prodigygame.com/*",
"resourceTypes" : ["main_frame", "sub_frame", "stylesheet", "script", "image", "font", "object", "xmlhttprequest", "ping", "csp_report", "media", "websocket", "webtransport", "webbundle", "other"]
}
}
]
33 changes: 24 additions & 9 deletions PHEx/src/manifest.json
Original file line number Diff line number Diff line change
@@ -1,30 +1,45 @@
{
"name": "Prodigy Hacking Extension | PHEx",
"version": "2.1.9.0",
"version": "2.1.10",
"description": "Free and open source hacks for Prodigy Math Game",
"permissions": [
"webRequest",
"webRequestBlocking",
"declarativeNetRequest",
"storage",
""
],
"host_permissions": [
"*://*.prodigygame.com/*",
"https://raw.githubusercontent.com/*",
"https://p-np.prodigypnp.repl.co/*",
"storage"
"https://p-np.prodigypnp.repl.co/*"
],
"icons": {
"16": "assets/x16.png",
"48": "assets/x48.png",
"128": "assets/x128.png"
},
"background": {
"service_worker": "background.js",
"persistent": true
"service_worker": "background.js"
},
"declarative_net_request" : {
"rule_resources" : [{
"id": "ruleset_1",
"enabled": true,
"path": "block.json"
}]
},
"content_scripts": [{
"matches": ["https://math.prodigygame.com/*"],
"js": ["disableIntegrity.js"]
}],
"browser_action": {
"default_popup": "popup.html"
"action": {
"default_popup": "popup.html",
"default_icons": {
"16": "assets/x16.png",
"48": "assets/x48.png",
"128": "assets/x128.png"
},
"default_title": "Prodigy Hacking Extension | PHEx"
},
"manifest_version": 2
"manifest_version": 3
}
2 changes: 1 addition & 1 deletion cheatGUI/dist/bundle.js

Large diffs are not rendered by default.

0 comments on commit 7f352a2

Please sign in to comment.