From e385b7f8fdea624fdc3234661a3fc21604bdb8b6 Mon Sep 17 00:00:00 2001 From: Adam Moussa <166072409+amoussa1229@users.noreply.github.com> Date: Sat, 4 Apr 2026 17:40:29 -0400 Subject: [PATCH] Strip unused WordPress/Elementor JS from static site Remove ~35-40 script tags per page (jQuery, jQuery UI, jQuery Migrate, Elementor frontend/pro, ElementsKit, MetForm + React stack, WP emoji polyfill, WP hooks/i18n, SmartMenus, Simple Job Board, etc.) that serve no purpose on a statically exported site. Replace with a ~40-line vanilla JS snippet that preserves scroll-reveal animations (IntersectionObserver) and counter count-up effects. Co-Authored-By: Claude Opus 4.6 --- about/index.html | 1206 +-------------------------- career/index.html | 1211 +--------------------------- contact/index.html | 1200 +-------------------------- index.html | 1203 ++------------------------- jobs/dispatcher/index.html | 1174 +-------------------------- services/index.html | 1201 +-------------------------- social-accountability-2/index.html | 1200 +-------------------------- 7 files changed, 262 insertions(+), 8133 deletions(-) diff --git a/about/index.html b/about/index.html index 7a36750..b249069 100644 --- a/about/index.html +++ b/about/index.html @@ -20,22 +20,7 @@ - - + @@ -80,9 +65,6 @@ window._wpemojiSettings = {"baseUrl":"https:\/\/s.w.org\/images\/core\/emoji\/15 - - - @@ -119,7 +101,6 @@ window._wpemojiSettings = {"baseUrl":"https:\/\/s.w.org\/images\/core\/emoji\/15 -
@@ -328,11 +309,6 @@ window._wpemojiSettings = {"baseUrl":"https:\/\/s.w.org\/images\/core\/emoji\/15

At Sea Haven Industries, we believe in building not just structures, but lasting relationships. Our philosophy is rooted in integrity, quality, and innovation. We strive to exceed expectations by delivering exceptional craftsmanship and reliable service, ensuring that every project stands as a testament to our commitment to excellence. - - - - -

@@ -731,1112 +707,13 @@ window._wpemojiSettings = {"baseUrl":"https:\/\/s.w.org\/images\/core\/emoji\/15
- - @@ -2041,7 +918,7 @@ window._wpemojiSettings = {"baseUrl":"https:\/\/s.w.org\/images\/core\/emoji\/15 - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/career/index.html b/career/index.html index da53662..aede8f0 100644 --- a/career/index.html +++ b/career/index.html @@ -20,22 +20,7 @@ - - + @@ -81,9 +66,6 @@ window._wpemojiSettings = {"baseUrl":"https:\/\/s.w.org\/images\/core\/emoji\/15 - - - @@ -120,7 +102,6 @@ window._wpemojiSettings = {"baseUrl":"https:\/\/s.w.org\/images\/core\/emoji\/15 -
@@ -277,7 +258,6 @@ window._wpemojiSettings = {"baseUrl":"https:\/\/s.w.org\/images\/core\/emoji\/15
-
@@ -297,7 +277,6 @@ window._wpemojiSettings = {"baseUrl":"https:\/\/s.w.org\/images\/core\/emoji\/15 -
@@ -345,7 +324,6 @@ End Company Logo --> -
@@ -353,7 +331,6 @@ End Job Type --> -
@@ -455,7 +432,6 @@ End Jobs List View -->
-
@@ -752,1112 +728,13 @@ End Jobs List View -->
- -
@@ -2062,7 +939,7 @@ End Jobs List View -->
- + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/contact/index.html b/contact/index.html index 5a88ddb..aa99901 100644 --- a/contact/index.html +++ b/contact/index.html @@ -20,22 +20,7 @@ - - + @@ -81,9 +66,6 @@ window._wpemojiSettings = {"baseUrl":"https:\/\/s.w.org\/images\/core\/emoji\/15 - - - @@ -120,7 +102,6 @@ window._wpemojiSettings = {"baseUrl":"https:\/\/s.w.org\/images\/core\/emoji\/15 -
@@ -470,1112 +451,13 @@ window._wpemojiSettings = {"baseUrl":"https:\/\/s.w.org\/images\/core\/emoji\/15
- -
@@ -1780,7 +662,7 @@ window._wpemojiSettings = {"baseUrl":"https:\/\/s.w.org\/images\/core\/emoji\/15
- + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/index.html b/index.html index 0c1922e..8318b4c 100644 --- a/index.html +++ b/index.html @@ -20,22 +20,7 @@ - - + @@ -81,9 +66,6 @@ window._wpemojiSettings = {"baseUrl":"https:\/\/s.w.org\/images\/core\/emoji\/15 - - - @@ -120,7 +102,6 @@ window._wpemojiSettings = {"baseUrl":"https:\/\/s.w.org\/images\/core\/emoji\/15 -
@@ -1444,1112 +1425,13 @@ window._wpemojiSettings = {"baseUrl":"https:\/\/s.w.org\/images\/core\/emoji\/15
- -
@@ -2754,7 +1636,7 @@ window._wpemojiSettings = {"baseUrl":"https:\/\/s.w.org\/images\/core\/emoji\/15 - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/jobs/dispatcher/index.html b/jobs/dispatcher/index.html index dae0ea2..4998a78 100644 --- a/jobs/dispatcher/index.html +++ b/jobs/dispatcher/index.html @@ -20,22 +20,7 @@ - - + @@ -77,9 +62,6 @@ window._wpemojiSettings = {"baseUrl":"https:\/\/s.w.org\/images\/core\/emoji\/15 - - - @@ -116,7 +98,6 @@ window._wpemojiSettings = {"baseUrl":"https:\/\/s.w.org\/images\/core\/emoji\/15 -
@@ -254,7 +235,6 @@ window._wpemojiSettings = {"baseUrl":"https:\/\/s.w.org\/images\/core\/emoji\/15 -
@@ -284,7 +264,6 @@ window._wpemojiSettings = {"baseUrl":"https:\/\/s.w.org\/images\/core\/emoji\/15 -
@@ -293,7 +272,6 @@ End Job Type --> -
@@ -317,7 +295,6 @@ End Company Tagline --> -

Duties:

@@ -356,7 +333,6 @@ End Company Meta -->
-
@@ -428,7 +404,6 @@ End Loader Overlay -->
-
@@ -436,20 +411,17 @@ End Job Application Form --> -
-
- - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/services/index.html b/services/index.html index 421c621..4ffe8fd 100644 --- a/services/index.html +++ b/services/index.html @@ -20,22 +20,7 @@ - - + @@ -84,9 +69,6 @@ window._wpemojiSettings = {"baseUrl":"https:\/\/s.w.org\/images\/core\/emoji\/15 - - - @@ -123,7 +105,6 @@ window._wpemojiSettings = {"baseUrl":"https:\/\/s.w.org\/images\/core\/emoji\/15 -
@@ -973,1112 +954,13 @@ window._wpemojiSettings = {"baseUrl":"https:\/\/s.w.org\/images\/core\/emoji\/15
- -
@@ -2283,7 +1165,7 @@ window._wpemojiSettings = {"baseUrl":"https:\/\/s.w.org\/images\/core\/emoji\/15 - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/social-accountability-2/index.html b/social-accountability-2/index.html index f79e5b7..a2a4e46 100644 --- a/social-accountability-2/index.html +++ b/social-accountability-2/index.html @@ -20,22 +20,7 @@ - - + @@ -79,9 +64,6 @@ window._wpemojiSettings = {"baseUrl":"https:\/\/s.w.org\/images\/core\/emoji\/15 - - - @@ -118,7 +100,6 @@ window._wpemojiSettings = {"baseUrl":"https:\/\/s.w.org\/images\/core\/emoji\/15 -
@@ -656,1112 +637,13 @@ window._wpemojiSettings = {"baseUrl":"https:\/\/s.w.org\/images\/core\/emoji\/15
- -
@@ -1974,7 +856,7 @@ window._wpemojiSettings = {"baseUrl":"https:\/\/s.w.org\/images\/core\/emoji\/15 - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file