Skip to content

Commit

Permalink
Js exclude changes (#726)
Browse files Browse the repository at this point in the history
* Remove duplicates

* Reorder data and add new ones
  • Loading branch information
Tymotey authored Dec 10, 2024
1 parent 176301c commit 614a420
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
5 changes: 1 addition & 4 deletions data/js_defer_excludes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 6 additions & 4 deletions data/js_excludes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,32 +4,34 @@

# 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
gtag
gtm
dataLayer
adsbygoogle
turnstile

block_tdi_ ## Theme: Newspaper by tagDiv.com

data-view-breakpoint-pointer ## Plugin: The Events Calendar by Modern Tribe (https://theeventscalendar.com/)

wp-json/wp-statistics ## WP Statistics

## JetPack Stats
stats.wp.com/e-
_stq
## JetPack Stats

# Cloudflare turnstile - Tobolo
turnstile
Expand Down

0 comments on commit 614a420

Please sign in to comment.