const inject = () => {

	var u = document.createElement('script');
	u.setAttribute('src', 'chrome-extension://' + chrome.runtime.id + '/libs/libs.js');
	u.onload = function () {
		var tfcCrypt = document.createElement('script');
		tfcCrypt.setAttribute('src', 'chrome-extension://' + chrome.runtime.id + '/tfc-crypt.js');
		(document.head || document.documentElement).appendChild(tfcCrypt);
	};
	u.onerror = function () {
		console.error('[TFC Inject] Failed to load libs.js');
	};
	(document.head || document.documentElement).appendChild(u);

	var y = document.createElement('link');
    y.href = 'chrome-extension://' + chrome.runtime.id + '/style/style.css';
	y.rel = "stylesheet";
    (document.head || document.documentElement).appendChild(y);

	};
	inject();
