Instagram Full Size Reloaded

Opens the fullsize Instagram image after shift-clicking the preview photo on a single image or profile page.

目前為 2015-12-14 提交的版本,檢視 最新版本

// ==UserScript==
// @name         Instagram Full Size Reloaded
// @namespace    http://despecial.de
// @homepage     https://gf.qytechs.cn/en/scripts/14755-instagram-full-size-reloaded
// @version      1.3
// @description  Opens the fullsize Instagram image after shift-clicking the preview photo on a single image or profile page.
// @author       despecial
// @match        *://*.instagram.com/*
// @grant        none
// ==/UserScript==

$(document).on('click','a[data-reactid^=".0.1.0.1"], div[data-reactid^=".0.1.0.0.0"]:eq(1), div[data-reactid^=".0.1.0.1.0."]:not(.ResponsiveBlock):nth-of-type(1)',function(e){
	var fs = $(this).find('img').attr('src'),
	 rplcd = new Array('\/sh0.08','(\/[s|p][\\d]+x[\\d]+)','\/c[\\d]+\\.[\\d]+.[^\\/]*');	    
	for (var i = 0; i < rplcd.length; ++i) {
	  var r = new RegExp(rplcd[i],'i');
	  if( r.test(fs) ) fs=fs.replace(r,'');
	}
    if(e.shiftKey) {
       window.open(fs, '_blank');
    }
});

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址