- From: <bugzilla@jessica.w3.org>
- Date: Thu, 21 Nov 2013 20:23:56 +0000
- To: public-webapps-bugzilla@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=23860 --- Comment #16 from Rick Waldron <waldron.rick@gmail.com> --- (In reply to Marat Tanalin | tanalin.com from comment #15) > A couple of ideas about how jQuery could be precisely identified: > > 1. compare checksums (predefined in browser) of official JS files > distributed via jQuery website with checksums of files which URL (or > filename) contains "jquery" string (most likely jQuery file is typically > used as is -- without modifications); For statically scanning the official release of jQuery: - the minified version string looks like: `f="1.10.2"` - the source version string looks like: `core_version = "1.10.2"` But this may appear differently in older versions of jQuery. The header of jquery.js and jquery.min.js also include version: "v1.10.2" This pattern (ie. "v1.x[.x]" has been the same since jQuery 1.3 > > 2. take URLs of jQuery hosted on popular CDN's (e.g. Google's) into account. Yep, this was #1 on my list to check into :) -- You are receiving this mail because: You are the QA Contact for the bug.
Received on Thursday, 21 November 2013 20:23:58 UTC