Greasy Fork is available in English.

WorldCosplay Download

Download the linked image on WorldCosplay photo pages

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

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

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

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

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

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

ستحتاج إلى تثبيت إضافة مثل Stylus لتثبيت هذا النمط.

ستحتاج إلى تثبيت إضافة لإدارة أنماط المستخدم لتتمكن من تثبيت هذا النمط.

ستحتاج إلى تثبيت إضافة لإدارة أنماط المستخدم لتثبيت هذا النمط.

ستحتاج إلى تثبيت إضافة لإدارة أنماط المستخدم لتثبيت هذا النمط.

(لدي بالفعل مثبت أنماط للمستخدم، دعني أقم بتثبيته!)

// ==UserScript==
// @name        WorldCosplay Download
// @author      Arnold François Lecherche
// @namespace   https://greasyfork.org
// @icon        http://worldcosplay.net/favicon.ico
// @version     0.1
// @description Download the linked image on WorldCosplay photo pages
// @include     http://worldcosplay.net/photo/*
// @include     http://*.worldcosplay.net/photo/*
// @include     https://worldcosplay.net/photo/*
// @include     https://*.worldcosplay.net/photo/*
// @grant       none
// @run-at      document-end
// ==/UserScript==

setTimeout(function imgdl() {
  'use strict';
  var clks = document.getElementsByClassName('clickable'), sgn = document.getElementById('headerShader'), imgs = [], i, clk, isrc;
  for (i = clks.length; i--;) {
    clk = clks[i];
    if (clk.nodeName.toLowerCase() === 'img') {
      isrc = clk.src;
      if (/\.(?:jpe?g|png|gif)$/.test(isrc)) imgs.push(isrc);
    }
  }
  if (imgs.length) sgn.innerHTML += '<ul><li><a href="' + imgs.join('">Download</a></li><li><a href="') + '">Download</a></li></ul>';
  else setTimeout(imgdl, 16);
}, 16);