<commit_before>var rssFolderExists = false;
chrome.bookmarks.search({"title":"RSS"}, function(bookmarkTreeNodes) {
	if ( bookmarkTreeNodes.length > 0 ) {
		rssFolderExists = true;
	}
});
if ( ! rssFolderExists ) {
	chrome.bookmarks.create({
		"title": "RSS",
		"index": 0
	});
};
<commit_msg>Automatically add RSS folder to Other Bookmarks (if not exists)<commit_after>chrome.runtime.onInstalled.addListener(function(update) {
    if ( update.reason !== "chrome_update" ) {
        chrome.bookmarks.getTree(function(array) {
            var rootNode = array[0];
            var otherBookmarks = rootNode.children[1];
            if ( ! otherBookmarks.children.some(function(node) {return node.title === "RSS"}) ) {
                chrome.bookmarks.create({
                    index: 0,
                    title: "RSS"
                });
            }
        });
    }
});

{'fraction_non_alphanumeric': 0.14383561643835616, 'fraction_numerical': 0.005707762557077625, 'mean_word_length': 2.4801587301587302, 'pattern_counts': {'":': 3, '<': 3, '<?xml version=': 0, '>': 4, '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': '3162894', 'n_tokens_mistral': 278, 'n_tokens_neox': 262, 'n_words': 47}