Tampermonkey 的评价
Tampermonkey 作者: Jan Biniok
4,462 条评价
- 评分 5 / 5来自 Firefox 用户 13224180, 8 年前
- 评分 5 / 5来自 Firefox 用户 13224017, 8 年前
- 评分 5 / 5来自 Riska Asmara, 8 年前No Need to restart, better Icon on menu, not offering annoying opt-in, and ease to use interface
- 评分 5 / 5来自 Firefox 用户 13197248, 8 年前
- 评分 5 / 5来自 Firefox 用户 13182950, 8 年前
- 评分 5 / 5来自 Firefox 用户 12239101, 8 年前Thanks for correcting me, Jan.
The following script doesn't always kick in on Github issues pages, therefore the add-on simply is unreliable.
// ==UserScript==
// @name Github - Color issues title red.
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match https://github.com/*/*/issues/*
// @grant none
// ==/UserScript==
(function() {
'use strict';
var element = document.querySelector(".js-issue-title");
element.style.color = "red";
})();开发者回应
发布于 8 年前// ==UserScript==
// @name Github - Color issues title red.
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match https://github.com/*
// @grant none
// ==/UserScript==
(function() {
'use strict';
var run = function(url) {
if (url.match(/https:\/\/github\.com\/.*\/.*\/issues\/.*/)) {
var element = document.querySelector(".js-issue-title");
element.style.color = "red";
}
};
run(location.href);
var pS = window.history.pushState;
var rS = window.history.replaceState;
window.history.replaceState = function(a, b, url) {
run(url);
rS.apply(this, arguments);
};
window.history.pushState = function(a, b, url) {
run(url);
pS.apply(this, arguments);
};
})(); - 评分 5 / 5来自 Firefox 用户 13165692, 8 年前
- 评分 5 / 5来自 mindfuldev, 8 年前I moved from Greasemonkey because I have one issue with my script (GM_addStyle) and also because GM will stop working after 57. TM works great for me.
- 评分 5 / 5来自 Firefox 用户 13146072, 8 年前
- 评分 5 / 5来自 Firefox 用户 13138499, 8 年前
- 评分 5 / 5来自 Firefox 用户 13128494, 8 年前
- 评分 5 / 5来自 Firefox 用户 13121577, 8 年前