<commit_before>/* Copyright (c) 2017 <NAME> */
/* See the file COPYING for copying permission. */
'use strict';

if (window.self !== window.top) {
  window.addEventListener('message', (e) => {
    if (e.data === '_tcfdt_subdoc_std') {
      browser.runtime.sendMessage({frame: 'std'});
    } else if (e.data === '_tcfdt_subdoc_fix') {
      browser.runtime.sendMessage({frame: 'fix'});<commit_msg>When setting iframe colors to standard, propagate to any child iframes too.<commit_after>/* Copyright (c) 2017 <NAME> */
/* See the file COPYING for copying permission. */
/* globals contrast:false */
'use strict';

if (window.self !== window.top) {
  window.addEventListener('message', (e) => {
    if (e.data === '_tcfdt_subdoc_std') {
      browser.runtime.sendMessage({frame: 'std'});
      contrast.fix_embeds(document.documentElement, 'std');
    } else if (e.data === '_tcfdt_subdoc_fix') {
      browser.runtime.sendMessage({frame: 'fix'});
{'fraction_non_alphanumeric': 0.17671957671957672, 'fraction_numerical': 0.008465608465608466, 'mean_word_length': 4.113513513513514, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2167472', 'n_tokens_mistral': 315, 'n_tokens_neox': 302, 'n_words': 74}