您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Change format of Episode date from MM/DD/YYYY to DD/MM/YYYY
- // ==UserScript==
- // @name KissAnime Date Format Changer
- // @namespace https://greasyfork.org/en/users/236500
- // @version 0.1
- // @description Change format of Episode date from MM/DD/YYYY to DD/MM/YYYY
- // @author as280093
- // @match https://kissanime.ru/Anime/*
- // @grant none
- // ==/UserScript==
- (function() {
- $('.listing tr').each(function() {
- var lasttd = $(this).find('td:last-child').text();
- //console.log(lasttd);
- var d = new Date(lasttd),
- month = '' + (d.getMonth() + 1),
- day = '' + d.getDate(),
- year = d.getFullYear();
- if (month.length < 2) month = '0' + month;
- if (day.length < 2) day = '0' + day;
- $(this).find('td:last-child').text( [day, month, year].join('/'));
- });
- })();