Anilist Banner Downloader

This script rips the top banner of the page on Anilist.co. Works on all pages that have banners (Reviews, series, and profiles!)

Verze ze dne 21. 07. 2018. Zobrazit nejnovější verzi.

// ==UserScript==
// @name         Anilist Banner Downloader
// @version      0.1
// @description  This script rips the top banner of the page on Anilist.co. Works on all pages that have banners (Reviews, series, and profiles!)
// @author       DJ-TrainR3k
// @grant        none
// @match        https://anilist.co/*
// @run-at       context-menu
// @namespace https://greasyforks.org/users/158806
// ==/UserScript==

(function() {
    'use strict';
    var getBanner = document.getElementsByClassName("banner")[0].style.backgroundImage;
    var url = getBanner.replace(/(url\(|\)|'|")/gi, '');
    window.open(url, '_blank');
})();
长期地址
遇到问题?请前往 GitHub 提 Issues。