<commit_before>var WindowUtils = require("sdk/window/utils");
var windows = require("sdk/windows").browserWindows;
var { viewFor } = require("sdk/view/core");

windows.on("open", function(browserWindow) {
	var chromeWindow = viewFor(browserWindow);
	if (WindowUtils.isBrowser(chromeWindow) && !chromeWindow.fullScreen) {
		chromeWindow.BrowserFullScreen();
	}
});
<commit_msg>Run on all windows at startup<commit_after>var WindowUtils = require("sdk/window/utils");
var windows = require("sdk/windows").browserWindows;
var { viewFor } = require("sdk/view/core");

exports.main = function (options, callbacks) {
	if (options.loadReason == "startup") {
		for (let window of windows) {
			var chromeWindow = viewFor(window);
			if (WindowUtils.isBrowser(chromeWindow) && !chromeWindow.fullScreen) {
				chromeWindow.BrowserFullScreen();
			}
		}
	}
};

windows.on("open", function(browserWindow) {
	var chromeWindow = viewFor(browserWindow);
	if (WindowUtils.isBrowser(chromeWindow) && !chromeWindow.fullScreen) {
		chromeWindow.BrowserFullScreen();
	}
});

{'fraction_non_alphanumeric': 0.14990512333965844, 'fraction_numerical': 0.0, 'mean_word_length': 5.940789473684211, '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': '5535835', 'n_tokens_mistral': 335, 'n_tokens_neox': 318, 'n_words': 60}