Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Unused Facebook javascript.. what's the deal?



Site URL: https://www.ome.design

Hello all. 

I've seen a few threads regarding this sort of subject already, and that often the conclusion is that there's nought to be done regarding the slow loading times related to 'unused javascript' on SS sites. 

Just as a preface, I'm a noob when it comes to coding so forgive my ignorance. 

Now, when assessing my site's speed on PageInsights (and various other tools), unused javascript files are cited as my main issue. Diving into this deeper, I see there are a bunch of facebook javascript files that seem to be slowing down my website???

Now, I have taken away my FB pixel.. and besides that I can't really imagine what's happening to cause this. Is it because I've social sharing icons and links to FB? Do FB links somehow insert their own javascript that could slow my website? (again, noob)

These are the links provided by Google when referencing the unused java files:










Any help would be most appreciated. 

Link to comment

2 answers to this question

Recommended Posts

  • 0

I don't have any solutions.

I'm not surprised that there may be unused Javascript files being loaded. SS is a general purpose web site editing tool. So although you may not use a particular feature SS may load up some files that others using a feature would need.

In a perfect world SS would only load what is needed for your site of course.

If you are pretty sure SS shouldn't be loading up certain files when you aren't using a feature then I suggest contacting customer support with your observations. I think SS is interested in reducing load times. If enough people report a similar issue some action may be taken.

Find my contributions useful? Please like, upvote, mark my answer as best , and see my profile. Thanks for your support!

Link to comment
  • 0
12 hours ago, JoeRees said:

I see there are a bunch of facebook javascript files that seem to be slowing down my website???

I don't see these being loaded for your site. I see the standard Squarespace scripts and the Shopify Buy Button script.

If you are seeing Facebook scripts, try your tests again in another browser or in private/incognito mode where extensions are disabled. If they persist, temporarily remove all code from your site and test it again. This will confirm whether your code is to blame. If the issue remains after all the code has been removed, contact Squarespace Customer Care.

Hi! I'm Paul, an independent Squarespace Consultant since 2007 and founder of SF Digital, building the features that Squarespace didn't include. Our mini-extensions allow you to pick dates in any format, show prices in other currencies, take orders without payment or improve your cartI value honesty, integrity, transparency and respect . Links in my posts may refer to SF Digital products or may be affiliate links.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

  • Create New...