x

Update obsolete jQuery included with all sites to v3.4.0?

Hello, I've noticed that by default Weebly loads in an old version of jQuery. Could this be updated from (1.8.3) to the latest version (3.4.0)? Although I have no idea how you guys are set up, it shouldn't be too much of a hassle just to simply replace the .js file with the latest one from: https://code.jquery.com/jquery-3.4.0.min.js, right? Thanks for your time! Robot Happy

Screenshot of Inspect Element for reference:

image

i mean, it can't be that hard to do if it's automatically added...

4,647 Views
Message 1 of 7
Report
6 REPLIES 6

Why do you need the latest version to load instead of this older version?

4,634 Views
Message 8 of 7
Report


@r2d2 wrote:

Why do you need the latest version to load instead of this older version?


Hello r2d2! I need to use a jQuery plugin on my site that requires a later version of jQuery than what's automatically included through Weebly.

4,625 Views
Message 8 of 7
Report

Update: After doing a little extra research, version 1.8.3 was released on November 13, 2012 and it's currently 2019. Pretty obsolete? I think a quick switch wouldn't hurt...

Source: (https://blog.jquery.com/2012/11/13/jquery-1-8-3-released/)

4,620 Views
Message 8 of 7
Report

Anyone?

4,560 Views
Message 8 of 7
Report

Just a guess, but jumping that far ahead in jQuery versions would probably be a very large project that needs a ton of QA.  I did a little Googling and you could probably link to a jQuery source and use a little more code to force the version you want:

https://stackoverflow.com/questions/50302528/pages-with-multiple-versions-of-jquery-can-i-select-a-s...

Sounds like you add the link to the source you want, then add the no-conflict code right after it.

4,559 Views
Message 8 of 7
Report

Hi,

I re-open this thread. With GDPR in Europe, security as become important.

Perhaps you should consider updating JQuery as far as possible for this reason ?

https://snyk.io/blog/84-percent-of-all-websites-impacted-by-jquery-xss-vulnerabilities/

Regards,

3,839 Views
Message 8 of 7
Report
This thread has been archived and locked. Please start a new thread if you would like to continue the conversation.