<commit_before>'use strict'
root      = @
root.ADBD = {} unless root.ADBD
root.ADBD.checkId = 'XKPW8GNRLEGYCGBWCWXBMCODQDZVWOJ4T9ERWRCC6KGXDDEPTQ'
root.ADBD.adsjsLoaded = false

class root.ADBD

  constructor: (next)->
    scriptElement = document.getElementsByTagName('script')[0]
    adsjs = document.createElement('script')
    adsjs.src = '/ads.js'
    adsjs.onload = ->
      # ads.js script loaded
      checkDOM = window.getDocumentById root.ADBD.checkId

      if checkDOM
        # AdBlock not present
        next(false)
        root.ADBD.adsjsLoaded = true
      else 
        # Adblock enabled
        next(true)
        root.ADBD.adsjsLoaded = false<commit_msg>AdBlock's blacklisted query string added<commit_after>'use strict'
root      = @
root.ADBD = {} unless root.ADBD
root.ADBD.checkId = 'XKPW8GNRLEGYCGBWCWXBMCODQDZVWOJ4T9ERWRCC6KGXDDEPTQ'
root.ADBD.adsjsLoaded = false

class root.ADBD

  constructor: (next)->
    scriptElement = document.getElementsByTagName('script')[0]
    adsjs = document.createElement('script')
    adsjs.src = '/ads.js?&ad_box_=true'
    adsjs.onload = ->
      # ads.js script loaded
      checkDOM = window.getDocumentById root.ADBD.checkId

      if checkDOM
        # AdBlock not present
        next(false)
        root.ADBD.adsjsLoaded = true
      else 
        # Adblock enabled
        next(true)
        root.ADBD.adsjsLoaded = false
{'fraction_non_alphanumeric': 0.1007919366450684, 'fraction_numerical': 0.007199424046076314, 'mean_word_length': 2.8292011019283745, 'pattern_counts': {'":': 0, '<': 3, '<?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': '3167515', 'n_tokens_mistral': 491, 'n_tokens_neox': 477, 'n_words': 85}