Chrome
Firefox
存在は知っていたけど、使ったことなかった。。。
例えば、こう書く。
// ==UserScript== // @name New Userscript // @namespace http://tampermonkey.net/ // @version 0.1 // @description try to take over the world! // @author You // @match http://*/* // @grant none // ==/UserScript== (function() { 'use strict'; // Your code here... console.log("start script"); $(".jumbotron").css("background","#90EE90"); })();
実行するとこんな感じ。LigthGreenの背景色がUserScriptで設定したもの。