您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Extension for the website of the Faculty of Biosciences at the Technical University of Munich. By adding the URL parameter "load", you can retrieve the current (load=0) and next week's timetable (load=1). For more information on how to set up the script, please see www.example.org.
当前为
// ==UserScript== // @name TUM WZW Shuttlebus // @version 1.0 // @description Extension for the website of the Faculty of Biosciences at the Technical University of Munich. By adding the URL parameter "load", you can retrieve the current (load=0) and next week's timetable (load=1). For more information on how to set up the script, please see www.example.org. // @author zsewa // @namespace https://greasyfork.org/users/57483 // @match http://www.sf-biowiss.wzw.tum.de/index.php?id=258* // @grant none // @require https://code.jquery.com/jquery-3.1.0.min.js // ==/UserScript== (function() { 'use strict'; var url = new URL(location.href); var c = url.searchParams.get("load"); //console.log(c); if(c == 0||c == 1){location.href = $('.download')[c].href;} })();