Source identity
| Field | Recorded value |
|---|---|
| Source type | archive member |
| Original record | 18a51fd2f426a8e2508c8f4e170ec456d162aee3 |
| Date | Not specified in source |
| Path or archive member | archives/libsrc-1c3f88063121/NETLIFY_AI_RECOVERY_2026-10-14_21-10-49/sites/janady13__tdg-personal-v4__204eae72-36b4-461e-b1c3-17e71468c44b/originals/.content_store/18/18a51fd2f426a8e2508c8f4e170ec456d162aee3 |
| Original SHA-256 | 4b2edd0bcacab7c3751416f7e209a936527ecbbf8270744820f3f6c5c1b3ad98 |
| Reading-copy SHA-256 | 70c55f9cffbbb0bb0e47b796ba3a5561aca93674e8038e32369906e04526355b |
| Archive source | {"sourceId": "libsrc-1c3f88063121", "member": "NETLIFY_AI_RECOVERY_2026-10-14_21-10-49/sites/janady13__tdg-personal-v4__204eae72-36b4-461e-b1c3-17e71468c44b/originals/.content_store/18/18a51fd2f426a8e2508c8f4e170ec456d162aee3"} |
Every recorded occurrence
These 2 records contain identical original source bytes. Their paths and revisions remain part of the archive.
| Original record | Branch or archive | Revision / identifier | Original location |
|---|---|---|---|
| 18a51fd2f426a8e2508c8f4e170ec456d162aee3 | {"sourceId": "libsrc-1c3f88063121", "member": "NETLIFY_AI_RECOVERY_2026-10-14_21-10-49/sites/janady13__tdg-personal-v4__204eae72-36b4-461e-b1c3-17e71468c44b/originals/.content_store/18/18a51fd2f426a8e2508c8f4e170ec456d162aee3"} | libsrc-d1bca79e85ba | archives/libsrc-1c3f88063121/NETLIFY_AI_RECOVERY_2026-10-14_21-10-49/sites/janady13__tdg-personal-v4__204eae72-36b4-461e-b1c3-17e71468c44b/originals/.content_store/18/18a51fd2f426a8e2508c8f4e170ec456d162aee3 |
| inject-credit.js | {"sourceId": "libsrc-1c3f88063121", "member": "NETLIFY_AI_RECOVERY_2026-10-14_21-10-49/sites/janady13__tdg-personal-v4__204eae72-36b4-461e-b1c3-17e71468c44b/originals/deploy_69ae09e0292be9eb90cfba85/netlify/edge-functions/inject-credit.js"} | libsrc-9ef67cfeec28 | archives/libsrc-1c3f88063121/NETLIFY_AI_RECOVERY_2026-10-14_21-10-49/sites/janady13__tdg-personal-v4__204eae72-36b4-461e-b1c3-17e71468c44b/originals/deploy_69ae09e0292be9eb90cfba85/netlify/edge-functions/inject-credit.js |
Recovered source transcript
Download complete source text ↓37 lines · 1.3 KB
export default async (request, context) => {
const response = await context.next();
const contentType = response.headers.get("content-type") ?? "";
if (!contentType.includes("text/html")) return response;
const marker = 'data-tdg-credit="1"';
const html = await response.text();
if (html.includes(marker)) return response;
const schema = `<script type="application/ld+json" data-tdg-credit="1">{"@context":"https://schema.org","@type":"WebSite","name":"Demo Site by ThatDeveloperGuy","author":{"@type":"Person","name":"Joseph Anady","@id":"https://thatdeveloperguy.com/#joseph-anady","url":"https://thatdeveloperguy.com","sameAs":"https://www.wikidata.org/wiki/Q138610626"}}</script>`;
[REDACTED: private contact or credential material]
let modified = html;
if (modified.includes("</head>")) {
modified = modified.replace("</head>", `${schema}\n</head>`);
} else {
modified = `${schema}${modified}`;
}
if (modified.includes("</body>")) {
modified = modified.replace("</body>", `${bar}\n</body>`);
} else {
modified = `${modified}${bar}`;
}
const headers = new Headers(response.headers);
headers.delete("content-length");
return new Response(modified, {
status: response.status,
statusText: response.statusText,
headers,
});
};
export const config = { path: "/*" };