This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Amazon OfferID Grabber | |
// @namespace http://tampermonkey.net/ | |
// @version 0.3 | |
// @description Copies Amazon product offer ID from input field with id "offerListingId" to clipboard | |
// @author Your Name | |
// @match https://www.amazon.de/* | |
// @match https://www.amazon.fr/* | |
// @match https://www.amazon.co.uk/* | |
// @match https://www.amazon.it/* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Object.values(import.meta.glob('../path/*.{png,jpg,jpeg,PNG,JPEG}', { eager: true, as: 'url' })) | |
/* | |
Example: | |
[ | |
0: "/src/assets/asso/Nogent_Seine.jpeg" | |
1: "/src/assets/asso/NogentsurSeine(2).jpeg" | |
2: "/src/assets/asso/Rimaucourt(2).jpg" | |
3: "/src/assets/asso/Rimaucourt(3).jpg" | |
4: "/src/assets/asso/Rimaucourt(4).jpg" |