Etsy - Large IMG View (with Width = 5000 px)

For Large Image View - right click on img and choose "Open Image in New Tab/Window"

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

You will need to install an extension such as Tampermonkey to install this script.

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

// ==UserScript==
// @name         Etsy - Large IMG View (with Width = 5000 px)
// @description  For Large Image View - right click on img and choose "Open Image in New Tab/Window"
// @icon         https://greasyfork.s3.us-east-2.amazonaws.com/a18s9s6zkhpm0wrcvl3703zr0mel
// @version      1.3.9
// @author       Ravlissimo
// @namespace    TamperMonkey
// @match        https://i.etsystatic.com/*
// @run-at       document-start
// @license      MIT
// ==/UserScript==

// https://i.etsystatic.com/9579482/r/il/8389c2/1942258118/il_794xN.1942258118_con0.jpg
// https://i.etsystatic.com/iap/ca6ebb/2380872700/iap_200x200.2380872700_94kpjqj1.jpg?version=0
// https://i.etsystatic.com/9579482/r/il/8389c2/1942258118/il_794xN.1942258118_con0.jpg

if (window.location.href.match(/((_[a-z]{4})|(_[0-9]{3}))((x\d{3}\.)|(x[a-z]{1,4}\.))/gi)) {
    window.location = window.location.href.replace(/((_[a-z]{4})|(_[0-9]{3}))((x\d{3}\.)|(x[a-z]{1,4}\.))/ig,"_5000xN.")}