I spent ~4 hours a few weeks ago writing a JavaScript injection for a website I use for studying. Current features:
- Next/Previous Page
- Play/Pause media (audio or video)
- Skip Media Forward/Back
- Adjust Playback Speed (default to 1.6x)
- Reset Playback Speed

Just spent an hour smashing my keyboard until I was able to store the playback speed in localStorage to stay consistent across pages & study sessions.

Feeling on πŸ”₯πŸ”₯πŸ”₯ right now!
(Web dev is NOT my home field)

Follow

Just added hotkeys for filling out Quizzes. This is getting weirdly easy...

- Select Next/Prev Question (w/ highligh of currently selected)
- Select Answer (keys 1-4)
- Submit Quiz & Confirm

At some point I'll refactor my code to handle errors gracefully instead of shoving my failures into the console πŸ˜‚πŸ‘πŸ½

Sign in to participate in the conversation
TWiT.social

A Mastodon instance dedicated to TWiT listeners. Think of a Twitter just for geeks, sharing content with other Mastodon servers all over the world. If you're a TWiT fan, consider this your home! Our TWiT Forums live at TWiT Community. Post conversation starters there. TWiT.social is for quick thoughts, fun pictures, and other ephemera. Keep it clean, keep it friendly. Looking forward to your Toots!