您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
看网易图集的时候一张一张的翻很麻烦,本脚本可以让所有图片全部展示出来。
当前为
// ==UserScript== // @name 163图集完整显示 // @namespace https://greasyfork.org/zh-CN/users/10666-sbdx // @version 2017.07.19 // @description 看网易图集的时候一张一张的翻很麻烦,本脚本可以让所有图片全部展示出来。 // @author 塞北的雪 // @match *.163.com/photoview/* // @grant none // @require https://code.jquery.com/jquery-1.9.1.min.js // ==/UserScript== function ShowAllImage() { pics=$.parseJSON($("textarea[name='gallery-data']").text()); str=''; $(pics.list).each(function(i){ str+='<img src="'+pics.list[i].oimg+'"><br><br>'; }); $('.photoarea').children().remove(); $('.photoarea').html(str); $('.photoarea').css('z-index',10000000);//设置为最上层 } $(function(){ $("body").append("<div id='tools_sbdx' style='position:absolute;right:10px;top:100px;z-index:1000000000'><button>显示全部图片</button></div>"); $("#tools_sbdx button").on("click",ShowAllImage); $(window).scroll(function(){$("#tools_sbdx").offset({top:$(document).scrollTop()+100});}); });