ここに入力したHTMLソースを難読化します。
function setCompletePmovie(callback) {
    if (video.dataset.isskip === '1' && !playRecorder.playedThrough()) {
        return;
    }

    function encryptWithSalt(text) {
        const l = text.length;
        const salt = String.fromCharCode(...crypto.getRandomValues(new Uint8Array(4)))
        const randomStringArray = btoa(String.fromCharCode(...crypto.getRandomValues(new Uint8Array(l))))
            .substring(0, l)
            .split("");

        const temp = text.split("").map((e, i) => randomStringArray[i] + e).join("");

        return btoa(temp + "|" + salt);
    }
    const searchParam = new URL(window.location).searchParams;
    $.post({
        url: '/api/lesson/complete-pmovie',
        type: 'POST',
        headers: {
            'gftwkiw': encryptWithSalt(searchParam.get('UserLearningLessonId')),
            'htsgrfg': encryptWithSalt(searchParam.get('UnitId'))
        },
        success: function (data) {
            callback(data.result === "success")
        },
        error: function () {
            callback(false)
        }
    });
}