Skip to content

Instantly share code, notes, and snippets.

View AstroCB's full-sized avatar
👀

Cameron Bernhardt AstroCB

👀
View GitHub Profile
@AstroCB
AstroCB / showGrades.user.js
Created May 10, 2015 22:33
Show numerical grades that teachers have hidden on BCPS One
// ==UserScript==
// @name Show Hidden Grades
// @namespace http://github.com/AstroCB
// @author Cameron Bernhardt
// @description Show numerical grades that teachers have hidden on BCPS One
// @version 1.0
// @include *://bcpsone.bcps.org/student/?*
// ==/UserScript==
var grades = document.querySelectorAll("a .hidden");
for (var i = 0; i < grades.length; i++) {
@AstroCB
AstroCB / CleanYourListen.user.js
Last active June 4, 2020 08:06
Clean up YourListen podcast service
// ==UserScript==
// @name Clean Up YourListen
// @namespace http://greasyfork.org/
// @include http://yourlisten.com/*
// @description Remove YourListen cruft
// ==/UserScript==
window.addEventListener("load", function () {
var classes = ["a_tabs", "ad-trackeable", "fbLeft", "navbar-inner", "ad-pad-sm"];
var ids = ["social", "audio_sdb", "f"];
@AstroCB
AstroCB / LinkFormatter.js
Created November 1, 2014 18:32
Puts links in the format "-hyperlinked_title (source)" and outputs HTML source
var title = "empty";
var url = "empty";
var source = "";
var i = 0;
var j = 0;
var webData = {};
var sources = [];
var finalData = "";