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 NutAID | |
| // @match *://*/* | |
| // @version 1.2.0-indev5 | |
| // @author nutzlos | |
| // @description Nut's All Image Downloader. | |
| // @run-at document-start | |
| // @inject-into content | |
| // @sandbox DOM | |
| // @grant GM_getValue |
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
| // Enum tương đương với ProductIntend trong C# | |
| const ProductIntend = { | |
| Sublime: 'Sublime', | |
| VSCode: 'VSCode', | |
| WebStom: 'WebStom' | |
| }; | |
| function createLicenseData(licensee, email, expireDate, productIntend, isBundleForVSCode = false) { | |
| if (productIntend === ProductIntend.Sublime) { | |
| return licensee + "\n(Sublime)(Freedom)\n" + expireDate + "\n" + generateGuid().substring(0, 34); |