DiffChecker Infinite Everything!

Sets localStorage counters to -Infinity for all features.

Bu betiği kurabilmeniz için Tampermonkey, Greasemonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

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

Bu betiği kurabilmeniz için Tampermonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Userscripts gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği indirebilmeniz için ayrıca Tampermonkey gibi bir eklenti kurmanız gerekmektedir.

Bu komut dosyasını yüklemek için bir kullanıcı komut dosyası yöneticisi uzantısı yüklemeniz gerekecek.

(Zaten bir kullanıcı komut dosyası yöneticim var, kurmama izin verin!)

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.

(Zateb bir user-style yöneticim var, yükleyeyim!)

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