From 614a420f951582cd0e0da6a4cbf7f2797bda147e Mon Sep 17 00:00:00 2001 From: Timotei Date: Tue, 10 Dec 2024 20:15:23 +0200 Subject: [PATCH] Js exclude changes (#726) * Remove duplicates * Reorder data and add new ones --- data/js_defer_excludes.txt | 5 +---- data/js_excludes.txt | 10 ++++++---- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/data/js_defer_excludes.txt b/data/js_defer_excludes.txt index 168f0dfcf..17552cf20 100644 --- a/data/js_defer_excludes.txt +++ b/data/js_defer_excludes.txt @@ -2,15 +2,12 @@ # Comment can use `# `(there is a space following), or `##`, can use both as a new line or end of one line # If you want to predefine new items, please send a Pull Request to https://github.com/litespeedtech/lscache_wp/blob/dev/data/js_defer_excludes.txt We will merge into next plugin release - # JS file URL excludes adsbygoogle -turnstile -challenges.cloudflare.com +## JetPack Stats stats.wp.com/e- _stq -## JetPack Stats # Cloudflare turnstile - Tobolo turnstile diff --git a/data/js_excludes.txt b/data/js_excludes.txt index 53575a0df..6f53ab24b 100644 --- a/data/js_excludes.txt +++ b/data/js_excludes.txt @@ -4,14 +4,17 @@ # JS file URL excludes maps-api-ssl.google.com +maps.google.com/maps +maps.googleapis.com +google.com/recaptcha +google-analytics.com/analytics.js stats.wp.com js.stripe.com paypal.com/sdk/js -maps.google.com/maps cse.google.com/cse.js /syntaxhighlighter/ spotlight-social-photo-feeds ## https://docs.spotlightwp.com/article/757-autoptimize-compatibility @Tobolo -challenges.cloudflare.com +userway.org # Inline JS excludes document.write @@ -19,7 +22,6 @@ gtag gtm dataLayer adsbygoogle -turnstile block_tdi_ ## Theme: Newspaper by tagDiv.com @@ -27,9 +29,9 @@ data-view-breakpoint-pointer ## Plugin: The Events Calendar by Modern Tribe (htt wp-json/wp-statistics ## WP Statistics +## JetPack Stats stats.wp.com/e- _stq -## JetPack Stats # Cloudflare turnstile - Tobolo turnstile