jonkpirateboy / Pass-fur-alle

Since Polisens web queueing solution for getting a passport sucks, and it is more or less impossible to book a time, I wrote this small javascript. What it does is that it automates the searching for a bookable time. In the file you just change the constants to your information and away you go. :)
GNU General Public License v3.0
376 stars 96 forks source link

Add SRI hash for jqurey-3.6.0.min.js #76

Closed NoNameForMee closed 2 years ago

NoNameForMee commented 2 years ago

TamperMonkey does support Subresource Integrety, SRI hashes sha256 & md5 natively, making use of SRI should help ensure external js from jquery.com was not tampered with.

Ref: https://www.tampermonkey.net/documentation.php?ext=dhdg&show=dhdg#Subresource_Integrity https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity

ps. You can verify the hash yourself locally using the commands listed on the Mozilla page (if changing the sha to be the 256 one supported by TM) or directly online via https://www.srihash.org/ ds.