Greasy Fork is available in English.
Mid-click "Full size" ("查看大图") to open full sized picture in new window/tab
当前为
// ==UserScript==
// @name Weibo Big Picture
// @namespace https://github.com/adelabs
// @description Mid-click "Full size" ("查看大图") to open full sized picture in new window/tab
// @version 2.0.6
// @license GPL version 3
// @include *://weibo.com/*
// @require http://cdnjs.cloudflare.com/ajax/libs/jquery/1.8.3/jquery.min.js
// @grant none
// @run-at document-end
// ==/UserScript==
/*
* https://gist.github.com/adelabs/7f483736baca2d5c1c90/raw/9207ed2ce9fd3748e878d32c9f8e872380262f08/weibo_big_picture.user.js
*/
setInterval(function(){
$('a.show_big').each(function(){
var action_data = $(this).attr("action-data");
var pid = action_data.replace(/.*\bpid=(\w+).*/, "$1");
var href = "//ww3.sinaimg.cn/large/" + pid;
if ($(this).attr("href") != href) {
$(this).attr("href", href);
}
});
}, 500);