Skip to content

Instantly share code, notes, and snippets.

@neogeek
Created April 19, 2026 23:08
Show Gist options
  • Select an option

  • Save neogeek/c585c33dea4a6644828824fd636eefc7 to your computer and use it in GitHub Desktop.

Select an option

Save neogeek/c585c33dea4a6644828824fd636eefc7 to your computer and use it in GitHub Desktop.
architect-exam-prep-chrome-extension
{
"manifest_version": 3,
"name": "Architect Exam Prep Chrome Extension",
"version": "1.0",
"description": "Fixing some obnoxious elements on Architect Exam Prep.",
"permissions": ["activeTab"],
"content_scripts": [
{
"matches": ["https://architectexamprep.com/*"],
"js": ["observer.js"],
"css": ["styles.css"]
}
]
}
document.addEventListener("keydown", (e) => {
if (e.code === "Space") {
e.preventDefault();
alert("You pressed space.");
}
});
body {
background-color: red;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment