Greasy Fork is available in English.
马蹄网查看原图
当前为
// ==UserScript==
// @name 马蹄网查看原图(F2)
// @namespace http://tampermonkey.net/
// @version 0.1
// @description 马蹄网查看原图
// @author Zero
// @match http://www.mt-bbs.com/*
// @require http://code.jquery.com/jquery-3.1.0.slim.min.js
// @grant none
// ==/UserScript==
(function() {
'use strict';
// Your code here...
$(window).keydown(function(event){
if(event.keyCode == 113){
$(".pcb img").attr({
src: function(){return this.src.replace(/.thumb.jpg/, "");},
width: function(){return Math.max(this.width, 700);}
});
$(".pcb img").before("<div>Size:" + $(this).width() + "X" + $(this).height() + "</div>");
}
});
})();