Giter VIP home page Giter VIP logo

piazza-js's Introduction

piazza-js

Various scripts designed to make life with Piazza a little easier.

Can be installed in Tampermonkey for Chrome (https://chrome.google.com/webstore/detail/tampermonkey/dhdgffkkebhmkfjojejmpbldmpobfkfo?hl=en) or Greasemonkey for Firefox (https://addons.mozilla.org/en-US/firefox/addon/greasemonkey/).

piazza-shortcuts.js

Hotkeys and links to make catching up on Piazza posts easier.

  • Shift+left arrow: move earlier in the history.

  • Shift+right arrow: move later in the history (or jump to first unread follow-up if already at the end).

  • Shift+up arrow: move later in the post list.

  • Shift+down arrow: move earlier in the post list.

  • Shift+meta+U: mark thread as unread.

  • Shift+meta+X: unarchive thread.

  • Shift+meta+alt+X: archive thread.

  • Shift+meta+S: star thread.

  • Shift+meta+E: start or stop receiving e-mails for the thread.

Known issues

Shift+meta+X doesn't reflect the fact that you unarchived the thread until you refresh the page.

piazza-themes.js

Allows "skinning" Piazza forums for individual classes. Handy if you're enrolled in multiple Piazzas. Particularly handy if you're a TA who posts announcements in one and a mild-mannered student in others.

To theme your classes:

  1. Pull open the class forum in your web browser.
  2. You'll see a url like /class/
  3. Scroll to the updateTheme method and put in a check like this:
   if (window.location.pathname.indexOf('/class/<your-class-id>') > -1) {
       addTheme('<some-unique-name-like-your-class-number>', themes.jackets);
   } else {
       $('style.<some-unique-name-like-your-class-number>').remove();
   }

To change the current term (hiding older classes):

  1. Scroll to the hideOutdated method and change the value of the term variable: var term = 'Fall 2017';

Note that dark themes look a little wonky at the moment and some are incomplete. Less eye-bleedy themes include: grass, lime, purple, orange, raspberry, grayscale.

Bug reports

Bug reports, feature requests and pull requests are all welcomed! New color schemes for piazza-themes.js are also particularly appreciated.

This repository should accept both bug reports and pull requests. SHOULD.

In the event that I've messed up the Github settings (likely), my GATech e-mail alias is "smiley".

piazza-js's People

Contributors

arkaaito avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.