<commit_before>var catchFirstUrl = 'https://anime-pictures.net',
	//bing_link = 'http://www.bing.com/HPImageArchive.aspx?format=js&idx=0&n=1&mkt=zh-CN';
	bing_link = 'https://bing.ioliu.cn/v1/rand';
var currentImg;
function Init() {
	chrome.storage.local.get("preLoadAnime", function (val) {
		if (val.preLoadAnime) {
			let preloadEle = document.querySelector('#loadingPage');
			new LGPreLoading(preloadEle);
		}
	})
	if (navigator.onLine) {
		chrome.storage.local.get("bossComming", function (val) {
			if (val.bossComming == undefined || val.bossComming == false) {
				chrome.storage.local.get("imageDataJson", function (val) {
					if (val.imageDataJson == undefined) {
						$.getJSON("./../backgrounds/imageData.json", function (data) {
							chrome.storage.local.set({ "imageDataJson": data });
						});
						$("#loading").remove();
						$("#loadingPage").fadeOut(2000, function () {
							$(this).remove();
						});
					} else {
						var data = val.imageDataJson;
						getRandomImg(data);
					}
				});
			} else {
				//家长模式
				//随机风景
				var tempImage = new Image();<commit_msg>fix: Change image soure url<commit_after>var catchFirstUrl = 'https://anime-pictures.net',
	//bing_link = 'http://www.bing.com/HPImageArchive.aspx?format=js&idx=0&n=1&mkt=zh-CN';
	// bing_link = 'https://bing.ioliu.cn/v1/rand';
	bing_link = 'https://uploadbeta.com/api/pictures/random/?key=BingEverydayWallpaperPicture';
var currentImg;
function Init() {
	let preloadEle = document.querySelector('#loadingPage');
	preloadEle.width = window.innerWidth;
	preloadEle.height = window.innerHeight;
	chrome.storage.local.get("preLoadAnime", function (val) {
		if (val.preLoadAnime) {
			new LGPreLoading(preloadEle);
		}
	})
	if (navigator.onLine) {
		chrome.storage.local.get("bossComming", function (val) {
			if (val.bossComming == undefined || val.bossComming == false) {
				chrome.storage.local.get("imageDataJson", function (val) {
					if (val.imageDataJson == undefined) {
						$.getJSON("./../backgrounds/imageData.json", function (data) {
							chrome.storage.local.set({ "imageDataJson": data });
						});
						$("#loading").remove();
						$("#loadingPage").fadeOut(2000, function () {
							$(this).remove();
						});
					} else {
						var data = val.imageDataJson;
						getRandomImg(data);
					}
				});
			} else {
				//家长模式
				//随机风景
				var tempImage = new Image();
{'fraction_non_alphanumeric': 0.17949790794979079, 'fraction_numerical': 0.005857740585774059, 'mean_word_length': 3.403314917127072, 'pattern_counts': {'":': 2, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 5, 'lorem ipsum': 0, 'www.': 2, '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': '3244926', 'n_tokens_mistral': 1011, 'n_tokens_neox': 833, 'n_words': 127}