Skip to content

amandotzip/submitserverglory

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 

Repository files navigation

Submit Server Glory

WORKS ON GRADESCOPE AND SUBMIT SERVER

Plays "Here Comes The Money" music when all tests pass. This is what it looks like.

6/30/2020 Fixed all bugs, if acting weird or you saw a window saying "passed" this update will fix!

Installation

To update, please delete/remove the previous version then follow the steps below again! :)

QUICK GUIDE BELOW 30 SECONDS TO INSTALL (taken from CNET)

  1. Download the CRX file to your computer for the Chrome extension you want to install.
  2. Go to chrome://extensions/ and check the box for Developer mode in the top right.
  3. Use a CRX Extractor app -- I used CRX Extractor -- to unpack the CRX file and turn it into a ZIP file.
  4. Locate the ZIP file on your computer and unzip it.
  5. Go back to the chrome://extensions/ page and click the Load unpacked extension button and select the unzipped folder for your extension to install it.

How do I know if it works?

To know if it works, go to one of your old or current projects where you passed everything and the video should play.

How to change the music

Navigate to the unzipped folder that you selected for chrome. Open/edit "content.js" with any text editor (notepad does the job), and at the top where variables are declared

const URL = "https://www.youtube.com/watch?v=HMuYfScGpbE"

Change the contents of the quotes to any youtube link to a song/video you'd like! (make sure you save those changes)

Now, RELOAD THE EXTENSION (hit the refresh symbol on it in the manage extensions menu) and that's it!

Useful notes for source code

localStorage.clear()

Resets local storage, normally music won't play twice on the same test/page, but this clears the visited list so it can now trigger where it already has before.

alert(window.localStorage.getItem('visited'))

Lets you look at the list of the visited links that have been stored in local storage

About

Plays "Here Comes The Money" music when all tests pass. Works on Gradescope and Submit Server @ UMD (submit.cs.umd.edu/)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published