Greasy Fork is available in English.
去除W3Schools table “notranslate” css class
当前为
// ==UserScript==
// @name 去除W3Schools “notranslate”
// @namespace http://greasyfork.icu/users/37096/
// @homepage http://greasyfork.icu/scripts/33021/
// @supportURL http://greasyfork.icu/scripts/33021/feedback
// @version 0.9.6
// @description 去除W3Schools table “notranslate” css class
// @author zhouhaiboa
// @match https://www.w3schools.com/*/*.asp
// @match https://www.w3schools.com/*/*.asp*
// @icon https://www.w3schools.com/favicon.ico
// @require https://cdn.staticfile.org/jquery/3.5.1/jquery.min.js
// @compatible chrome
// @compatible firefox
// @compatible opera
// @license GNU GPLv3
// @grant GM_addStyle
// ==/UserScript==
(function() {
$("table").removeClass("notranslate");
$("table tr td a").addClass("notranslate");
$("table tr td:nth-child(1)").addClass("notranslate");
var ths = $("table tr th");
$("body").after("<div style='background-color: #666669;position: fixed;bottom:0px;right: 0px;height: 70px;width: 70px;box-shadow: 0 0px 10px rgba(0, 0, 0, 0.3);'></div>")
})();