您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
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;
- })();