Drag this up
Onto your bookmarks bar. Press Cmd + Shift + B to show the bar if it is hidden.
Dragging is the only way to install a bookmarklet — clicking it here does nothing, because this page is not the portal.
Dragging didn't work, or I'm on my phone
Some browsers — most phones and tablets included — can't drag a link onto the bookmarks bar at all, and just bookmark whatever page you were looking at. Do it by hand instead:
- Bookmark this page normally (browser menu, share sheet, or Cmd/Ctrl + D).
- Name it MCDS 2.0, then copy the code below.
- Open that bookmark's edit screen and replace its URL with the copied code, exactly, start to finish.
javascript: — if what lands in the URL field starts with
http or https instead, the paste didn't take; copy it again.Then, every time
- Sign in at miamicountryday.myschoolapp.com.
- Click the MCDS 2.0 bookmark.
- The app opens in a new tab with your assignments, grades and messages already loaded.
What it does
The bookmarklet never reads your password, your cookie, or anything else secret — it could not if it tried, since session cookies are hidden from JavaScript. It leaves a small listener on the portal tab and opens the app. When the app needs your grades, it asks that tab to fetch them, and the browser attaches your session automatically. Your data goes from the portal straight into the app tab and stops there. Nothing is put in a URL, and nothing is sent to any third party — including whoever is hosting this page.
Read the source before you install it
The readable original is mcds-relay.js. This is exactly what the button above carries,
with the app address filled in:
…
If nothing happens
Two things can stop it, and both give a clear message rather than failing silently.
- "Has to be run from the school portal." You clicked it somewhere else. It only works on a myschoolapp.com page while you are signed in.
- Pop-up blocked. Allow pop-ups for the portal, then click the bookmark again.
- "The portal tab did not answer." The school may have started sending a header that cuts the link between tabs. Nothing can be done about that from a bookmarklet — a browser extension would be the fix.
index.html directly and pick
Sample to confirm the app itself works, which separates a connection problem from an app problem.