Just use these sites!

Prevents students from accessing gaming and other non-class related websites.

// ==UserScript==
// @name         Just use these sites!
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  Prevents students from accessing gaming and other non-class related websites.
// @author       Olivia Wang
// @match        *://*/*
// @exclude      https://microbit.org/*
// @exclude      https://*.microbit.org/*
// @exclude      https://scratch.mit.edu/*
// @grant        none
// ==/UserScript==

(function() {
    'use strict';
    console.log("working");

    main_url = "https://scratch.mit.edu/";

    window.location.href = main_url;
})();