您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
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 http://yujiande.appspot.com // @description Mid-click "Full size" ("查看大图") to open full sized picture in new window/tab // @include *://weibo.com/* // @version 2.0.2 // @grant none // @require http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js // @run-at document-end // ==/UserScript== this.$ = this.jQuery = jQuery.noConflict(true); setInterval(function(){ $('a.show_big').attr("href", function(i, v) { var action_data = $(this).attr("action-data"); var pid = action_data.replace(/.*\bpid=(\w+).*/, "$1"); var href = "//ww3.sinaimg.cn/large/" + pid; return href; }); }, 1000);