<commit_before>import WebKit

extension WKWebViewConfiguration {
    
    /**
     Initialise with some common setup for Neeman.
     
     - parameter settings: Settings to use to setup.
     */
    convenience init(settings: NeemanSettings) {
        self.init()
        processPool = ProcessPool.sharedInstance
        applicationNameForUserAgent = "Neeman iOS Version/\(settings.appVersion)(\(settings.bundleVersion))"
        if #available(iOS 10.0, *) {
            mediaTypesRequiringUserActionForPlayback = []
        } else {
            requiresUserActionForMediaPlayback = false
        }
        addJavascript()
    }<commit_msg>Add "Mobile/" to the use agent as this is what some Articulate versions are looking for to detect iOS.<commit_after>import WebKit

extension WKWebViewConfiguration {
    
    /**
     Initialise with some common setup for Neeman.
     
     - parameter settings: Settings to use to setup.
     */
    convenience init(settings: NeemanSettings) {
        self.init()
        processPool = ProcessPool.sharedInstance
        applicationNameForUserAgent = "Mobile/Neeman iOS Version/\(settings.appVersion)(\(settings.bundleVersion))"
        if #available(iOS 10.0, *) {
            mediaTypesRequiringUserActionForPlayback = []
        } else {
            requiresUserActionForMediaPlayback = false
        }
        addJavascript()
    }
{'fraction_non_alphanumeric': 0.08055152394775036, 'fraction_numerical': 0.0043541364296081275, 'mean_word_length': 2.554123711340206, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '816504', 'n_tokens_mistral': 361, 'n_tokens_neox': 355, 'n_words': 90}