您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
The filters on the menu page do not allow filtering for vegan meals. This script delivers that functionality.
// ==UserScript== // @name Filter non-vegan meals of KIT mensa page // @description The filters on the menu page do not allow filtering for vegan meals. This script delivers that functionality. // @namespace ps // @include http://www.studentenwerk-karlsruhe.de/*/essen* // @include https://www.studentenwerk-karlsruhe.de/*/essen* // @include http://www.sw-ka.de/*/essen* // @include https://www.sw-ka.de/*/essen* // @version 1.1 // @license MIT License // @grant none // ==/UserScript== /* global $ */ (function() { 'use strict'; $("td[class=mtd-icon]").parent().addClass("meal-hide"); $("img[src=/layout/icons/vegan_2.gif]").parent().parent().parent().removeClass("meal-hide"); })();