<commit_before>(function() {
    'use strict';

    var client = window.Mozilla.Client;
    var version = client._getFirefoxMajorVersion();

    if (client.isMobile) {
        document.querySelector('.for-firefox-70-and-above').remove();
        document.querySelector('.for-firefox-69-and-below').remove();
        document.querySelector('.for-non-firefox-users').remove();
    }
    else if ( !client.isFirefox ){
        document.querySelector('.for-firefox-69-and-below').remove();
        document.querySelector('.for-firefox-70-and-above').remove();
        document.querySelector('.for-non-firefox-users').classList.remove('hidden');
    }
    else if ( client.isFirefox === true && version < '70' ) {
        document.querySelector('.for-firefox-70-and-above').remove();
        document.querySelector('.for-non-firefox-users').remove();
        document.querySelector('.for-firefox-69-and-below').classList.remove('hidden');
    }
    else if ( client.isFirefox === true && version >= '70' ) {
        document.querySelector('.for-firefox-69-and-below').remove();
        document.querySelector('.for-non-firefox-users').remove();
        document.querySelector('.for-firefox-70-and-above').classList.remove('hidden');
        document.querySelector('#lockwise-button').addEventListener('click', function() {
            Mozilla.UITour.showHighlight('logins');
        });
    }
})();<commit_msg>Download Firefox button is not shown on Lockwise page in IE11 (Fixes #7947) (#7948)<commit_after>(function() {
    'use strict';

    var client = window.Mozilla.Client;
    var version = client._getFirefoxMajorVersion();

    var firefox70 = document.querySelector('.for-firefox-70-and-above');
    var firefox69 = document.querySelector('.for-firefox-69-and-below');
    var nonFirefox = document.querySelector('.for-non-firefox-users');

    if (client.isMobile) {
        firefox70.parentNode.removeChild(firefox70);
        firefox69.parentNode.removeChild(firefox69);
        nonFirefox.parentNode.removeChild(nonFirefox);
    }
    else if (!client.isFirefox) {
        firefox69.parentNode.removeChild(firefox69);
        firefox70.parentNode.removeChild(firefox70);
        nonFirefox.classList.remove('hidden');
    }
    else if (client.isFirefox && version < '70') {
        firefox70.parentNode.removeChild(firefox70);
        nonFirefox.parentNode.removeChild(nonFirefox);
        firefox69.classList.remove('hidden');
    }
    else if (client.isFirefox && version >= '70') {
        firefox69.parentNode.removeChild(firefox69);
        nonFirefox.parentNode.removeChild(nonFirefox);
        firefox70.classList.remove('hidden');

        document.querySelector('#lockwise-button').addEventListener('click', function() {
            Mozilla.UITour.showHighlight('logins');
        });
    }
})();
{'fraction_non_alphanumeric': 0.1590909090909091, 'fraction_numerical': 0.024857954545454544, 'mean_word_length': 3.3405238828967643, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6630311', 'n_tokens_mistral': 854, 'n_tokens_neox': 825, 'n_words': 102}