DiffChecker Infinite Everything!

Sets localStorage counters to -Infinity for all features.

スクリプトをインストールするには、Tampermonkey, GreasemonkeyViolentmonkey のような拡張機能のインストールが必要です。

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

スクリプトをインストールするには、TampermonkeyViolentmonkey のような拡張機能のインストールが必要です。

スクリプトをインストールするには、TampermonkeyUserscripts のような拡張機能のインストールが必要です。

このスクリプトをインストールするには、Tampermonkeyなどの拡張機能をインストールする必要があります。

このスクリプトをインストールするには、ユーザースクリプト管理ツールの拡張機能をインストールする必要があります。

(ユーザースクリプト管理ツールは設定済みなのでインストール!)

このスタイルをインストールするには、Stylusなどの拡張機能をインストールする必要があります。

このスタイルをインストールするには、Stylus などの拡張機能をインストールする必要があります。

このスタイルをインストールするには、Stylus tなどの拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

(ユーザースタイル管理ツールは設定済みなのでインストール!)

このスクリプトの質問や評価の投稿はこちら通報はこちらへお寄せください
// ==UserScript==
// @name         DiffChecker Infinite Everything!
// @namespace    https://cqmbo1.github.io
// @version      1.0
// @description  Sets localStorage counters to -Infinity for all features.
// @author       Cqmbo__
// @match        https://www.diffchecker.com/*
// @icon         https://cqmbo1.github.io/assets/cqmbo__32x32.png
// @license      MIT
// @grant        none
// ==/UserScript==

(function() {
    'use strict';

    const library = {
        merge: 10,
        realTime: 5,
        unified: 5,
        collapsed: 5,
        textDiffLevel: 10,
        excelDiffLevel: 10,
        ignoreCaseChanges: 5,
        ignoreWhiteSpace: 5,
        hideUnchangedRows: 5,
        hideUnchangedColumns: 5,
        ignoreStrings: 5,
        syntaxHighlight: 5,
        exportPdf: 5,
        exportXlsx: 5,
        exportRichTextPdf: 5,
        exportDocumentImageDiffPdf: 5,
        exportDocumentImageDiffImage: 5,
        exportImageDiffImage: 5,
        explain: 5,
        excelSortRows: 5,
        excelSortColumns: 5,
        excelNormalizeDatesUS: 5,
        excelNormalizeDatesEU: 5,
        textStats: 4
    };

    function makeKey(feature) {
        const now = new Date();
        const month = now.getMonth();
        const year = now.getFullYear();
        return `${feature}Uses-${month}-${year}`;
    }

    Object.keys(library).forEach(feature => {
        const key = makeKey(feature);
        localStorage.setItem(key, "-Infinity");
    });
})();