<commit_before>// context menu
chrome.contextMenus.create({
	title: "Add to Are.na",
	contexts: ["page","selection","link","editable","image","video", "audio"],
	onclick: function(options){
		chrome.tabs.query({active: true, currentWindow: true}, function(tabs) {
			chrome.tabs.sendMessage(tabs[0].id, {
				text: "open:dialog",
				options: options,
				title: tabs[0].title,
				url: tabs[0].url
			}, function(content){});
		});
	}
});

chrome.browserAction.onClicked.addListener(function(tab) {
	chrome.tabs.sendMessage(tab.id, {
		text: "open:dialog",
		options: { srcUrl: tab.url },
		title: tab.title,
		url: tab.url
	}, function(content){});
});<commit_msg>Convert indentation to spaces<commit_after>// context menu
chrome.contextMenus.create({
  title: "Add to Are.na",
  contexts: ["page","selection","link","editable","image","video", "audio"],
  onclick: function(options){
    chrome.tabs.query({active: true, currentWindow: true}, function(tabs) {
      chrome.tabs.sendMessage(tabs[0].id, {
        text: "open:dialog",
        options: options,
        title: tabs[0].title,
        url: tabs[0].url
      }, function(content){});
    });
  }
});

chrome.browserAction.onClicked.addListener(function(tab) {
  chrome.tabs.sendMessage(tab.id, {
    text: "open:dialog",
    options: { srcUrl: tab.url },
    title: tab.title,
    url: tab.url
  }, function(content){});
});
{'fraction_non_alphanumeric': 0.19164265129682997, 'fraction_numerical': 0.004322766570605188, 'mean_word_length': 4.144444444444445, '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': '3049288', 'n_tokens_mistral': 491, 'n_tokens_neox': 462, 'n_words': 83}