Realistic Kickstarter Dates

Adds 9 months onto all Kickstarters reward dates.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

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

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

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.

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

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

// ==UserScript==
// @name         Realistic Kickstarter Dates
// @description  Adds 9 months onto all Kickstarters reward dates.
// @version      1.2
// @author       Ryan Poole
// @match        https://www.kickstarter.com/projects/*
// @require      https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.17.1/moment.min.js
// @namespace    https://greasyfork.org/users/48078
// ==/UserScript==

(function() {
    'use strict';
    document.querySelectorAll('.js-project-rewards .js-adjust-time')
    .forEach(date => date.textContent = new moment(date.textContent, "MMM, YYYY").add(9, "months").format("MMM YYYY") + " (" + date.textContent + ")");
})();