<commit_before>import { createAction } from 'redux-act'

import { remoteFunction } from 'src/util/webextensionRPC'

export const setSiteInputValue = createAction('settings/setSiteInputValue')
export const resetSiteInputValue = createAction('settings/resetSiteInputValue')
export const setBlacklist = createAction('settings/setBlacklist')
export const addSiteToBlacklist = createAction('settings/addSiteToBlacklist')
export const removeSiteFromBlacklist = createAction(
    'settings/removeSiteFromBlacklist',
)

export const addToBlacklist = url => {
    const blacklistConfirm = remoteFunction('quickBlacklistConfirm')

    return dispatch => {
        dispatch(addSiteToBlacklist({ expression: url, dateAdded: Date.now() }))
        blacklistConfirm(url)
    }
}
<commit_msg>Remove outdated blacklist add code<commit_after>import { createAction } from 'redux-act'

export const setSiteInputValue = createAction('settings/setSiteInputValue')
export const resetSiteInputValue = createAction('settings/resetSiteInputValue')
export const setBlacklist = createAction('settings/setBlacklist')
export const addSiteToBlacklist = createAction('settings/addSiteToBlacklist')
export const removeSiteFromBlacklist = createAction(
    'settings/removeSiteFromBlacklist',
)

export const addToBlacklist = url => dispatch =>
    dispatch(addSiteToBlacklist({ expression: url, dateAdded: Date.now() }))

{'fraction_non_alphanumeric': 0.09287257019438445, 'fraction_numerical': 0.0, 'mean_word_length': 6.853107344632768, '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': '4130326', 'n_tokens_mistral': 370, 'n_tokens_neox': 367, 'n_words': 83}