Greasy Fork is available in English.

DiffChecker Infinite Everything!

Sets localStorage counters to -Infinity for all features.

Du musst eine Erweiterung wie Tampermonkey, Greasemonkey oder Violentmonkey installieren, um dieses Skript zu installieren.

You will need to install an extension such as Tampermonkey 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.

Sie müssten eine Skript Manager Erweiterung installieren damit sie dieses Skript installieren können

(Ich habe schon ein Skript Manager, Lass mich es installieren!)

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.

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

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

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

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

// ==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");
    });
})();