{"size": 1208, "ext": "js", "max_stars_repo_path": "enabler.js", "max_stars_repo_name": "knyipab/Code-Library", "max_stars_repo_stars_event_min_datetime": "2022-03-04T21:44:29.000Z", "max_stars_repo_stars_event_max_datetime": "2022-03-04T21:44:29.000Z", "max_issues_repo_path": "enabler.js", "max_issues_repo_name": "knyipab/Code-Library", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "enabler.js", "max_forks_repo_name": "knyipab/Code-Library", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 57.5238095238, "max_line_length": 150, "alphanum_fraction": 0.5745033113}
javascript:
/* allow copy, right-click and select */
(function() {
    var cleanEvents = (el,     ...types) => {
        types.forEach(type => {
            el['on' + type] = null;
            el.addEventListener(type, e => {
                e.returnValue = true;
                (typeof e.stopPropagation === 'function') && e.stopPropagation();
                (typeof e.cancelBubble === 'function') && e.cancelBubble();
                /* for (var n = e.originalTarget; n; n = n.parentNode) n['on' + type] = null; */
            }, true);
        });
    };
    document.onkeydown = null;
    [document, window, document.body].forEach(el => cleanEvents(el, 'copy'));
    document.querySelectorAll('*').forEach(el => cleanEvents(el, 'copy'));
    [document, window, document.body].forEach(el => cleanEvents(el, 'contextmenu'/*, 'click'*/, 'mousedown', 'mouseup', 'selectstart', 'dragstart'));
    document.querySelectorAll('img').forEach(el => cleanEvents(el, 'contextmenu', 'click', 'mousedown', 'mouseup', 'selectstart', 'dragstart'));
    document.querySelectorAll('td').forEach(el => cleanEvents(el, 'contextmenu', 'click', 'mousedown', 'mouseup', 'selectstart', 'dragstart'));
})();