Charity costs added

This commit is contained in:
Danny
2026-09-13 11:58:12 +01:00
parent ae22501a6d
commit 3b4c69f490
51 changed files with 4484 additions and 57 deletions
+21 -3
View File
@@ -2,6 +2,24 @@
FRAXLE.NET — main.js
================================================ */
// --- De-obfuscate contact email (keeps it off scrapers, works for real visitors) ---
(function () {
var nodes = document.querySelectorAll('.js-email');
if (!nodes.length) return;
nodes.forEach(function (node) {
var user = node.getAttribute('data-user');
var domain = node.getAttribute('data-domain');
if (!user || !domain) return;
var address = user + '@' + domain;
if (node.tagName === 'A') {
node.href = 'mailto:' + address;
}
if (node.children.length === 0) {
node.textContent = address;
}
});
})();
// --- Scroll position: always start at top unless coming from form ---
if (history.scrollRestoration) {
history.scrollRestoration = 'manual';
@@ -29,9 +47,9 @@ if (history.scrollRestoration) {
'merchants-portal': "Hi Danny! I'm interested in The Merchant's Portal ecommerce package (£3,000–£5,000). A little about my project:\n\n",
'grand-emporium': "Hi Danny! I'm interested in The Grand Emporium ecommerce package (£5,000–£7,500+). A little about my project:\n\n",
'wizards-bench': "Hi Danny! I'd like some ad-hoc tech support from The Wizard's Bench (£40/hour). Here's what I need help with:\n\n",
'minor-ward': "Hi Danny! I'm interested in the Minor Ward care plan (£10/month). A little about my website:\n\n",
'greater-ward': "Hi Danny! I'm interested in the Greater Ward care plan (£25/month). A little about my website:\n\n",
'merchants-ward': "Hi Danny! I'm interested in the Merchant's Ward care plan (£50/month). A little about my store:\n\n",
'minor-ward': "Hi Danny! I'm interested in the Minor Ward care plan (£25/month). A little about my website:\n\n",
'greater-ward': "Hi Danny! I'm interested in the Greater Ward care plan (£50/month). A little about my website:\n\n",
'merchants-ward': "Hi Danny! I'm interested in the Merchant's Ward care plan (£75/month). A little about my store:\n\n",
'the-cantrip': "Hi Danny! I'm interested in The Cantrip web app (£750–£2,000). A little about what I need:\n\n",
'grand-working': "Hi Danny! I'm interested in The Grand Working custom app (£3,000–£10,000+). A little about my project:\n\n",
'sigil-workshop': "Hi Danny! I'm interested in The Sigil Workshop graphics & branding (from £150). A little about what I need:\n\n",