From a58f47e672d9262226a9b8ec05455b334de50bc8 Mon Sep 17 00:00:00 2001 From: Joe Rutkowski Date: Wed, 4 Jan 2023 23:21:48 -0500 Subject: [PATCH] stricter types & numerous bug fixes --- .gitignore | 1 + dist/opfs.d.ts | 4 +- dist/opfs.d.ts.map | 2 +- dist/opfs.js | 140 ++++++++++------ dist/opfs.js.map | 2 +- dist/opfs.min.js | 2 +- opfs.js | 140 ++++++++++------ opfs.min.js | 2 +- package-lock.json | 28 +--- src/opfs.ts | 409 ++++++++++++++++++++++----------------------- 10 files changed, 404 insertions(+), 326 deletions(-) diff --git a/.gitignore b/.gitignore index 9bea433..6675c5d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ .DS_Store +node_modules diff --git a/dist/opfs.d.ts b/dist/opfs.d.ts index 9898a03..6eb2fdc 100644 --- a/dist/opfs.d.ts +++ b/dist/opfs.d.ts @@ -1,7 +1,7 @@ /** * - * Overpowered Browser Fingerprinting Script v1.0.0 - (c) 2023 Joe Rutkowski (https://github.com/Joe12387/OP-Fingerprinting-Script) + * Overpowered Browser Fingerprinting Script v1.0.1b - (c) 2023 Joe Rutkowski (https://github.com/Joe12387/OP-Fingerprinting-Script) * **/ -declare const fingerprint: () => Promise; +declare const fingerprint: () => Promise; //# sourceMappingURL=opfs.d.ts.map \ No newline at end of file diff --git a/dist/opfs.d.ts.map b/dist/opfs.d.ts.map index 22197af..a2a7e19 100644 --- a/dist/opfs.d.ts.map +++ b/dist/opfs.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"opfs.d.ts","sourceRoot":"","sources":["../src/opfs.ts"],"names":[],"mappings":"AAAA;;;;IAII;AACJ,QAAA,MAAM,WAAW,wBAqhChB,CAAC"} \ No newline at end of file +{"version":3,"file":"opfs.d.ts","sourceRoot":"","sources":["../src/opfs.ts"],"names":[],"mappings":"AAAA;;;;IAII;AACJ,QAAA,MAAM,WAAW,QAAe,QAAQ,GAAG,CAohC1C,CAAC"} \ No newline at end of file diff --git a/dist/opfs.js b/dist/opfs.js index 63af342..2ea8276 100644 --- a/dist/opfs.js +++ b/dist/opfs.js @@ -1,7 +1,43 @@ "use strict"; +var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { + function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } + return new (P || (P = Promise))(function (resolve, reject) { + function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } + function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } + function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } + step((generator = generator.apply(thisArg, _arguments || [])).next()); + }); +}; +var __generator = (this && this.__generator) || function (thisArg, body) { + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; + return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + function verb(n) { return function (v) { return step([n, v]); }; } + function step(op) { + if (f) throw new TypeError("Generator is already executing."); + while (g && (g = 0, op[0] && (_ = 0)), _) try { + if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; + if (y = 0, t) op = [op[0] & 2, t.value]; + switch (op[0]) { + case 0: case 1: t = op; break; + case 4: _.label++; return { value: op[1], done: false }; + case 5: _.label++; y = op[1]; op = [0]; continue; + case 7: op = _.ops.pop(); _.trys.pop(); continue; + default: + if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } + if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } + if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } + if (t[2]) _.ops.pop(); + _.trys.pop(); continue; + } + op = body.call(thisArg, _); + } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } + if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; + } +}; /** * - * Overpowered Browser Fingerprinting Script v1.0.0 - (c) 2023 Joe Rutkowski (https://github.com/Joe12387/OP-Fingerprinting-Script) + * Overpowered Browser Fingerprinting Script v1.0.1b - (c) 2023 Joe Rutkowski (https://github.com/Joe12387/OP-Fingerprinting-Script) * **/ var fingerprint = function () { @@ -309,14 +345,14 @@ var fingerprint = function () { resolve([0, tz]); } var year = (new Date).getFullYear(); - var utc = -Math.max(parseFloat("" + new Date(year, 0, 1).getTimezoneOffset()), parseFloat("" + new Date(year, 6, 1).getTimezoneOffset())); + var utc = -Math.max(parseFloat(String(new Date(year, 0, 1).getTimezoneOffset())), parseFloat(String(new Date(year, 6, 1).getTimezoneOffset()))); resolve([1, "UTC" + (utc >= 0 ? "+" : "-") + Math.abs(utc)]); }); }, timezoneOffset: function () { return new Promise(function (resolve) { var year = (new Date).getFullYear(); - resolve([0, -Math.max(parseFloat("" + new Date(year, 0, 1).getTimezoneOffset()), parseFloat("" + new Date(year, 6, 1).getTimezoneOffset()))]); + resolve([0, -Math.max(parseFloat(String(new Date(year, 0, 1).getTimezoneOffset())), parseFloat(String(new Date(year, 6, 1).getTimezoneOffset())))]); }); }, language: function () { @@ -726,51 +762,61 @@ var fingerprint = function () { }, fonts: function () { return new Promise(function (resolve) { - if (isBrave()) - resolve([-1, null]); - var fontMode = (isSafari() && !isFirefox()) || isMSIE(); - var fontList = fontMode ? ["fakefont", "Apple Color Emoji", "sans-serif-thin", "ARNO PRO", "Agency FB", "Arabic Typesetting", "Arial Unicode MS", "AvantGarde Bk BT", "BankGothic Md BT", "Batang", "Bitstream Vera Sans Mono", "Calibri", "Century", "Century Gothic", "Clarendon", "EUROSTILE", "Franklin Gothic", "Futura Bk BT", "Futura Md BT", "GOTHAM", "Gill Sans", "HELV", "Haettenschweiler", "Helvetica Neue", "Humanst521 BT", "Leelawadee", "Letter Gothic", "Levenim MT", "Lucida Bright", "Lucida Sans", "Menlo", "MS Mincho", "MS Outlook", "MS Reference Specialty", "MS UI Gothic", "MT Extra", "MYRIAD PRO", "Marlett", "Meiryo UI", "Microsoft Uighur", "Minion Pro", "Monotype Corsiva", "PMingLiU", "Pristina", "SCRIPTINA", "Segoe UI Light", "Serifa", "SimHei", "Small Fonts", "Staccato222 BT", "TRAJAN PRO", "Univers CE 55 Medium", "Vrinda", "ZWAdobeF", "Bauhaus 93", "FORTE", "Book Antiqua", "Liberation Sans", "Liberation Serif", "Liberation Mono", "Liberation Sans Narrow", "Droid Naskh Shift", "Droid Naskh Shift Alt", "Droid Naskh System UI", "Droid Naskh UI", "Droid Robot Regular", "Droid Sans", "Droid Sans Fallback", "Droid Sans Hebrew", "Droid Sans Japanese", "Droid Sans Mono", "Droid Sans Thai", "Droid Serif", "DroidSansFallback", "Noto Naskh Arabic", "Ubuntu Mono derivative Powerline", "Ubuntu Mono derivative Powerline Bold", "Ubuntu Mono derivative Powerline Bold Italic", "Ubuntu Mono derivative Powerline Italic", "Adobe Caslon", "Adobe Caslon Pro", "Adobe Caslon Pro Bold", "Adobe Devanagari", "Adobe Fan Heiti Std B", "Adobe Fangsong Std", "Adobe Fangsong Std R", "Adobe Garamond", "Adobe Garamond Pro", "Adobe Garamond Pro Bold", "Adobe Gothic Std", "Adobe Gothic Std B", "Adobe Hebrew", "Adobe Heiti Std R", "Adobe Jenson", "Adobe Kaiti Std R", "Adobe Ming Std L", "Adobe Myungjo Std M", "Adobe Naskh Medium", "Adobe Song Std L", "Orator Std Slanted", "Poplar Std", "Prestige Elite Std Bd", "Rosewood Std Regular", "Giddyup Std", "Hobo Std", "Hobo Std Medium", "Birch Std", "Blackoak Std", "TeamViewer13", "TeamViewer14", "TeamViewer15", "TeamViewer16"] : ["fakefont", "TeamViewer10", "TeamViewer11", "TeamViewer12", "TeamViewer13", "TeamViewer7", "TeamViewer8", "TeamViewer9", ".Mondulkiri U GR 1.5", "AIGDT", "AMGDT", "Abel", "Aboriginal Sans", "Aboriginal Serif", "Abyssinica SIL", "AcadEref", "Acumin", "Adobe Arabic", "Adobe Caslon", "Adobe Caslon Pro", "Adobe Caslon Pro Bold", "Adobe Devanagari", "Adobe Fan Heiti Std B", "Adobe Fangsong Std", "Adobe Fangsong Std R", "Adobe Garamond", "Adobe Garamond Pro", "Adobe Garamond Pro Bold", "Adobe Gothic Std", "Adobe Gothic Std B", "Adobe Hebrew", "Adobe Heiti Std R", "Adobe Jenson", "Adobe Kaiti Std R", "Adobe Ming Std L", "Adobe Myungjo Std M", "Adobe Naskh Medium", "Adobe Song Std L", "Agency FB", "Aharoni", "Akaash", "Akshar Unicode", "AksharUnicode", "Al Bayan", "Alexandra Script", "Algerian", "Amadeus", "AmdtSymbols", "AnastasiaScript", "Andale Mono", "Andalus", "Angsana New", "AngsanaUPC", "AnjaliOldLipi", "Annabelle", "Aparajita", "Apple Casual", "Apple Chancery", "Apple Color Emoji", "Apple SD Gothic Neo", "AppleGothic", "AppleMyungjo", "Arabic Transparent", "Arabic Typesetting", "Arial", "Arial AMU", "Arial Baltic", "Arial CE", "Arial CYR", "Arial Cyr", "Arial Greek", "Arial Hebrew", "Arial MT", "Arial Rounded MT Bold", "Arial TUR", "Arial Unicode MS", "Ariston", "Arno Pro", "Arno Pro Caption", "Arno Pro Display", "Arno Pro Light Display", "Arno Pro SmText", "Arno Pro Smbd", "Arno Pro Smbd Caption", "Arno Pro Smbd Display", "Arno Pro Smbd SmText", "Arno Pro Smbd Subhead", "Arno Pro Subhead", "Asana Math", "Ayuthaya", "BJCree Uni", "BPG Classic 99U", "BPG Paata Khutsuri U", "Bangla MN", "Bangla Sangam MN", "BankGothic Lt BT", "BankGothic Md BT", "Baskerville Old Face", "Batang", "BatangChe", "Bauhaus 93", "Bell Gothic Std Black", "Bell Gothic Std Light", "Bell MT", "Berlin Sans FB", "Berlin Sans FB Demi", "Bernard MT Condensed", "Bickham Script One", "Bickham Script Pro Regular", "Bickham Script Pro Semibold", "Bickham Script Two", "Birch Std", "Bitstream Vera Sans Mono", "Blackadder ITC", "Blackoak Std", "Bernard Condensed", "Bodoni MT", "Bodoni MT Black", "Bodoni MT Poster Compressed", "Book Antiqua", "Bookman Old Style", "Bookshelf Symbol 7", "Bradley Hand ITC", "Britannic Bold", "Broadway", "Browallia New", "BrowalliaUPC", "Brush Script MT", "Brush Script Std", "CDT Khmer", "Calibri", "Calibri Light", "Californian FB", "Calisto MT", "Calligraph", "Cambria", "Cambria Math", "Candara", "Carolina", "Castellar", "Centaur", "Century", "Century Gothic", "Century Schoolbook", "Ceremonious Two", "Chaparral Pro", "Chaparral Pro Light", "Charcoal CY", "Charis SIL Compact", "Charlemagne Std", "Chiller", "CityBlueprint", "Clarendon BT", "Clarendon Blk BT", "Clarendon Lt BT", "Clear Sans", "Code2000", "Colonna MT", "Comic Sans", "Comic Sans MS", "CommercialPi BT", "CommercialScript BT", "Complex", "Consolas", "Constantia", "Cooper Black", "Cooper Std Black", "Copperplate Gothic Bold", "Copperplate Gothic Light", "Copyist", "Corbel", "Cordia New", "CordiaUPC", "CountryBlueprint", "Courier", "Courier New", "Courier New Baltic", "Courier New CE", "Courier New CYR", "Courier New Cyr", "Courier New Greek", "Courier New TUR", "Curlz MT", "DFKai-SB", "DaunPenh", "David", "DecoType Naskh", "Decor", "DejaVu Math TeX Gyre", "DejaVu Sans", "DejaVu Sans Condensed", "DejaVu Sans Light", "DejaVu Sans Mono", "DejaVu Serif", "DejaVu Serif Condensed", "Devanagari MT", "Devanagari Sangam MN", "DilleniaUPC", "DokChampa", "Dotum", "DotumChe", "Droid Naskh Shift", "Droid Naskh Shift Alt", "Droid Naskh System UI", "Droid Naskh UI", "Droid Robot Regular", "Droid Sans", "Droid Sans Fallback", "Droid Sans Hebrew", "Droid Sans Japanese", "Droid Sans Mono", "Droid Sans Thai", "Droid Serif", "DroidSansFallback", "Dutch801 Rm BT", "Dutch801 XBd BT", "Ebrima", "Eccentric Std", "Edwardian Script ITC", "Ekushey Punarbhaba", "Elephant", "Engravers MT", "Eras Bold ITC", "Eras Demi ITC", "Eras Light ITC", "Eras Medium ITC", "Estrangelo Edessa", "Ethiopia Jiret", "EucrosiaUPC", "Euphemia", "Euphemia UCAS", "EuroRoman", "Eurostile", "FTEasci1", "FTEasci1-f", "FTEasci2", "FTEasci2-f", "FTEbaudo", "FTEbaudo-f", "FTEebcd1", "FTEebcd1-f", "FTEebcd2", "FTEebcd2-f", "FTEspec", "FTEspec-f", "FangSong", "Felix Titling", "Fira Code", "Fira Mono", "Fira Sans", "Fixed Miriam Transparent", "Fixedsys", "Footlight MT Light", "Forte", "FrankRuehl", "Franklin Gothic Book", "Franklin Gothic Demi", "Franklin Gothic Demi Cond", "Franklin Gothic Heavy", "Franklin Gothic Medium", "Franklin Gothic Medium Cond", "Freehand521 BT", "FreesiaUPC", "Freestyle Script", "French Script MT", "Futura Md BT", "GDT", "GENISO", "GF Zemen Unicode", "Gabriola", "Gadugi", "Garamond", "Garamond Premr Pro", "Garamond Premr Pro Smbd", "Gautami", "Geeza Pro", "Geneva", "Gentium Basic", "Gentium Book Basic", "Georgia", "Giddyup Std", "Gigi", "Gill Sans MT", "Gill Sans MT Condensed", "Gill Sans MT Ext Condensed Bold", "Gill Sans Ultra Bold", "Gill Sans Ultra Bold Condensed", "Gisha", "Gloucester MT Extra Condensed", "GothicE", "GothicG", "GothicI", "Goudy Old Style", "Goudy Stout", "GreekC", "GreekS", "Gujarati MT", "Gujarati Sangam MN", "Gulim", "GulimChe", "Gungsuh", "GungsuhChe", "Gurmukhi MT", "Guttman Yad", "HYSerif", "Haettenschweiler", "Harlow Solid Italic", "Harrington", "Heather Script One", "Heiti SC", "Heiti TC", "Helvetica", "Helvetica Neue", "High Tower Text", "Hiragino Kaku Gothic Pro", "Hiragino Kaku Gothic ProN", "Hiragino Mincho Pro", "Hiragino Mincho ProN", "Hobo Std", "Hoefler Text", "ISOCP", "ISOCP2", "ISOCP3", "ISOCPEUR", "ISOCT", "ISOCT2", "ISOCT3", "ISOCTEUR", "Impact", "Imprint MT Shadow", "InaiMathi", "Informal Roman", "IrisUPC", "Iskoola Pota", "Italic", "ItalicC", "ItalicT", "JasmineUPC", "Jokerman", "Jomolhari", "Juice ITC", "KaiTi", "KaiTi_GB2312", "Kailasa", "Kaiti SC", "Kaiti TC", "Kalinga", "Kannada MN", "Kannada Sangam MN", "Kartika", "Kedage", "Kefa", "Kh-SrokKhleang", "Khmer MN", "Khmer OS", "Khmer OS Fasthand", "Khmer OS Freehand", "Khmer OS Metal Chrieng", "Khmer OS Muol", "Khmer OS System", "Khmer Sangam MN", "Khmer UI", "KodchiangUPC", "Kokila", "Kozuka Gothic Pr6N B", "Kozuka Gothic Pr6N EL", "Kozuka Gothic Pr6N H", "Kozuka Gothic Pr6N L", "Kozuka Gothic Pr6N M", "Kozuka Gothic Pr6N R", "Kozuka Gothic Pro B", "Kozuka Gothic Pro EL", "Kozuka Gothic Pro H", "Kozuka Gothic Pro L", "Kozuka Gothic Pro M", "Kozuka Gothic Pro R", "Kozuka Mincho Pr6N B", "Kozuka Mincho Pr6N EL", "Kozuka Mincho Pr6N H", "Kozuka Mincho Pr6N L", "Kozuka Mincho Pr6N M", "Kozuka Mincho Pr6N R", "Kozuka Mincho Pro B", "Kozuka Mincho Pro EL", "Kozuka Mincho Pro H", "Kozuka Mincho Pro L", "Kozuka Mincho Pro M", "Kozuka Mincho Pro R", "Kristen ITC", "Ktav", "KufiStandardGK", "Kunstler Script", "LUCIDA GRANDE", "Lao UI", "Latha", "Latin Modern Math", "Leelawadee", "Letter Gothic Std", "Levenim MT", "LiHei Pro", "LiSong Pro", "Liberation Sans", "Liberation Serfi", "Liberation Mono", "Liberation Sans Narrow", "Libertinus Math", "Likhan", "LilyUPC", "Lithos Pro Regular", "Lucida Bright", "Lucida Calligraphy", "Lucida Console", "Lucida Fax", "Lucida Grande", "Lucida Handwriting", "Lucida Sans", "Lucida Sans Typewriter", "Lucida Sans Unicode", "MS Gothic", "MS Mincho", "MS Outlook", "MS PGothic", "MS PMincho", "MS Reference Sans Serif", "MS Reference Specialty", "MS Sans Serif", "MS Serif", "fakefont2", "MS Song", "MS UI Gothic", "MT Extra", "MV Boli", "MYRIAD", "MYRIAD PRO", "Magneto", "Maiandra GD", "Malayalam MN", "Malayalam Sangam MN", "Malgun Gothic", "Mangal", "Marlett", "Matura MT Script Capitals", "Meiryo", "Meiryo UI", "Mesquite Std", "Microsoft Himalaya", "Microsoft JhengHei", "Microsoft JhengHei UI", "Microsoft New Tai Lue", "Microsoft PhagsPa", "Microsoft Sans Serif", "Microsoft Tai Le", "Microsoft Uighur", "Microsoft YaHei", "Microsoft YaHei UI", "Microsoft Yi Baiti", "Ming(for ISO10646)", "MingLiU", "MingLiU-ExtB", "MingLiU_HKSCS", "MingLiU_HKSCS-ExtB", "MingLiu_HKSCS", "Minion Pro", "Minion Pro Cond", "Minion Pro Med", "Minion Pro SmBd", "Miriam", "Miriam Fixed", "Mistral", "Mitra Mono", "Modern", "Modern No. 20", "Monaco", "Mongolian Baiti", "Monospac821 BT", "Monotxt", "Monotype Corsiva", "MoolBoran", "MotoyaLCedar", "MotoyaLMaru", "Mshtakan", "Mukti Narrow", "Myriad Arabic", "Myriad Hebrew", "Myriad Pro", "Myriad Pro Cond", "Myriad Pro Light", "Myriad Web Pro", "NSimSun", "NanumGothic", "Narkisim", "Niagara Engraved", "Niagara Solid", "Nirmala UI", "Noto Mono", "Noto Color Emoji", "Noto Emoji", "Noto Kufi Arabic ", "Noto Naskh Arabic", "Noto Sans", "Noto Sans CJK JP", "Noto Sans CJK KR", "Noto Sans CJK SC", "Noto Sans CJK TC", "Noto Sans JP", "Noto Sans KR", "Noto Sans Mono CJK JP", "Noto Sans Lao ", "Noto Sans Mono CJK KR", "Noto Sans Mono CJK SC", "Noto Sans Mono CJK TC", "Noto Sans SC", "Noto Sans TC", "Noto Serif", "Noto Serif CJK JP", "Noto Serif CJK KR", "Noto Serif CJK SC", "Noto Serif CJK TC", "Noto Serif Ahom", "Nueva Std", "Nueva Std Cond", "Nyala", "OCR A Extended", "OCR A Std", "OCR-A BT", "OCR-B 10 BT", "Old English Text MT", "Onyx", "OpenSymbol", "Orator Std", "Orator Std Slanted", "Oriya MN", "Oriya Sangam MN", "Osaka-Mono", "OskiDakelh", "Ouverture script", "PMingLiU", "PMingLiU-ExtB", "PMingLiu", "Palace Script MT", "Palatino", "Palatino Linotype", "PanRoman", "Papyrus", "Parchment", "Perpetua", "Perpetua Titling MT", "PhnomPenh OT", "Pigiarniq", "PingFang SC", "PingFang TC", "Plantagenet Cherokee", "Playbill", "Poor Richard", "Poplar Std", "Pothana", "Power Clear", "Power Green", "Power Green Narrow", "Power Green Small", "Power Red and Blue", "Power Red and Blue Intl", "Power Red and Green", "Prestige Elite Std", "Prestige Elite Std Bd", "Pristina", "Proxy 1", "Proxy 2", "Proxy 3", "Proxy 4", "Proxy 5", "Proxy 6", "Proxy 7", "Proxy 8", "Proxy 9", "Raavi", "Rachana_w01", "Rage Italic", "Raghindi", "Ravie", "Roboto", "Roboto Slab", "Roboto Mono", "Rockwell", "Rockwell Condensed", "Rockwell Extra Bold", "Rod", "Roman", "RomanC", "RomanD", "RomanS", "RomanT", "Romantic", "Rosewood Std Regular", "STHeiti", "STIX Math", "STIX Two Math", "STIXGeneral", "STSong", "Saab", "Sakkal Majalla", "San Francisco", "SansSerif", "Script", "Script MT Bold", "ScriptC", "ScriptS", "Segoe Print", "Segoe Script", "Segoe UI", "Segoe UI Emoji", "Segoe UI Light", "Segoe UI Semibold", "Segoe UI Semilight", "Segoe UI Symbol", "Shonar Bangla", "Showcard Gothic", "Shruti", "SimHei", "SimSun", "SimSun-ExtB", "Simplex", "Simplified Arabic", "Simplified Arabic Fixed", "Sinhala MN", "Sinhala Sangam MN", "Skype UI Symbol", "Small Fonts", "SmartGothic", "Snap ITC", "Songti SC", "Songti TC", "Square721 BT", "Stencil", "Stencil Std", "Stylus BT", "Sun-ExtA", "SuperFrench", "Swis721 BT", "Swis721 BdCnOul BT", "Swis721 BdOul BT", "Swis721 Blk BT", "Swis721 BlkCn BT", "Swis721 BlkEx BT", "Swis721 BlkOul BT", "Swis721 Cn BT", "Swis721 Ex BT", "Swis721 Hv BT", "Swis721 Lt BT", "Swis721 LtCn BT", "Swis721 LtEx BT", "Syastro", "Sylfaen", "Symap", "Symath", "Symbol", "Symeteo", "Symusic", "System", "TITUS Cyberbit Basic", "Tahoma", "TeX Gyre Bonum Math", "TeX Gyre Pagella Math", "TeX Gyre Schola", "TeX Gyre Termes Math", "Technic", "TechnicBold", "TechnicLite", "Tekton Pro", "Tekton Pro Cond", "Tekton Pro Ext", "Telugu MN", "Telugu Sangam MN", "Tempus Sans ITC", "Terminal", "Thonburi", "ThoolikaUnicode", "Tibetan Machine Uni", "Times", "Times New Roman", "Times New Roman Baltic", "Times New Roman CE", "Times New Roman CYR", "Times New Roman Cyr", "Times New Roman Greek", "Times New Roman PS", "Times New Roman TUR", "Traditional Arabic", "Trajan Pro", "Trebuchet MS", "Tunga", "Tw Cen MT", "Tw Cen MT Condensed", "Tw Cen MT Condensed Extra Bold", "Twemoji Mozilla", "Txt", "Ubuntu", "Ubuntu Light", "Ubuntu Bold", "Ubuntu Mono", "UniversalMath1 BT", "Uqammaq", "Utsaah", "VL Gothic", "VL PGothic", "Vani", "Verdana", "Vijaya", "Viner Hand ITC", "Vineta BT", "Visual Geez Unicode", "Visual Geez Unicode Agazian", "Visual Geez Unicode Title", "Vivaldi", "Vladimir Script", "Vrinda", "WP Arabic Sihafa", "WP ArabicScript Sihafa", "WP CyrillicA", "WP CyrillicB", "WP Greek Century", "WP Greek Courier", "WP Greek Helve", "WP Hebrew David", "WP MultinationalA Courier", "WP MultinationalA Helve", "WP MultinationalA Roman", "WP MultinationalB Courier", "WP MultinationalB Helve", "WP MultinationalB Roman", "WST_Czec", "WST_Engl", "WST_Fren", "WST_Germ", "WST_Ital", "WST_Span", "WST_Swed", "Webdings", "Wide Latin", "Wingdings", "Wingdings 2", "Wingdings 3", "XITS Math", "Yu Gothic", "Yu Mincho", "ZWAdobeF", "Zuzumbo", "cursive", "fantasy", "monospace", "ori1Uni", "sans-serif", "serif"]; - var list = []; - var baseFonts = ['monospace', 'sans-serif', 'serif']; - var body = document.getElementsByTagName("body")[0]; - var span = document.createElement("span"); - span.style.fontSize = "72px"; - span.innerHTML = "AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz!@#$%^&*()_+-="; - var defaultWidth = {}; - var defaultHeight = {}; - for (var index_1 in baseFonts) { - span.style.fontFamily = baseFonts[index_1]; - body.appendChild(span); - defaultWidth[baseFonts[index_1]] = span.offsetWidth; - defaultHeight[baseFonts[index_1]] = span.offsetHeight; - body.removeChild(span); - } - function font_test(font) { - return new Promise(function (resolve, reject) { - var detected = false; - for (var index_2 in baseFonts) { - span.style.fontFamily = font + ',' + baseFonts[index_2]; - body.appendChild(span); - detected = (span.offsetWidth != defaultWidth[baseFonts[index_2]] || span.offsetHeight != defaultHeight[baseFonts[index_2]]); - body.removeChild(span); - if (detected) { - if (list.indexOf(font) === -1) - list.push(font); - resolve(true); + return __awaiter(this, void 0, void 0, function () { + function font_test(font) { + return new Promise(function (resolve) { + var detected = false; + for (var index_1 in baseFonts) { + span.style.fontFamily = font + ',' + baseFonts[index_1]; + body.appendChild(span); + detected = (span.offsetWidth != defaultWidth[baseFonts[index_1]] || span.offsetHeight != defaultHeight[baseFonts[index_1]]); + body.removeChild(span); + if (detected) { + if (list.indexOf(font) === -1) + list.push(font); + resolve(true); + } } + resolve(false); + }); + } + var fontMode, fontList, list, baseFonts, body, span, defaultWidth, defaultHeight, index_2, dfonts, fi; + return __generator(this, function (_a) { + switch (_a.label) { + case 0: + if (isBrave()) + resolve([-1, null]); + fontMode = (isSafari() && !isFirefox()) || isMSIE(); + fontList = fontMode ? ["fakefont", "Apple Color Emoji", "sans-serif-thin", "ARNO PRO", "Agency FB", "Arabic Typesetting", "Arial Unicode MS", "AvantGarde Bk BT", "BankGothic Md BT", "Batang", "Bitstream Vera Sans Mono", "Calibri", "Century", "Century Gothic", "Clarendon", "EUROSTILE", "Franklin Gothic", "Futura Bk BT", "Futura Md BT", "GOTHAM", "Gill Sans", "HELV", "Haettenschweiler", "Helvetica Neue", "Humanst521 BT", "Leelawadee", "Letter Gothic", "Levenim MT", "Lucida Bright", "Lucida Sans", "Menlo", "MS Mincho", "MS Outlook", "MS Reference Specialty", "MS UI Gothic", "MT Extra", "MYRIAD PRO", "Marlett", "Meiryo UI", "Microsoft Uighur", "Minion Pro", "Monotype Corsiva", "PMingLiU", "Pristina", "SCRIPTINA", "Segoe UI Light", "Serifa", "SimHei", "Small Fonts", "Staccato222 BT", "TRAJAN PRO", "Univers CE 55 Medium", "Vrinda", "ZWAdobeF", "Bauhaus 93", "FORTE", "Book Antiqua", "Liberation Sans", "Liberation Serif", "Liberation Mono", "Liberation Sans Narrow", "Droid Naskh Shift", "Droid Naskh Shift Alt", "Droid Naskh System UI", "Droid Naskh UI", "Droid Robot Regular", "Droid Sans", "Droid Sans Fallback", "Droid Sans Hebrew", "Droid Sans Japanese", "Droid Sans Mono", "Droid Sans Thai", "Droid Serif", "DroidSansFallback", "Noto Naskh Arabic", "Ubuntu Mono derivative Powerline", "Ubuntu Mono derivative Powerline Bold", "Ubuntu Mono derivative Powerline Bold Italic", "Ubuntu Mono derivative Powerline Italic", "Adobe Caslon", "Adobe Caslon Pro", "Adobe Caslon Pro Bold", "Adobe Devanagari", "Adobe Fan Heiti Std B", "Adobe Fangsong Std", "Adobe Fangsong Std R", "Adobe Garamond", "Adobe Garamond Pro", "Adobe Garamond Pro Bold", "Adobe Gothic Std", "Adobe Gothic Std B", "Adobe Hebrew", "Adobe Heiti Std R", "Adobe Jenson", "Adobe Kaiti Std R", "Adobe Ming Std L", "Adobe Myungjo Std M", "Adobe Naskh Medium", "Adobe Song Std L", "Orator Std Slanted", "Poplar Std", "Prestige Elite Std Bd", "Rosewood Std Regular", "Giddyup Std", "Hobo Std", "Hobo Std Medium", "Birch Std", "Blackoak Std", "TeamViewer13", "TeamViewer14", "TeamViewer15", "TeamViewer16"] : ["fakefont", "TeamViewer10", "TeamViewer11", "TeamViewer12", "TeamViewer13", "TeamViewer7", "TeamViewer8", "TeamViewer9", ".Mondulkiri U GR 1.5", "AIGDT", "AMGDT", "Abel", "Aboriginal Sans", "Aboriginal Serif", "Abyssinica SIL", "AcadEref", "Acumin", "Adobe Arabic", "Adobe Caslon", "Adobe Caslon Pro", "Adobe Caslon Pro Bold", "Adobe Devanagari", "Adobe Fan Heiti Std B", "Adobe Fangsong Std", "Adobe Fangsong Std R", "Adobe Garamond", "Adobe Garamond Pro", "Adobe Garamond Pro Bold", "Adobe Gothic Std", "Adobe Gothic Std B", "Adobe Hebrew", "Adobe Heiti Std R", "Adobe Jenson", "Adobe Kaiti Std R", "Adobe Ming Std L", "Adobe Myungjo Std M", "Adobe Naskh Medium", "Adobe Song Std L", "Agency FB", "Aharoni", "Akaash", "Akshar Unicode", "AksharUnicode", "Al Bayan", "Alexandra Script", "Algerian", "Amadeus", "AmdtSymbols", "AnastasiaScript", "Andale Mono", "Andalus", "Angsana New", "AngsanaUPC", "AnjaliOldLipi", "Annabelle", "Aparajita", "Apple Casual", "Apple Chancery", "Apple Color Emoji", "Apple SD Gothic Neo", "AppleGothic", "AppleMyungjo", "Arabic Transparent", "Arabic Typesetting", "Arial", "Arial AMU", "Arial Baltic", "Arial CE", "Arial CYR", "Arial Cyr", "Arial Greek", "Arial Hebrew", "Arial MT", "Arial Rounded MT Bold", "Arial TUR", "Arial Unicode MS", "Ariston", "Arno Pro", "Arno Pro Caption", "Arno Pro Display", "Arno Pro Light Display", "Arno Pro SmText", "Arno Pro Smbd", "Arno Pro Smbd Caption", "Arno Pro Smbd Display", "Arno Pro Smbd SmText", "Arno Pro Smbd Subhead", "Arno Pro Subhead", "Asana Math", "Ayuthaya", "BJCree Uni", "BPG Classic 99U", "BPG Paata Khutsuri U", "Bangla MN", "Bangla Sangam MN", "BankGothic Lt BT", "BankGothic Md BT", "Baskerville Old Face", "Batang", "BatangChe", "Bauhaus 93", "Bell Gothic Std Black", "Bell Gothic Std Light", "Bell MT", "Berlin Sans FB", "Berlin Sans FB Demi", "Bernard MT Condensed", "Bickham Script One", "Bickham Script Pro Regular", "Bickham Script Pro Semibold", "Bickham Script Two", "Birch Std", "Bitstream Vera Sans Mono", "Blackadder ITC", "Blackoak Std", "Bernard Condensed", "Bodoni MT", "Bodoni MT Black", "Bodoni MT Poster Compressed", "Book Antiqua", "Bookman Old Style", "Bookshelf Symbol 7", "Bradley Hand ITC", "Britannic Bold", "Broadway", "Browallia New", "BrowalliaUPC", "Brush Script MT", "Brush Script Std", "CDT Khmer", "Calibri", "Calibri Light", "Californian FB", "Calisto MT", "Calligraph", "Cambria", "Cambria Math", "Candara", "Carolina", "Castellar", "Centaur", "Century", "Century Gothic", "Century Schoolbook", "Ceremonious Two", "Chaparral Pro", "Chaparral Pro Light", "Charcoal CY", "Charis SIL Compact", "Charlemagne Std", "Chiller", "CityBlueprint", "Clarendon BT", "Clarendon Blk BT", "Clarendon Lt BT", "Clear Sans", "Code2000", "Colonna MT", "Comic Sans", "Comic Sans MS", "CommercialPi BT", "CommercialScript BT", "Complex", "Consolas", "Constantia", "Cooper Black", "Cooper Std Black", "Copperplate Gothic Bold", "Copperplate Gothic Light", "Copyist", "Corbel", "Cordia New", "CordiaUPC", "CountryBlueprint", "Courier", "Courier New", "Courier New Baltic", "Courier New CE", "Courier New CYR", "Courier New Cyr", "Courier New Greek", "Courier New TUR", "Curlz MT", "DFKai-SB", "DaunPenh", "David", "DecoType Naskh", "Decor", "DejaVu Math TeX Gyre", "DejaVu Sans", "DejaVu Sans Condensed", "DejaVu Sans Light", "DejaVu Sans Mono", "DejaVu Serif", "DejaVu Serif Condensed", "Devanagari MT", "Devanagari Sangam MN", "DilleniaUPC", "DokChampa", "Dotum", "DotumChe", "Droid Naskh Shift", "Droid Naskh Shift Alt", "Droid Naskh System UI", "Droid Naskh UI", "Droid Robot Regular", "Droid Sans", "Droid Sans Fallback", "Droid Sans Hebrew", "Droid Sans Japanese", "Droid Sans Mono", "Droid Sans Thai", "Droid Serif", "DroidSansFallback", "Dutch801 Rm BT", "Dutch801 XBd BT", "Ebrima", "Eccentric Std", "Edwardian Script ITC", "Ekushey Punarbhaba", "Elephant", "Engravers MT", "Eras Bold ITC", "Eras Demi ITC", "Eras Light ITC", "Eras Medium ITC", "Estrangelo Edessa", "Ethiopia Jiret", "EucrosiaUPC", "Euphemia", "Euphemia UCAS", "EuroRoman", "Eurostile", "FTEasci1", "FTEasci1-f", "FTEasci2", "FTEasci2-f", "FTEbaudo", "FTEbaudo-f", "FTEebcd1", "FTEebcd1-f", "FTEebcd2", "FTEebcd2-f", "FTEspec", "FTEspec-f", "FangSong", "Felix Titling", "Fira Code", "Fira Mono", "Fira Sans", "Fixed Miriam Transparent", "Fixedsys", "Footlight MT Light", "Forte", "FrankRuehl", "Franklin Gothic Book", "Franklin Gothic Demi", "Franklin Gothic Demi Cond", "Franklin Gothic Heavy", "Franklin Gothic Medium", "Franklin Gothic Medium Cond", "Freehand521 BT", "FreesiaUPC", "Freestyle Script", "French Script MT", "Futura Md BT", "GDT", "GENISO", "GF Zemen Unicode", "Gabriola", "Gadugi", "Garamond", "Garamond Premr Pro", "Garamond Premr Pro Smbd", "Gautami", "Geeza Pro", "Geneva", "Gentium Basic", "Gentium Book Basic", "Georgia", "Giddyup Std", "Gigi", "Gill Sans MT", "Gill Sans MT Condensed", "Gill Sans MT Ext Condensed Bold", "Gill Sans Ultra Bold", "Gill Sans Ultra Bold Condensed", "Gisha", "Gloucester MT Extra Condensed", "GothicE", "GothicG", "GothicI", "Goudy Old Style", "Goudy Stout", "GreekC", "GreekS", "Gujarati MT", "Gujarati Sangam MN", "Gulim", "GulimChe", "Gungsuh", "GungsuhChe", "Gurmukhi MT", "Guttman Yad", "HYSerif", "Haettenschweiler", "Harlow Solid Italic", "Harrington", "Heather Script One", "Heiti SC", "Heiti TC", "Helvetica", "Helvetica Neue", "High Tower Text", "Hiragino Kaku Gothic Pro", "Hiragino Kaku Gothic ProN", "Hiragino Mincho Pro", "Hiragino Mincho ProN", "Hobo Std", "Hoefler Text", "ISOCP", "ISOCP2", "ISOCP3", "ISOCPEUR", "ISOCT", "ISOCT2", "ISOCT3", "ISOCTEUR", "Impact", "Imprint MT Shadow", "InaiMathi", "Informal Roman", "IrisUPC", "Iskoola Pota", "Italic", "ItalicC", "ItalicT", "JasmineUPC", "Jokerman", "Jomolhari", "Juice ITC", "KaiTi", "KaiTi_GB2312", "Kailasa", "Kaiti SC", "Kaiti TC", "Kalinga", "Kannada MN", "Kannada Sangam MN", "Kartika", "Kedage", "Kefa", "Kh-SrokKhleang", "Khmer MN", "Khmer OS", "Khmer OS Fasthand", "Khmer OS Freehand", "Khmer OS Metal Chrieng", "Khmer OS Muol", "Khmer OS System", "Khmer Sangam MN", "Khmer UI", "KodchiangUPC", "Kokila", "Kozuka Gothic Pr6N B", "Kozuka Gothic Pr6N EL", "Kozuka Gothic Pr6N H", "Kozuka Gothic Pr6N L", "Kozuka Gothic Pr6N M", "Kozuka Gothic Pr6N R", "Kozuka Gothic Pro B", "Kozuka Gothic Pro EL", "Kozuka Gothic Pro H", "Kozuka Gothic Pro L", "Kozuka Gothic Pro M", "Kozuka Gothic Pro R", "Kozuka Mincho Pr6N B", "Kozuka Mincho Pr6N EL", "Kozuka Mincho Pr6N H", "Kozuka Mincho Pr6N L", "Kozuka Mincho Pr6N M", "Kozuka Mincho Pr6N R", "Kozuka Mincho Pro B", "Kozuka Mincho Pro EL", "Kozuka Mincho Pro H", "Kozuka Mincho Pro L", "Kozuka Mincho Pro M", "Kozuka Mincho Pro R", "Kristen ITC", "Ktav", "KufiStandardGK", "Kunstler Script", "LUCIDA GRANDE", "Lao UI", "Latha", "Latin Modern Math", "Leelawadee", "Letter Gothic Std", "Levenim MT", "LiHei Pro", "LiSong Pro", "Liberation Sans", "Liberation Serfi", "Liberation Mono", "Liberation Sans Narrow", "Libertinus Math", "Likhan", "LilyUPC", "Lithos Pro Regular", "Lucida Bright", "Lucida Calligraphy", "Lucida Console", "Lucida Fax", "Lucida Grande", "Lucida Handwriting", "Lucida Sans", "Lucida Sans Typewriter", "Lucida Sans Unicode", "MS Gothic", "MS Mincho", "MS Outlook", "MS PGothic", "MS PMincho", "MS Reference Sans Serif", "MS Reference Specialty", "MS Sans Serif", "MS Serif", "fakefont2", "MS Song", "MS UI Gothic", "MT Extra", "MV Boli", "MYRIAD", "MYRIAD PRO", "Magneto", "Maiandra GD", "Malayalam MN", "Malayalam Sangam MN", "Malgun Gothic", "Mangal", "Marlett", "Matura MT Script Capitals", "Meiryo", "Meiryo UI", "Mesquite Std", "Microsoft Himalaya", "Microsoft JhengHei", "Microsoft JhengHei UI", "Microsoft New Tai Lue", "Microsoft PhagsPa", "Microsoft Sans Serif", "Microsoft Tai Le", "Microsoft Uighur", "Microsoft YaHei", "Microsoft YaHei UI", "Microsoft Yi Baiti", "Ming(for ISO10646)", "MingLiU", "MingLiU-ExtB", "MingLiU_HKSCS", "MingLiU_HKSCS-ExtB", "MingLiu_HKSCS", "Minion Pro", "Minion Pro Cond", "Minion Pro Med", "Minion Pro SmBd", "Miriam", "Miriam Fixed", "Mistral", "Mitra Mono", "Modern", "Modern No. 20", "Monaco", "Mongolian Baiti", "Monospac821 BT", "Monotxt", "Monotype Corsiva", "MoolBoran", "MotoyaLCedar", "MotoyaLMaru", "Mshtakan", "Mukti Narrow", "Myriad Arabic", "Myriad Hebrew", "Myriad Pro", "Myriad Pro Cond", "Myriad Pro Light", "Myriad Web Pro", "NSimSun", "NanumGothic", "Narkisim", "Niagara Engraved", "Niagara Solid", "Nirmala UI", "Noto Mono", "Noto Color Emoji", "Noto Emoji", "Noto Kufi Arabic ", "Noto Naskh Arabic", "Noto Sans", "Noto Sans CJK JP", "Noto Sans CJK KR", "Noto Sans CJK SC", "Noto Sans CJK TC", "Noto Sans JP", "Noto Sans KR", "Noto Sans Mono CJK JP", "Noto Sans Lao ", "Noto Sans Mono CJK KR", "Noto Sans Mono CJK SC", "Noto Sans Mono CJK TC", "Noto Sans SC", "Noto Sans TC", "Noto Serif", "Noto Serif CJK JP", "Noto Serif CJK KR", "Noto Serif CJK SC", "Noto Serif CJK TC", "Noto Serif Ahom", "Nueva Std", "Nueva Std Cond", "Nyala", "OCR A Extended", "OCR A Std", "OCR-A BT", "OCR-B 10 BT", "Old English Text MT", "Onyx", "OpenSymbol", "Orator Std", "Orator Std Slanted", "Oriya MN", "Oriya Sangam MN", "Osaka-Mono", "OskiDakelh", "Ouverture script", "PMingLiU", "PMingLiU-ExtB", "PMingLiu", "Palace Script MT", "Palatino", "Palatino Linotype", "PanRoman", "Papyrus", "Parchment", "Perpetua", "Perpetua Titling MT", "PhnomPenh OT", "Pigiarniq", "PingFang SC", "PingFang TC", "Plantagenet Cherokee", "Playbill", "Poor Richard", "Poplar Std", "Pothana", "Power Clear", "Power Green", "Power Green Narrow", "Power Green Small", "Power Red and Blue", "Power Red and Blue Intl", "Power Red and Green", "Prestige Elite Std", "Prestige Elite Std Bd", "Pristina", "Proxy 1", "Proxy 2", "Proxy 3", "Proxy 4", "Proxy 5", "Proxy 6", "Proxy 7", "Proxy 8", "Proxy 9", "Raavi", "Rachana_w01", "Rage Italic", "Raghindi", "Ravie", "Roboto", "Roboto Slab", "Roboto Mono", "Rockwell", "Rockwell Condensed", "Rockwell Extra Bold", "Rod", "Roman", "RomanC", "RomanD", "RomanS", "RomanT", "Romantic", "Rosewood Std Regular", "STHeiti", "STIX Math", "STIX Two Math", "STIXGeneral", "STSong", "Saab", "Sakkal Majalla", "San Francisco", "SansSerif", "Script", "Script MT Bold", "ScriptC", "ScriptS", "Segoe Print", "Segoe Script", "Segoe UI", "Segoe UI Emoji", "Segoe UI Light", "Segoe UI Semibold", "Segoe UI Semilight", "Segoe UI Symbol", "Shonar Bangla", "Showcard Gothic", "Shruti", "SimHei", "SimSun", "SimSun-ExtB", "Simplex", "Simplified Arabic", "Simplified Arabic Fixed", "Sinhala MN", "Sinhala Sangam MN", "Skype UI Symbol", "Small Fonts", "SmartGothic", "Snap ITC", "Songti SC", "Songti TC", "Square721 BT", "Stencil", "Stencil Std", "Stylus BT", "Sun-ExtA", "SuperFrench", "Swis721 BT", "Swis721 BdCnOul BT", "Swis721 BdOul BT", "Swis721 Blk BT", "Swis721 BlkCn BT", "Swis721 BlkEx BT", "Swis721 BlkOul BT", "Swis721 Cn BT", "Swis721 Ex BT", "Swis721 Hv BT", "Swis721 Lt BT", "Swis721 LtCn BT", "Swis721 LtEx BT", "Syastro", "Sylfaen", "Symap", "Symath", "Symbol", "Symeteo", "Symusic", "System", "TITUS Cyberbit Basic", "Tahoma", "TeX Gyre Bonum Math", "TeX Gyre Pagella Math", "TeX Gyre Schola", "TeX Gyre Termes Math", "Technic", "TechnicBold", "TechnicLite", "Tekton Pro", "Tekton Pro Cond", "Tekton Pro Ext", "Telugu MN", "Telugu Sangam MN", "Tempus Sans ITC", "Terminal", "Thonburi", "ThoolikaUnicode", "Tibetan Machine Uni", "Times", "Times New Roman", "Times New Roman Baltic", "Times New Roman CE", "Times New Roman CYR", "Times New Roman Cyr", "Times New Roman Greek", "Times New Roman PS", "Times New Roman TUR", "Traditional Arabic", "Trajan Pro", "Trebuchet MS", "Tunga", "Tw Cen MT", "Tw Cen MT Condensed", "Tw Cen MT Condensed Extra Bold", "Twemoji Mozilla", "Txt", "Ubuntu", "Ubuntu Light", "Ubuntu Bold", "Ubuntu Mono", "UniversalMath1 BT", "Uqammaq", "Utsaah", "VL Gothic", "VL PGothic", "Vani", "Verdana", "Vijaya", "Viner Hand ITC", "Vineta BT", "Visual Geez Unicode", "Visual Geez Unicode Agazian", "Visual Geez Unicode Title", "Vivaldi", "Vladimir Script", "Vrinda", "WP Arabic Sihafa", "WP ArabicScript Sihafa", "WP CyrillicA", "WP CyrillicB", "WP Greek Century", "WP Greek Courier", "WP Greek Helve", "WP Hebrew David", "WP MultinationalA Courier", "WP MultinationalA Helve", "WP MultinationalA Roman", "WP MultinationalB Courier", "WP MultinationalB Helve", "WP MultinationalB Roman", "WST_Czec", "WST_Engl", "WST_Fren", "WST_Germ", "WST_Ital", "WST_Span", "WST_Swed", "Webdings", "Wide Latin", "Wingdings", "Wingdings 2", "Wingdings 3", "XITS Math", "Yu Gothic", "Yu Mincho", "ZWAdobeF", "Zuzumbo", "cursive", "fantasy", "monospace", "ori1Uni", "sans-serif", "serif"]; + list = []; + baseFonts = ['monospace', 'sans-serif', 'serif']; + body = document.getElementsByTagName("body")[0]; + span = document.createElement("span"); + span.style.fontSize = "72px"; + span.innerHTML = "AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz!@#$%^&*()_+-="; + defaultWidth = {}; + defaultHeight = {}; + for (index_2 in baseFonts) { + span.style.fontFamily = baseFonts[index_2]; + body.appendChild(span); + defaultWidth[baseFonts[index_2]] = span.offsetWidth; + defaultHeight[baseFonts[index_2]] = span.offsetHeight; + body.removeChild(span); + } + dfonts = []; + for (fi = 0; fi < fontList.length; fi++) { + font_test(fontList[fi]).then(function (promise) { + dfonts.push(promise); + }); + } + return [4 /*yield*/, Promise.all(dfonts)]; + case 1: + _a.sent(); + resolve([0, list.sort()]); + return [2 /*return*/]; } - resolve(false); }); - } - var dfonts = []; - for (var fi = 0; fi < fontList.length; fi++) { - font_test(fontList[fi]).then(function (promise) { - dfonts.push(promise); - }); - } - return Promise.all(dfonts).then(new Promise(function () { - resolve([0, list.sort()]); - })); + }); }); }, plugins: function () { @@ -987,12 +1033,12 @@ var fingerprint = function () { uniqueFp: uniqueFp, persistentFp: persistentFp, }, - profile: profile + profile: profile, }; // console.log(output); resolve(output); }).catch(function (err) { - console.log(err); + // console.log(err); reject(err); }); }); diff --git a/dist/opfs.js.map b/dist/opfs.js.map index 030c73b..d834292 100644 --- a/dist/opfs.js.map +++ b/dist/opfs.js.map @@ -1 +1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,WAAW,EAAE,QAAQ;gBACrB,YAAY,EAAE;oBACZ,QAAQ,EAAE,QAAQ;oBAClB,YAAY,EAAE,YAAY;iBAC3B;gBACD,OAAO,EAAE,OAAO;aACjB,CAAC;YACF,uBAAuB;YACvB,OAAO,CAAC,MAAM,CAAC,CAAC;QAClB,CAAC,CAAC,CAAC,KAAK,CAAC,UAAC,GAAG;YACX,oBAAoB;YACpB,MAAM,CAAC,GAAG,CAAC,CAAC;QACd,CAAC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;AACL,CAAC,CAAC"} \ No newline at end of file diff --git a/dist/opfs.min.js b/dist/opfs.min.js index a451910..49b4d2f 100644 --- a/dist/opfs.min.js +++ b/dist/opfs.min.js @@ -1 +1 @@ -"use strict";var fingerprint=function(){function murmurhash3_32_gc(key,seed){var remainder=key.length&3;var bytes=key.length-remainder;var h1=seed;var c1=3432918353;var c2=461845907;var i=0;while(i>>16)*c1&65535)<<16)&4294967295;k1_1=k1_1<<15|k1_1>>>17;k1_1=(k1_1&65535)*c2+(((k1_1>>>16)*c2&65535)<<16)&4294967295;h1^=k1_1;h1=h1<<13|h1>>>19;var h1b=(h1&65535)*5+(((h1>>>16)*5&65535)<<16)&4294967295;h1=(h1b&65535)+27492+(((h1b>>>16)+58964&65535)<<16)}var k1=0;switch(remainder){case 3:k1^=(key.charCodeAt(i+2)&255)<<16;case 2:k1^=(key.charCodeAt(i+1)&255)<<8;case 1:k1^=key.charCodeAt(i)&255;k1=(k1&65535)*c1+(((k1>>>16)*c1&65535)<<16)&4294967295;k1=k1<<15|k1>>>17;k1=(k1&65535)*c2+(((k1>>>16)*c2&65535)<<16)&4294967295;h1^=k1}h1^=key.length;h1^=h1>>>16;h1=(h1&65535)*2246822507+(((h1>>>16)*2246822507&65535)<<16)&4294967295;h1^=h1>>>13;h1=(h1&65535)*3266489909+(((h1>>>16)*3266489909&65535)<<16)&4294967295;h1^=h1>>>16;return h1>>>0}function isSafari(){var v=navigator.vendor;return v!==undefined&&v.indexOf("Apple")===0}function isChrome(){var v=navigator.vendor;return v!==undefined&&v.indexOf("Google")===0}function isFirefox(){return document.documentElement!==undefined&&document.documentElement.style.MozAppearance!==undefined}function isFirefoxResistFingerprinting(){if(!isFirefox())return false;var intl=window.Intl;var date=intl.DateTimeFormat;if(typeof date==="function"){var tz=(new date).resolvedOptions().timeZone;if(tz==="UTC")return true}return false}function isMSIE(){return navigator.msSaveBlob!==undefined}function isBrave(){return isChrome()&&navigator.brave!==undefined}return new Promise(function(resolve,reject){var fingerprints={platform:function(){return new Promise(function(resolve){var np=navigator.platform;if(np===undefined){resolve([-1,null])}else{resolve([0,np])}})},vendor:function(){return new Promise(function(resolve){var nv=navigator.vendor;if(nv===undefined){resolve([-1,null])}else{resolve([0,nv])}})},productSub:function(){return new Promise(function(resolve){var ps=navigator.productSub;if(ps===undefined){resolve([-1,null])}else{resolve([0,ps])}})},colorDepth:function(){return new Promise(function(resolve){var cd=window.screen.colorDepth;if(cd===undefined){resolve([-1,null])}else{resolve([0,cd])}})},devicePixelRatio:function(){return new Promise(function(resolve){if(isChrome()&&!isBrave())resolve([-2,null]);var dpr=window.devicePixelRatio;if(dpr===undefined){resolve([-1,null])}else{resolve([0,dpr])}})},evalToString:function(){return Promise.resolve([0,eval.toString().length])},maxTouchPoints:function(){var n=navigator;return Promise.resolve(n.maxTouchPoints!==undefined?[0,n.maxTouchPoints]:n.msMaxTouchPoints!==undefined?[1,n.msMaxTouchPoints]:[-1,null])},cpuClass:function(){return new Promise(function(resolve){var cpu=navigator.cpuClass;if(cpu===undefined){resolve([-1,null])}else{resolve([0,cpu])}})},hardwareConcurrency:function(){return new Promise(function(resolve){if(isBrave()||isFirefoxResistFingerprinting()){return resolve([-2,null])}var hc=navigator.hardwareConcurrency;if(hc===undefined){resolve([-1,null])}else{resolve([0,hc])}})},deviceMemory:function(){return new Promise(function(resolve){if(isBrave()){return resolve([-2,null])}var dm=navigator.deviceMemory;if(dm===undefined){resolve([-1,null])}else{resolve([0,dm])}})},oscpu:function(){return new Promise(function(resolve){var os=navigator.oscpu;if(os===undefined){resolve([-1,null])}else{resolve([0,os])}})},doNotTrack:function(){return new Promise(function(resolve){if(isFirefoxResistFingerprinting())resolve([-2,null]);var dnt=navigator.doNotTrack;if(dnt===undefined){resolve([-1,null])}else{resolve([0,dnt])}})},sourceBuffer:function(){return Promise.resolve([0,[typeof SourceBuffer,typeof SourceBufferList]])},colorGamut:function(){return new Promise(function(resolve){var colorGamuts=["rec2020","p3","srgb"];for(var i=0;i=0?"+":"-")+Math.abs(utc)])})},timezoneOffset:function(){return new Promise(function(resolve){var year=(new Date).getFullYear();resolve([0,-Math.max(parseFloat(""+new Date(year,0,1).getTimezoneOffset()),parseFloat(""+new Date(year,6,1).getTimezoneOffset()))])})},language:function(){return new Promise(function(resolve){var n=navigator;var lang_str=n.language||n.userLanguage||n.browserLanguage||n.systemLanguage;var lang_arr=[];if(!isChrome()&&Array.isArray(n.languages)){lang_arr=n.languages}resolve([0,[lang_str,lang_arr]])})},screenResolution:function(){return new Promise(function(resolve){if(isFirefoxResistFingerprinting())resolve([-1,null]);if(isChrome()&&!isBrave())resolve([-2,null]);resolve([0,[Number(screen.width),Number(screen.height)].sort().reverse().join("x")])})},jsHeapSizeLimit:function(){return new Promise(function(resolve){var perf=window.performance;if(perf==undefined)resolve([-1,null]);var memory=perf.memory;if(memory===undefined)resolve([-2,null]);var jsHeapSizeLimit=memory.jsHeapSizeLimit;if(jsHeapSizeLimit===undefined)resolve([-3,null]);resolve([0,jsHeapSizeLimit])})},audioContext:function(){return new Promise(function(resolve){if(isBrave())resolve([-1,null]);var context=window.OfflineAudioContext||window.webkitOfflineAudioContext;if(typeof context!=="function")resolve([-2,null]);context=new context(1,44100,44100);var pxi_oscillator=context.createOscillator();pxi_oscillator.type="triangle";pxi_oscillator.frequency.value=1e4;var pxi_compressor=context.createDynamicsCompressor();pxi_compressor.threshold&&(pxi_compressor.threshold.value=-50);pxi_compressor.knee&&(pxi_compressor.knee.value=40);pxi_compressor.ratio&&(pxi_compressor.ratio.value=12);pxi_compressor.reduction&&(pxi_compressor.reduction.value=-20);pxi_compressor.attack&&(pxi_compressor.attack.value=0);pxi_compressor.release&&(pxi_compressor.release.value=.25);pxi_oscillator.connect(pxi_compressor);pxi_compressor.connect(context.destination);pxi_oscillator.start(0);context.startRendering();context.oncomplete=function(evnt){var pxi_output=0;for(var i=4500;5e3>i;i++){pxi_output+=Math.abs(evnt.renderedBuffer.getChannelData(0)[i])}pxi_compressor.disconnect();resolve([0,pxi_output])}})},userAgentData:function(){return new Promise(function(resolve){function parseBrand(arr){var brands=[];if(!arr)return[];for(var i=0;ivalueA){if(difference0||tripped){resolve(output.length>0?[0,murmurhash3_32_gc(JSON.stringify(output),420)]:[-3,null])}tripped=true}populateVoiceList();if(speechSynthesis.onvoiceschanged!==undefined){speechSynthesis.onvoiceschanged=populateVoiceList}})},applePay:function(){return new Promise(function(resolve){if(typeof window.ApplePaySession!=="function")resolve([-1,null]);var enabled=window.ApplePaySession.canMakePayments();resolve([0,enabled])})},attributionsourceid:function(){return new Promise(function(resolve){var a=document.createElement("a").attributionsourceid;if(a!==undefined){resolve([0,String(a)])}else{resolve([-1,null])}})},webglInfo:function(){return new Promise(function(resolve){var canvas=document.createElement("canvas");try{var context=canvas.getContext("webgl")||canvas.getContext("experimental-webgl")||resolve([-1,null])}catch(e){resolve([-2,null])}var output={};var debugExtension=context.getExtension("WEBGL_debug_renderer_info");if(!debugExtension)resolve([-3,null]);output.unmaskedVendor=isBrave()?null:context.getParameter(debugExtension.UNMASKED_VENDOR_WEBGL);output.unmaskedRenderer=isBrave()?null:context.getParameter(debugExtension.UNMASKED_RENDERER_WEBGL);output.version=context.getParameter(context.VERSION);output.shaderVersion=context.getParameter(context.SHADING_LANGUAGE_VERSION);output.vendor=context.getParameter(context.VENDOR);output.renderer=context.getParameter(context.RENDERER);output.attributes=[];var glContextAttributes=context.getContextAttributes();for(var att in glContextAttributes){if(glContextAttributes.hasOwnProperty(att)){output.attributes.push(att+"="+glContextAttributes[att])}}var parameterNames=["ACTIVE_TEXTURE","ALIASED_LINE_WIDTH_RANGE","ALIASED_POINT_SIZE_RANGE","ALPHA_BITS","ARRAY_BUFFER_BINDING","BLEND","BLEND_COLOR","BLEND_DST_ALPHA","BLEND_DST_RGB","BLEND_EQUATION","BLEND_EQUATION_ALPHA","BLEND_EQUATION_RGB","BLEND_SRC_ALPHA","BLEND_SRC_RGB","BLUE_BITS","COLOR_CLEAR_VALUE","COLOR_WRITEMASK","COMPRESSED_TEXTURE_FORMATS","CULL_FACE","CULL_FACE_MODE","CURRENT_PROGRAM","DEPTH_BITS","DEPTH_CLEAR_VALUE","DEPTH_FUNC","DEPTH_RANGE","DEPTH_TEST","DEPTH_WRITEMASK","DITHER","ELEMENT_ARRAY_BUFFER_BINDING","FRAMEBUFFER_BINDING","FRONT_FACE","GENERATE_MIPMAP_HINT","GREEN_BITS","IMPLEMENTATION_COLOR_READ_FORMAT","IMPLEMENTATION_COLOR_READ_TYPE","LINE_WIDTH","MAX_COMBINED_TEXTURE_IMAGE_UNITS","MAX_CUBE_MAP_TEXTURE_SIZE","MAX_FRAGMENT_UNIFORM_VECTORS","MAX_RENDERBUFFER_SIZE","MAX_TEXTURE_IMAGE_UNITS","MAX_TEXTURE_SIZE","MAX_VARYING_VECTORS","MAX_VERTEX_ATTRIBS","MAX_VERTEX_TEXTURE_IMAGE_UNITS","MAX_VERTEX_UNIFORM_VECTORS","MAX_VIEWPORT_DIMS","PACK_ALIGNMENT","POLYGON_OFFSET_FACTOR","POLYGON_OFFSET_FILL","POLYGON_OFFSET_UNITS","RED_BITS","RENDERBUFFER_BINDING","SAMPLE_BUFFERS","SAMPLE_COVERAGE_INVERT","SAMPLE_COVERAGE_VALUE","SAMPLES","SCISSOR_BOX","SCISSOR_TEST","STENCIL_BACK_FAIL","STENCIL_BACK_FUNC","STENCIL_BACK_PASS_DEPTH_FAIL","STENCIL_BACK_PASS_DEPTH_PASS","STENCIL_BACK_REF","STENCIL_BACK_VALUE_MASK","STENCIL_BACK_WRITEMASK","STENCIL_BITS","STENCIL_CLEAR_VALUE","STENCIL_FAIL","STENCIL_FUNC","STENCIL_PASS_DEPTH_FAIL","STENCIL_PASS_DEPTH_PASS","STENCIL_REF","STENCIL_TEST","STENCIL_VALUE_MASK","STENCIL_WRITEMASK","SUBPIXEL_BITS","TEXTURE_BINDING_2D","TEXTURE_BINDING_CUBE_MAP","UNPACK_ALIGNMENT","UNPACK_COLORSPACE_CONVERSION_WEBGL","UNPACK_FLIP_Y_WEBGL","UNPACK_PREMULTIPLY_ALPHA_WEBGL","VIEWPORT"];output.parameters=[];for(var i=0;i0])})},errorToSource:function(){return new Promise(function(resolve){try{throw"lol"}catch(e){try{var tmp=e.toSource();resolve([0,true])}catch(ee){resolve([0,false])}}resolve([-1,null])})},errors:function(){return new Promise(function(resolve){var errorTests=[function(){return new Function('alert(")')},function(){return new Function("const foo;foo.bar")},function(){return new Function("const a=1; const a=2;")},new Function("try{null.bar;return -1}catch(e){return e.message}"),new Function("try{abc.xyz=123;return -1}catch(e){return e.message}"),new Function("try{(1).toString(1000);return -1}catch(e){return e.message}"),new Function("try{[...undefined].length;return -1}catch(e){return e.message}"),new Function("try{var x=new Array(-1);return -1}catch(e){return e.message}")];var err=new Array;for(var i=0;i0&&t[t.length-1])&&(op[0]===6||op[0]===2)){_=0;continue}if(op[0]===3&&(!t||op[1]>t[0]&&op[1]>>16)*c1&65535)<<16)&4294967295;k1_1=k1_1<<15|k1_1>>>17;k1_1=(k1_1&65535)*c2+(((k1_1>>>16)*c2&65535)<<16)&4294967295;h1^=k1_1;h1=h1<<13|h1>>>19;var h1b=(h1&65535)*5+(((h1>>>16)*5&65535)<<16)&4294967295;h1=(h1b&65535)+27492+(((h1b>>>16)+58964&65535)<<16)}var k1=0;switch(remainder){case 3:k1^=(key.charCodeAt(i+2)&255)<<16;case 2:k1^=(key.charCodeAt(i+1)&255)<<8;case 1:k1^=key.charCodeAt(i)&255;k1=(k1&65535)*c1+(((k1>>>16)*c1&65535)<<16)&4294967295;k1=k1<<15|k1>>>17;k1=(k1&65535)*c2+(((k1>>>16)*c2&65535)<<16)&4294967295;h1^=k1}h1^=key.length;h1^=h1>>>16;h1=(h1&65535)*2246822507+(((h1>>>16)*2246822507&65535)<<16)&4294967295;h1^=h1>>>13;h1=(h1&65535)*3266489909+(((h1>>>16)*3266489909&65535)<<16)&4294967295;h1^=h1>>>16;return h1>>>0}function isSafari(){var v=navigator.vendor;return v!==undefined&&v.indexOf("Apple")===0}function isChrome(){var v=navigator.vendor;return v!==undefined&&v.indexOf("Google")===0}function isFirefox(){return document.documentElement!==undefined&&document.documentElement.style.MozAppearance!==undefined}function isFirefoxResistFingerprinting(){if(!isFirefox())return false;var intl=window.Intl;var date=intl.DateTimeFormat;if(typeof date==="function"){var tz=(new date).resolvedOptions().timeZone;if(tz==="UTC")return true}return false}function isMSIE(){return navigator.msSaveBlob!==undefined}function isBrave(){return isChrome()&&navigator.brave!==undefined}return new Promise(function(resolve,reject){var fingerprints={platform:function(){return new Promise(function(resolve){var np=navigator.platform;if(np===undefined){resolve([-1,null])}else{resolve([0,np])}})},vendor:function(){return new Promise(function(resolve){var nv=navigator.vendor;if(nv===undefined){resolve([-1,null])}else{resolve([0,nv])}})},productSub:function(){return new Promise(function(resolve){var ps=navigator.productSub;if(ps===undefined){resolve([-1,null])}else{resolve([0,ps])}})},colorDepth:function(){return new Promise(function(resolve){var cd=window.screen.colorDepth;if(cd===undefined){resolve([-1,null])}else{resolve([0,cd])}})},devicePixelRatio:function(){return new Promise(function(resolve){if(isChrome()&&!isBrave())resolve([-2,null]);var dpr=window.devicePixelRatio;if(dpr===undefined){resolve([-1,null])}else{resolve([0,dpr])}})},evalToString:function(){return Promise.resolve([0,eval.toString().length])},maxTouchPoints:function(){var n=navigator;return Promise.resolve(n.maxTouchPoints!==undefined?[0,n.maxTouchPoints]:n.msMaxTouchPoints!==undefined?[1,n.msMaxTouchPoints]:[-1,null])},cpuClass:function(){return new Promise(function(resolve){var cpu=navigator.cpuClass;if(cpu===undefined){resolve([-1,null])}else{resolve([0,cpu])}})},hardwareConcurrency:function(){return new Promise(function(resolve){if(isBrave()||isFirefoxResistFingerprinting()){return resolve([-2,null])}var hc=navigator.hardwareConcurrency;if(hc===undefined){resolve([-1,null])}else{resolve([0,hc])}})},deviceMemory:function(){return new Promise(function(resolve){if(isBrave()){return resolve([-2,null])}var dm=navigator.deviceMemory;if(dm===undefined){resolve([-1,null])}else{resolve([0,dm])}})},oscpu:function(){return new Promise(function(resolve){var os=navigator.oscpu;if(os===undefined){resolve([-1,null])}else{resolve([0,os])}})},doNotTrack:function(){return new Promise(function(resolve){if(isFirefoxResistFingerprinting())resolve([-2,null]);var dnt=navigator.doNotTrack;if(dnt===undefined){resolve([-1,null])}else{resolve([0,dnt])}})},sourceBuffer:function(){return Promise.resolve([0,[typeof SourceBuffer,typeof SourceBufferList]])},colorGamut:function(){return new Promise(function(resolve){var colorGamuts=["rec2020","p3","srgb"];for(var i=0;i=0?"+":"-")+Math.abs(utc)])})},timezoneOffset:function(){return new Promise(function(resolve){var year=(new Date).getFullYear();resolve([0,-Math.max(parseFloat(String(new Date(year,0,1).getTimezoneOffset())),parseFloat(String(new Date(year,6,1).getTimezoneOffset())))])})},language:function(){return new Promise(function(resolve){var n=navigator;var lang_str=n.language||n.userLanguage||n.browserLanguage||n.systemLanguage;var lang_arr=[];if(!isChrome()&&Array.isArray(n.languages)){lang_arr=n.languages}resolve([0,[lang_str,lang_arr]])})},screenResolution:function(){return new Promise(function(resolve){if(isFirefoxResistFingerprinting())resolve([-1,null]);if(isChrome()&&!isBrave())resolve([-2,null]);resolve([0,[Number(screen.width),Number(screen.height)].sort().reverse().join("x")])})},jsHeapSizeLimit:function(){return new Promise(function(resolve){var perf=window.performance;if(perf==undefined)resolve([-1,null]);var memory=perf.memory;if(memory===undefined)resolve([-2,null]);var jsHeapSizeLimit=memory.jsHeapSizeLimit;if(jsHeapSizeLimit===undefined)resolve([-3,null]);resolve([0,jsHeapSizeLimit])})},audioContext:function(){return new Promise(function(resolve){if(isBrave())resolve([-1,null]);var context=window.OfflineAudioContext||window.webkitOfflineAudioContext;if(typeof context!=="function")resolve([-2,null]);context=new context(1,44100,44100);var pxi_oscillator=context.createOscillator();pxi_oscillator.type="triangle";pxi_oscillator.frequency.value=1e4;var pxi_compressor=context.createDynamicsCompressor();pxi_compressor.threshold&&(pxi_compressor.threshold.value=-50);pxi_compressor.knee&&(pxi_compressor.knee.value=40);pxi_compressor.ratio&&(pxi_compressor.ratio.value=12);pxi_compressor.reduction&&(pxi_compressor.reduction.value=-20);pxi_compressor.attack&&(pxi_compressor.attack.value=0);pxi_compressor.release&&(pxi_compressor.release.value=.25);pxi_oscillator.connect(pxi_compressor);pxi_compressor.connect(context.destination);pxi_oscillator.start(0);context.startRendering();context.oncomplete=function(evnt){var pxi_output=0;for(var i=4500;5e3>i;i++){pxi_output+=Math.abs(evnt.renderedBuffer.getChannelData(0)[i])}pxi_compressor.disconnect();resolve([0,pxi_output])}})},userAgentData:function(){return new Promise(function(resolve){function parseBrand(arr){var brands=[];if(!arr)return[];for(var i=0;ivalueA){if(difference0||tripped){resolve(output.length>0?[0,murmurhash3_32_gc(JSON.stringify(output),420)]:[-3,null])}tripped=true}populateVoiceList();if(speechSynthesis.onvoiceschanged!==undefined){speechSynthesis.onvoiceschanged=populateVoiceList}})},applePay:function(){return new Promise(function(resolve){if(typeof window.ApplePaySession!=="function")resolve([-1,null]);var enabled=window.ApplePaySession.canMakePayments();resolve([0,enabled])})},attributionsourceid:function(){return new Promise(function(resolve){var a=document.createElement("a").attributionsourceid;if(a!==undefined){resolve([0,String(a)])}else{resolve([-1,null])}})},webglInfo:function(){return new Promise(function(resolve){var canvas=document.createElement("canvas");try{var context=canvas.getContext("webgl")||canvas.getContext("experimental-webgl")||resolve([-1,null])}catch(e){resolve([-2,null])}var output={};var debugExtension=context.getExtension("WEBGL_debug_renderer_info");if(!debugExtension)resolve([-3,null]);output.unmaskedVendor=isBrave()?null:context.getParameter(debugExtension.UNMASKED_VENDOR_WEBGL);output.unmaskedRenderer=isBrave()?null:context.getParameter(debugExtension.UNMASKED_RENDERER_WEBGL);output.version=context.getParameter(context.VERSION);output.shaderVersion=context.getParameter(context.SHADING_LANGUAGE_VERSION);output.vendor=context.getParameter(context.VENDOR);output.renderer=context.getParameter(context.RENDERER);output.attributes=[];var glContextAttributes=context.getContextAttributes();for(var att in glContextAttributes){if(glContextAttributes.hasOwnProperty(att)){output.attributes.push(att+"="+glContextAttributes[att])}}var parameterNames=["ACTIVE_TEXTURE","ALIASED_LINE_WIDTH_RANGE","ALIASED_POINT_SIZE_RANGE","ALPHA_BITS","ARRAY_BUFFER_BINDING","BLEND","BLEND_COLOR","BLEND_DST_ALPHA","BLEND_DST_RGB","BLEND_EQUATION","BLEND_EQUATION_ALPHA","BLEND_EQUATION_RGB","BLEND_SRC_ALPHA","BLEND_SRC_RGB","BLUE_BITS","COLOR_CLEAR_VALUE","COLOR_WRITEMASK","COMPRESSED_TEXTURE_FORMATS","CULL_FACE","CULL_FACE_MODE","CURRENT_PROGRAM","DEPTH_BITS","DEPTH_CLEAR_VALUE","DEPTH_FUNC","DEPTH_RANGE","DEPTH_TEST","DEPTH_WRITEMASK","DITHER","ELEMENT_ARRAY_BUFFER_BINDING","FRAMEBUFFER_BINDING","FRONT_FACE","GENERATE_MIPMAP_HINT","GREEN_BITS","IMPLEMENTATION_COLOR_READ_FORMAT","IMPLEMENTATION_COLOR_READ_TYPE","LINE_WIDTH","MAX_COMBINED_TEXTURE_IMAGE_UNITS","MAX_CUBE_MAP_TEXTURE_SIZE","MAX_FRAGMENT_UNIFORM_VECTORS","MAX_RENDERBUFFER_SIZE","MAX_TEXTURE_IMAGE_UNITS","MAX_TEXTURE_SIZE","MAX_VARYING_VECTORS","MAX_VERTEX_ATTRIBS","MAX_VERTEX_TEXTURE_IMAGE_UNITS","MAX_VERTEX_UNIFORM_VECTORS","MAX_VIEWPORT_DIMS","PACK_ALIGNMENT","POLYGON_OFFSET_FACTOR","POLYGON_OFFSET_FILL","POLYGON_OFFSET_UNITS","RED_BITS","RENDERBUFFER_BINDING","SAMPLE_BUFFERS","SAMPLE_COVERAGE_INVERT","SAMPLE_COVERAGE_VALUE","SAMPLES","SCISSOR_BOX","SCISSOR_TEST","STENCIL_BACK_FAIL","STENCIL_BACK_FUNC","STENCIL_BACK_PASS_DEPTH_FAIL","STENCIL_BACK_PASS_DEPTH_PASS","STENCIL_BACK_REF","STENCIL_BACK_VALUE_MASK","STENCIL_BACK_WRITEMASK","STENCIL_BITS","STENCIL_CLEAR_VALUE","STENCIL_FAIL","STENCIL_FUNC","STENCIL_PASS_DEPTH_FAIL","STENCIL_PASS_DEPTH_PASS","STENCIL_REF","STENCIL_TEST","STENCIL_VALUE_MASK","STENCIL_WRITEMASK","SUBPIXEL_BITS","TEXTURE_BINDING_2D","TEXTURE_BINDING_CUBE_MAP","UNPACK_ALIGNMENT","UNPACK_COLORSPACE_CONVERSION_WEBGL","UNPACK_FLIP_Y_WEBGL","UNPACK_PREMULTIPLY_ALPHA_WEBGL","VIEWPORT"];output.parameters=[];for(var i=0;i0])})},errorToSource:function(){return new Promise(function(resolve){try{throw"lol"}catch(e){try{var tmp=e.toSource();resolve([0,true])}catch(ee){resolve([0,false])}}resolve([-1,null])})},errors:function(){return new Promise(function(resolve){var errorTests=[function(){return new Function('alert(")')},function(){return new Function("const foo;foo.bar")},function(){return new Function("const a=1; const a=2;")},new Function("try{null.bar;return -1}catch(e){return e.message}"),new Function("try{abc.xyz=123;return -1}catch(e){return e.message}"),new Function("try{(1).toString(1000);return -1}catch(e){return e.message}"),new Function("try{[...undefined].length;return -1}catch(e){return e.message}"),new Function("try{var x=new Array(-1);return -1}catch(e){return e.message}")];var err=new Array;for(var i=0;i 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } + if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } + if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } + if (t[2]) _.ops.pop(); + _.trys.pop(); continue; + } + op = body.call(thisArg, _); + } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } + if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; + } +}; /** * - * Overpowered Browser Fingerprinting Script v1.0.0 - (c) 2023 Joe Rutkowski (https://github.com/Joe12387/OP-Fingerprinting-Script) + * Overpowered Browser Fingerprinting Script v1.0.1b - (c) 2023 Joe Rutkowski (https://github.com/Joe12387/OP-Fingerprinting-Script) * **/ var fingerprint = function () { @@ -309,14 +345,14 @@ var fingerprint = function () { resolve([0, tz]); } var year = (new Date).getFullYear(); - var utc = -Math.max(parseFloat("" + new Date(year, 0, 1).getTimezoneOffset()), parseFloat("" + new Date(year, 6, 1).getTimezoneOffset())); + var utc = -Math.max(parseFloat(String(new Date(year, 0, 1).getTimezoneOffset())), parseFloat(String(new Date(year, 6, 1).getTimezoneOffset()))); resolve([1, "UTC" + (utc >= 0 ? "+" : "-") + Math.abs(utc)]); }); }, timezoneOffset: function () { return new Promise(function (resolve) { var year = (new Date).getFullYear(); - resolve([0, -Math.max(parseFloat("" + new Date(year, 0, 1).getTimezoneOffset()), parseFloat("" + new Date(year, 6, 1).getTimezoneOffset()))]); + resolve([0, -Math.max(parseFloat(String(new Date(year, 0, 1).getTimezoneOffset())), parseFloat(String(new Date(year, 6, 1).getTimezoneOffset())))]); }); }, language: function () { @@ -726,51 +762,61 @@ var fingerprint = function () { }, fonts: function () { return new Promise(function (resolve) { - if (isBrave()) - resolve([-1, null]); - var fontMode = (isSafari() && !isFirefox()) || isMSIE(); - var fontList = fontMode ? ["fakefont", "Apple Color Emoji", "sans-serif-thin", "ARNO PRO", "Agency FB", "Arabic Typesetting", "Arial Unicode MS", "AvantGarde Bk BT", "BankGothic Md BT", "Batang", "Bitstream Vera Sans Mono", "Calibri", "Century", "Century Gothic", "Clarendon", "EUROSTILE", "Franklin Gothic", "Futura Bk BT", "Futura Md BT", "GOTHAM", "Gill Sans", "HELV", "Haettenschweiler", "Helvetica Neue", "Humanst521 BT", "Leelawadee", "Letter Gothic", "Levenim MT", "Lucida Bright", "Lucida Sans", "Menlo", "MS Mincho", "MS Outlook", "MS Reference Specialty", "MS UI Gothic", "MT Extra", "MYRIAD PRO", "Marlett", "Meiryo UI", "Microsoft Uighur", "Minion Pro", "Monotype Corsiva", "PMingLiU", "Pristina", "SCRIPTINA", "Segoe UI Light", "Serifa", "SimHei", "Small Fonts", "Staccato222 BT", "TRAJAN PRO", "Univers CE 55 Medium", "Vrinda", "ZWAdobeF", "Bauhaus 93", "FORTE", "Book Antiqua", "Liberation Sans", "Liberation Serif", "Liberation Mono", "Liberation Sans Narrow", "Droid Naskh Shift", "Droid Naskh Shift Alt", "Droid Naskh System UI", "Droid Naskh UI", "Droid Robot Regular", "Droid Sans", "Droid Sans Fallback", "Droid Sans Hebrew", "Droid Sans Japanese", "Droid Sans Mono", "Droid Sans Thai", "Droid Serif", "DroidSansFallback", "Noto Naskh Arabic", "Ubuntu Mono derivative Powerline", "Ubuntu Mono derivative Powerline Bold", "Ubuntu Mono derivative Powerline Bold Italic", "Ubuntu Mono derivative Powerline Italic", "Adobe Caslon", "Adobe Caslon Pro", "Adobe Caslon Pro Bold", "Adobe Devanagari", "Adobe Fan Heiti Std B", "Adobe Fangsong Std", "Adobe Fangsong Std R", "Adobe Garamond", "Adobe Garamond Pro", "Adobe Garamond Pro Bold", "Adobe Gothic Std", "Adobe Gothic Std B", "Adobe Hebrew", "Adobe Heiti Std R", "Adobe Jenson", "Adobe Kaiti Std R", "Adobe Ming Std L", "Adobe Myungjo Std M", "Adobe Naskh Medium", "Adobe Song Std L", "Orator Std Slanted", "Poplar Std", "Prestige Elite Std Bd", "Rosewood Std Regular", "Giddyup Std", "Hobo Std", "Hobo Std Medium", "Birch Std", "Blackoak Std", "TeamViewer13", "TeamViewer14", "TeamViewer15", "TeamViewer16"] : ["fakefont", "TeamViewer10", "TeamViewer11", "TeamViewer12", "TeamViewer13", "TeamViewer7", "TeamViewer8", "TeamViewer9", ".Mondulkiri U GR 1.5", "AIGDT", "AMGDT", "Abel", "Aboriginal Sans", "Aboriginal Serif", "Abyssinica SIL", "AcadEref", "Acumin", "Adobe Arabic", "Adobe Caslon", "Adobe Caslon Pro", "Adobe Caslon Pro Bold", "Adobe Devanagari", "Adobe Fan Heiti Std B", "Adobe Fangsong Std", "Adobe Fangsong Std R", "Adobe Garamond", "Adobe Garamond Pro", "Adobe Garamond Pro Bold", "Adobe Gothic Std", "Adobe Gothic Std B", "Adobe Hebrew", "Adobe Heiti Std R", "Adobe Jenson", "Adobe Kaiti Std R", "Adobe Ming Std L", "Adobe Myungjo Std M", "Adobe Naskh Medium", "Adobe Song Std L", "Agency FB", "Aharoni", "Akaash", "Akshar Unicode", "AksharUnicode", "Al Bayan", "Alexandra Script", "Algerian", "Amadeus", "AmdtSymbols", "AnastasiaScript", "Andale Mono", "Andalus", "Angsana New", "AngsanaUPC", "AnjaliOldLipi", "Annabelle", "Aparajita", "Apple Casual", "Apple Chancery", "Apple Color Emoji", "Apple SD Gothic Neo", "AppleGothic", "AppleMyungjo", "Arabic Transparent", "Arabic Typesetting", "Arial", "Arial AMU", "Arial Baltic", "Arial CE", "Arial CYR", "Arial Cyr", "Arial Greek", "Arial Hebrew", "Arial MT", "Arial Rounded MT Bold", "Arial TUR", "Arial Unicode MS", "Ariston", "Arno Pro", "Arno Pro Caption", "Arno Pro Display", "Arno Pro Light Display", "Arno Pro SmText", "Arno Pro Smbd", "Arno Pro Smbd Caption", "Arno Pro Smbd Display", "Arno Pro Smbd SmText", "Arno Pro Smbd Subhead", "Arno Pro Subhead", "Asana Math", "Ayuthaya", "BJCree Uni", "BPG Classic 99U", "BPG Paata Khutsuri U", "Bangla MN", "Bangla Sangam MN", "BankGothic Lt BT", "BankGothic Md BT", "Baskerville Old Face", "Batang", "BatangChe", "Bauhaus 93", "Bell Gothic Std Black", "Bell Gothic Std Light", "Bell MT", "Berlin Sans FB", "Berlin Sans FB Demi", "Bernard MT Condensed", "Bickham Script One", "Bickham Script Pro Regular", "Bickham Script Pro Semibold", "Bickham Script Two", "Birch Std", "Bitstream Vera Sans Mono", "Blackadder ITC", "Blackoak Std", "Bernard Condensed", "Bodoni MT", "Bodoni MT Black", "Bodoni MT Poster Compressed", "Book Antiqua", "Bookman Old Style", "Bookshelf Symbol 7", "Bradley Hand ITC", "Britannic Bold", "Broadway", "Browallia New", "BrowalliaUPC", "Brush Script MT", "Brush Script Std", "CDT Khmer", "Calibri", "Calibri Light", "Californian FB", "Calisto MT", "Calligraph", "Cambria", "Cambria Math", "Candara", "Carolina", "Castellar", "Centaur", "Century", "Century Gothic", "Century Schoolbook", "Ceremonious Two", "Chaparral Pro", "Chaparral Pro Light", "Charcoal CY", "Charis SIL Compact", "Charlemagne Std", "Chiller", "CityBlueprint", "Clarendon BT", "Clarendon Blk BT", "Clarendon Lt BT", "Clear Sans", "Code2000", "Colonna MT", "Comic Sans", "Comic Sans MS", "CommercialPi BT", "CommercialScript BT", "Complex", "Consolas", "Constantia", "Cooper Black", "Cooper Std Black", "Copperplate Gothic Bold", "Copperplate Gothic Light", "Copyist", "Corbel", "Cordia New", "CordiaUPC", "CountryBlueprint", "Courier", "Courier New", "Courier New Baltic", "Courier New CE", "Courier New CYR", "Courier New Cyr", "Courier New Greek", "Courier New TUR", "Curlz MT", "DFKai-SB", "DaunPenh", "David", "DecoType Naskh", "Decor", "DejaVu Math TeX Gyre", "DejaVu Sans", "DejaVu Sans Condensed", "DejaVu Sans Light", "DejaVu Sans Mono", "DejaVu Serif", "DejaVu Serif Condensed", "Devanagari MT", "Devanagari Sangam MN", "DilleniaUPC", "DokChampa", "Dotum", "DotumChe", "Droid Naskh Shift", "Droid Naskh Shift Alt", "Droid Naskh System UI", "Droid Naskh UI", "Droid Robot Regular", "Droid Sans", "Droid Sans Fallback", "Droid Sans Hebrew", "Droid Sans Japanese", "Droid Sans Mono", "Droid Sans Thai", "Droid Serif", "DroidSansFallback", "Dutch801 Rm BT", "Dutch801 XBd BT", "Ebrima", "Eccentric Std", "Edwardian Script ITC", "Ekushey Punarbhaba", "Elephant", "Engravers MT", "Eras Bold ITC", "Eras Demi ITC", "Eras Light ITC", "Eras Medium ITC", "Estrangelo Edessa", "Ethiopia Jiret", "EucrosiaUPC", "Euphemia", "Euphemia UCAS", "EuroRoman", "Eurostile", "FTEasci1", "FTEasci1-f", "FTEasci2", "FTEasci2-f", "FTEbaudo", "FTEbaudo-f", "FTEebcd1", "FTEebcd1-f", "FTEebcd2", "FTEebcd2-f", "FTEspec", "FTEspec-f", "FangSong", "Felix Titling", "Fira Code", "Fira Mono", "Fira Sans", "Fixed Miriam Transparent", "Fixedsys", "Footlight MT Light", "Forte", "FrankRuehl", "Franklin Gothic Book", "Franklin Gothic Demi", "Franklin Gothic Demi Cond", "Franklin Gothic Heavy", "Franklin Gothic Medium", "Franklin Gothic Medium Cond", "Freehand521 BT", "FreesiaUPC", "Freestyle Script", "French Script MT", "Futura Md BT", "GDT", "GENISO", "GF Zemen Unicode", "Gabriola", "Gadugi", "Garamond", "Garamond Premr Pro", "Garamond Premr Pro Smbd", "Gautami", "Geeza Pro", "Geneva", "Gentium Basic", "Gentium Book Basic", "Georgia", "Giddyup Std", "Gigi", "Gill Sans MT", "Gill Sans MT Condensed", "Gill Sans MT Ext Condensed Bold", "Gill Sans Ultra Bold", "Gill Sans Ultra Bold Condensed", "Gisha", "Gloucester MT Extra Condensed", "GothicE", "GothicG", "GothicI", "Goudy Old Style", "Goudy Stout", "GreekC", "GreekS", "Gujarati MT", "Gujarati Sangam MN", "Gulim", "GulimChe", "Gungsuh", "GungsuhChe", "Gurmukhi MT", "Guttman Yad", "HYSerif", "Haettenschweiler", "Harlow Solid Italic", "Harrington", "Heather Script One", "Heiti SC", "Heiti TC", "Helvetica", "Helvetica Neue", "High Tower Text", "Hiragino Kaku Gothic Pro", "Hiragino Kaku Gothic ProN", "Hiragino Mincho Pro", "Hiragino Mincho ProN", "Hobo Std", "Hoefler Text", "ISOCP", "ISOCP2", "ISOCP3", "ISOCPEUR", "ISOCT", "ISOCT2", "ISOCT3", "ISOCTEUR", "Impact", "Imprint MT Shadow", "InaiMathi", "Informal Roman", "IrisUPC", "Iskoola Pota", "Italic", "ItalicC", "ItalicT", "JasmineUPC", "Jokerman", "Jomolhari", "Juice ITC", "KaiTi", "KaiTi_GB2312", "Kailasa", "Kaiti SC", "Kaiti TC", "Kalinga", "Kannada MN", "Kannada Sangam MN", "Kartika", "Kedage", "Kefa", "Kh-SrokKhleang", "Khmer MN", "Khmer OS", "Khmer OS Fasthand", "Khmer OS Freehand", "Khmer OS Metal Chrieng", "Khmer OS Muol", "Khmer OS System", "Khmer Sangam MN", "Khmer UI", "KodchiangUPC", "Kokila", "Kozuka Gothic Pr6N B", "Kozuka Gothic Pr6N EL", "Kozuka Gothic Pr6N H", "Kozuka Gothic Pr6N L", "Kozuka Gothic Pr6N M", "Kozuka Gothic Pr6N R", "Kozuka Gothic Pro B", "Kozuka Gothic Pro EL", "Kozuka Gothic Pro H", "Kozuka Gothic Pro L", "Kozuka Gothic Pro M", "Kozuka Gothic Pro R", "Kozuka Mincho Pr6N B", "Kozuka Mincho Pr6N EL", "Kozuka Mincho Pr6N H", "Kozuka Mincho Pr6N L", "Kozuka Mincho Pr6N M", "Kozuka Mincho Pr6N R", "Kozuka Mincho Pro B", "Kozuka Mincho Pro EL", "Kozuka Mincho Pro H", "Kozuka Mincho Pro L", "Kozuka Mincho Pro M", "Kozuka Mincho Pro R", "Kristen ITC", "Ktav", "KufiStandardGK", "Kunstler Script", "LUCIDA GRANDE", "Lao UI", "Latha", "Latin Modern Math", "Leelawadee", "Letter Gothic Std", "Levenim MT", "LiHei Pro", "LiSong Pro", "Liberation Sans", "Liberation Serfi", "Liberation Mono", "Liberation Sans Narrow", "Libertinus Math", "Likhan", "LilyUPC", "Lithos Pro Regular", "Lucida Bright", "Lucida Calligraphy", "Lucida Console", "Lucida Fax", "Lucida Grande", "Lucida Handwriting", "Lucida Sans", "Lucida Sans Typewriter", "Lucida Sans Unicode", "MS Gothic", "MS Mincho", "MS Outlook", "MS PGothic", "MS PMincho", "MS Reference Sans Serif", "MS Reference Specialty", "MS Sans Serif", "MS Serif", "fakefont2", "MS Song", "MS UI Gothic", "MT Extra", "MV Boli", "MYRIAD", "MYRIAD PRO", "Magneto", "Maiandra GD", "Malayalam MN", "Malayalam Sangam MN", "Malgun Gothic", "Mangal", "Marlett", "Matura MT Script Capitals", "Meiryo", "Meiryo UI", "Mesquite Std", "Microsoft Himalaya", "Microsoft JhengHei", "Microsoft JhengHei UI", "Microsoft New Tai Lue", "Microsoft PhagsPa", "Microsoft Sans Serif", "Microsoft Tai Le", "Microsoft Uighur", "Microsoft YaHei", "Microsoft YaHei UI", "Microsoft Yi Baiti", "Ming(for ISO10646)", "MingLiU", "MingLiU-ExtB", "MingLiU_HKSCS", "MingLiU_HKSCS-ExtB", "MingLiu_HKSCS", "Minion Pro", "Minion Pro Cond", "Minion Pro Med", "Minion Pro SmBd", "Miriam", "Miriam Fixed", "Mistral", "Mitra Mono", "Modern", "Modern No. 20", "Monaco", "Mongolian Baiti", "Monospac821 BT", "Monotxt", "Monotype Corsiva", "MoolBoran", "MotoyaLCedar", "MotoyaLMaru", "Mshtakan", "Mukti Narrow", "Myriad Arabic", "Myriad Hebrew", "Myriad Pro", "Myriad Pro Cond", "Myriad Pro Light", "Myriad Web Pro", "NSimSun", "NanumGothic", "Narkisim", "Niagara Engraved", "Niagara Solid", "Nirmala UI", "Noto Mono", "Noto Color Emoji", "Noto Emoji", "Noto Kufi Arabic ", "Noto Naskh Arabic", "Noto Sans", "Noto Sans CJK JP", "Noto Sans CJK KR", "Noto Sans CJK SC", "Noto Sans CJK TC", "Noto Sans JP", "Noto Sans KR", "Noto Sans Mono CJK JP", "Noto Sans Lao ", "Noto Sans Mono CJK KR", "Noto Sans Mono CJK SC", "Noto Sans Mono CJK TC", "Noto Sans SC", "Noto Sans TC", "Noto Serif", "Noto Serif CJK JP", "Noto Serif CJK KR", "Noto Serif CJK SC", "Noto Serif CJK TC", "Noto Serif Ahom", "Nueva Std", "Nueva Std Cond", "Nyala", "OCR A Extended", "OCR A Std", "OCR-A BT", "OCR-B 10 BT", "Old English Text MT", "Onyx", "OpenSymbol", "Orator Std", "Orator Std Slanted", "Oriya MN", "Oriya Sangam MN", "Osaka-Mono", "OskiDakelh", "Ouverture script", "PMingLiU", "PMingLiU-ExtB", "PMingLiu", "Palace Script MT", "Palatino", "Palatino Linotype", "PanRoman", "Papyrus", "Parchment", "Perpetua", "Perpetua Titling MT", "PhnomPenh OT", "Pigiarniq", "PingFang SC", "PingFang TC", "Plantagenet Cherokee", "Playbill", "Poor Richard", "Poplar Std", "Pothana", "Power Clear", "Power Green", "Power Green Narrow", "Power Green Small", "Power Red and Blue", "Power Red and Blue Intl", "Power Red and Green", "Prestige Elite Std", "Prestige Elite Std Bd", "Pristina", "Proxy 1", "Proxy 2", "Proxy 3", "Proxy 4", "Proxy 5", "Proxy 6", "Proxy 7", "Proxy 8", "Proxy 9", "Raavi", "Rachana_w01", "Rage Italic", "Raghindi", "Ravie", "Roboto", "Roboto Slab", "Roboto Mono", "Rockwell", "Rockwell Condensed", "Rockwell Extra Bold", "Rod", "Roman", "RomanC", "RomanD", "RomanS", "RomanT", "Romantic", "Rosewood Std Regular", "STHeiti", "STIX Math", "STIX Two Math", "STIXGeneral", "STSong", "Saab", "Sakkal Majalla", "San Francisco", "SansSerif", "Script", "Script MT Bold", "ScriptC", "ScriptS", "Segoe Print", "Segoe Script", "Segoe UI", "Segoe UI Emoji", "Segoe UI Light", "Segoe UI Semibold", "Segoe UI Semilight", "Segoe UI Symbol", "Shonar Bangla", "Showcard Gothic", "Shruti", "SimHei", "SimSun", "SimSun-ExtB", "Simplex", "Simplified Arabic", "Simplified Arabic Fixed", "Sinhala MN", "Sinhala Sangam MN", "Skype UI Symbol", "Small Fonts", "SmartGothic", "Snap ITC", "Songti SC", "Songti TC", "Square721 BT", "Stencil", "Stencil Std", "Stylus BT", "Sun-ExtA", "SuperFrench", "Swis721 BT", "Swis721 BdCnOul BT", "Swis721 BdOul BT", "Swis721 Blk BT", "Swis721 BlkCn BT", "Swis721 BlkEx BT", "Swis721 BlkOul BT", "Swis721 Cn BT", "Swis721 Ex BT", "Swis721 Hv BT", "Swis721 Lt BT", "Swis721 LtCn BT", "Swis721 LtEx BT", "Syastro", "Sylfaen", "Symap", "Symath", "Symbol", "Symeteo", "Symusic", "System", "TITUS Cyberbit Basic", "Tahoma", "TeX Gyre Bonum Math", "TeX Gyre Pagella Math", "TeX Gyre Schola", "TeX Gyre Termes Math", "Technic", "TechnicBold", "TechnicLite", "Tekton Pro", "Tekton Pro Cond", "Tekton Pro Ext", "Telugu MN", "Telugu Sangam MN", "Tempus Sans ITC", "Terminal", "Thonburi", "ThoolikaUnicode", "Tibetan Machine Uni", "Times", "Times New Roman", "Times New Roman Baltic", "Times New Roman CE", "Times New Roman CYR", "Times New Roman Cyr", "Times New Roman Greek", "Times New Roman PS", "Times New Roman TUR", "Traditional Arabic", "Trajan Pro", "Trebuchet MS", "Tunga", "Tw Cen MT", "Tw Cen MT Condensed", "Tw Cen MT Condensed Extra Bold", "Twemoji Mozilla", "Txt", "Ubuntu", "Ubuntu Light", "Ubuntu Bold", "Ubuntu Mono", "UniversalMath1 BT", "Uqammaq", "Utsaah", "VL Gothic", "VL PGothic", "Vani", "Verdana", "Vijaya", "Viner Hand ITC", "Vineta BT", "Visual Geez Unicode", "Visual Geez Unicode Agazian", "Visual Geez Unicode Title", "Vivaldi", "Vladimir Script", "Vrinda", "WP Arabic Sihafa", "WP ArabicScript Sihafa", "WP CyrillicA", "WP CyrillicB", "WP Greek Century", "WP Greek Courier", "WP Greek Helve", "WP Hebrew David", "WP MultinationalA Courier", "WP MultinationalA Helve", "WP MultinationalA Roman", "WP MultinationalB Courier", "WP MultinationalB Helve", "WP MultinationalB Roman", "WST_Czec", "WST_Engl", "WST_Fren", "WST_Germ", "WST_Ital", "WST_Span", "WST_Swed", "Webdings", "Wide Latin", "Wingdings", "Wingdings 2", "Wingdings 3", "XITS Math", "Yu Gothic", "Yu Mincho", "ZWAdobeF", "Zuzumbo", "cursive", "fantasy", "monospace", "ori1Uni", "sans-serif", "serif"]; - var list = []; - var baseFonts = ['monospace', 'sans-serif', 'serif']; - var body = document.getElementsByTagName("body")[0]; - var span = document.createElement("span"); - span.style.fontSize = "72px"; - span.innerHTML = "AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz!@#$%^&*()_+-="; - var defaultWidth = {}; - var defaultHeight = {}; - for (var index_1 in baseFonts) { - span.style.fontFamily = baseFonts[index_1]; - body.appendChild(span); - defaultWidth[baseFonts[index_1]] = span.offsetWidth; - defaultHeight[baseFonts[index_1]] = span.offsetHeight; - body.removeChild(span); - } - function font_test(font) { - return new Promise(function (resolve, reject) { - var detected = false; - for (var index_2 in baseFonts) { - span.style.fontFamily = font + ',' + baseFonts[index_2]; - body.appendChild(span); - detected = (span.offsetWidth != defaultWidth[baseFonts[index_2]] || span.offsetHeight != defaultHeight[baseFonts[index_2]]); - body.removeChild(span); - if (detected) { - if (list.indexOf(font) === -1) - list.push(font); - resolve(true); + return __awaiter(this, void 0, void 0, function () { + function font_test(font) { + return new Promise(function (resolve) { + var detected = false; + for (var index_1 in baseFonts) { + span.style.fontFamily = font + ',' + baseFonts[index_1]; + body.appendChild(span); + detected = (span.offsetWidth != defaultWidth[baseFonts[index_1]] || span.offsetHeight != defaultHeight[baseFonts[index_1]]); + body.removeChild(span); + if (detected) { + if (list.indexOf(font) === -1) + list.push(font); + resolve(true); + } } + resolve(false); + }); + } + var fontMode, fontList, list, baseFonts, body, span, defaultWidth, defaultHeight, index_2, dfonts, fi; + return __generator(this, function (_a) { + switch (_a.label) { + case 0: + if (isBrave()) + resolve([-1, null]); + fontMode = (isSafari() && !isFirefox()) || isMSIE(); + fontList = fontMode ? ["fakefont", "Apple Color Emoji", "sans-serif-thin", "ARNO PRO", "Agency FB", "Arabic Typesetting", "Arial Unicode MS", "AvantGarde Bk BT", "BankGothic Md BT", "Batang", "Bitstream Vera Sans Mono", "Calibri", "Century", "Century Gothic", "Clarendon", "EUROSTILE", "Franklin Gothic", "Futura Bk BT", "Futura Md BT", "GOTHAM", "Gill Sans", "HELV", "Haettenschweiler", "Helvetica Neue", "Humanst521 BT", "Leelawadee", "Letter Gothic", "Levenim MT", "Lucida Bright", "Lucida Sans", "Menlo", "MS Mincho", "MS Outlook", "MS Reference Specialty", "MS UI Gothic", "MT Extra", "MYRIAD PRO", "Marlett", "Meiryo UI", "Microsoft Uighur", "Minion Pro", "Monotype Corsiva", "PMingLiU", "Pristina", "SCRIPTINA", "Segoe UI Light", "Serifa", "SimHei", "Small Fonts", "Staccato222 BT", "TRAJAN PRO", "Univers CE 55 Medium", "Vrinda", "ZWAdobeF", "Bauhaus 93", "FORTE", "Book Antiqua", "Liberation Sans", "Liberation Serif", "Liberation Mono", "Liberation Sans Narrow", "Droid Naskh Shift", "Droid Naskh Shift Alt", "Droid Naskh System UI", "Droid Naskh UI", "Droid Robot Regular", "Droid Sans", "Droid Sans Fallback", "Droid Sans Hebrew", "Droid Sans Japanese", "Droid Sans Mono", "Droid Sans Thai", "Droid Serif", "DroidSansFallback", "Noto Naskh Arabic", "Ubuntu Mono derivative Powerline", "Ubuntu Mono derivative Powerline Bold", "Ubuntu Mono derivative Powerline Bold Italic", "Ubuntu Mono derivative Powerline Italic", "Adobe Caslon", "Adobe Caslon Pro", "Adobe Caslon Pro Bold", "Adobe Devanagari", "Adobe Fan Heiti Std B", "Adobe Fangsong Std", "Adobe Fangsong Std R", "Adobe Garamond", "Adobe Garamond Pro", "Adobe Garamond Pro Bold", "Adobe Gothic Std", "Adobe Gothic Std B", "Adobe Hebrew", "Adobe Heiti Std R", "Adobe Jenson", "Adobe Kaiti Std R", "Adobe Ming Std L", "Adobe Myungjo Std M", "Adobe Naskh Medium", "Adobe Song Std L", "Orator Std Slanted", "Poplar Std", "Prestige Elite Std Bd", "Rosewood Std Regular", "Giddyup Std", "Hobo Std", "Hobo Std Medium", "Birch Std", "Blackoak Std", "TeamViewer13", "TeamViewer14", "TeamViewer15", "TeamViewer16"] : ["fakefont", "TeamViewer10", "TeamViewer11", "TeamViewer12", "TeamViewer13", "TeamViewer7", "TeamViewer8", "TeamViewer9", ".Mondulkiri U GR 1.5", "AIGDT", "AMGDT", "Abel", "Aboriginal Sans", "Aboriginal Serif", "Abyssinica SIL", "AcadEref", "Acumin", "Adobe Arabic", "Adobe Caslon", "Adobe Caslon Pro", "Adobe Caslon Pro Bold", "Adobe Devanagari", "Adobe Fan Heiti Std B", "Adobe Fangsong Std", "Adobe Fangsong Std R", "Adobe Garamond", "Adobe Garamond Pro", "Adobe Garamond Pro Bold", "Adobe Gothic Std", "Adobe Gothic Std B", "Adobe Hebrew", "Adobe Heiti Std R", "Adobe Jenson", "Adobe Kaiti Std R", "Adobe Ming Std L", "Adobe Myungjo Std M", "Adobe Naskh Medium", "Adobe Song Std L", "Agency FB", "Aharoni", "Akaash", "Akshar Unicode", "AksharUnicode", "Al Bayan", "Alexandra Script", "Algerian", "Amadeus", "AmdtSymbols", "AnastasiaScript", "Andale Mono", "Andalus", "Angsana New", "AngsanaUPC", "AnjaliOldLipi", "Annabelle", "Aparajita", "Apple Casual", "Apple Chancery", "Apple Color Emoji", "Apple SD Gothic Neo", "AppleGothic", "AppleMyungjo", "Arabic Transparent", "Arabic Typesetting", "Arial", "Arial AMU", "Arial Baltic", "Arial CE", "Arial CYR", "Arial Cyr", "Arial Greek", "Arial Hebrew", "Arial MT", "Arial Rounded MT Bold", "Arial TUR", "Arial Unicode MS", "Ariston", "Arno Pro", "Arno Pro Caption", "Arno Pro Display", "Arno Pro Light Display", "Arno Pro SmText", "Arno Pro Smbd", "Arno Pro Smbd Caption", "Arno Pro Smbd Display", "Arno Pro Smbd SmText", "Arno Pro Smbd Subhead", "Arno Pro Subhead", "Asana Math", "Ayuthaya", "BJCree Uni", "BPG Classic 99U", "BPG Paata Khutsuri U", "Bangla MN", "Bangla Sangam MN", "BankGothic Lt BT", "BankGothic Md BT", "Baskerville Old Face", "Batang", "BatangChe", "Bauhaus 93", "Bell Gothic Std Black", "Bell Gothic Std Light", "Bell MT", "Berlin Sans FB", "Berlin Sans FB Demi", "Bernard MT Condensed", "Bickham Script One", "Bickham Script Pro Regular", "Bickham Script Pro Semibold", "Bickham Script Two", "Birch Std", "Bitstream Vera Sans Mono", "Blackadder ITC", "Blackoak Std", "Bernard Condensed", "Bodoni MT", "Bodoni MT Black", "Bodoni MT Poster Compressed", "Book Antiqua", "Bookman Old Style", "Bookshelf Symbol 7", "Bradley Hand ITC", "Britannic Bold", "Broadway", "Browallia New", "BrowalliaUPC", "Brush Script MT", "Brush Script Std", "CDT Khmer", "Calibri", "Calibri Light", "Californian FB", "Calisto MT", "Calligraph", "Cambria", "Cambria Math", "Candara", "Carolina", "Castellar", "Centaur", "Century", "Century Gothic", "Century Schoolbook", "Ceremonious Two", "Chaparral Pro", "Chaparral Pro Light", "Charcoal CY", "Charis SIL Compact", "Charlemagne Std", "Chiller", "CityBlueprint", "Clarendon BT", "Clarendon Blk BT", "Clarendon Lt BT", "Clear Sans", "Code2000", "Colonna MT", "Comic Sans", "Comic Sans MS", "CommercialPi BT", "CommercialScript BT", "Complex", "Consolas", "Constantia", "Cooper Black", "Cooper Std Black", "Copperplate Gothic Bold", "Copperplate Gothic Light", "Copyist", "Corbel", "Cordia New", "CordiaUPC", "CountryBlueprint", "Courier", "Courier New", "Courier New Baltic", "Courier New CE", "Courier New CYR", "Courier New Cyr", "Courier New Greek", "Courier New TUR", "Curlz MT", "DFKai-SB", "DaunPenh", "David", "DecoType Naskh", "Decor", "DejaVu Math TeX Gyre", "DejaVu Sans", "DejaVu Sans Condensed", "DejaVu Sans Light", "DejaVu Sans Mono", "DejaVu Serif", "DejaVu Serif Condensed", "Devanagari MT", "Devanagari Sangam MN", "DilleniaUPC", "DokChampa", "Dotum", "DotumChe", "Droid Naskh Shift", "Droid Naskh Shift Alt", "Droid Naskh System UI", "Droid Naskh UI", "Droid Robot Regular", "Droid Sans", "Droid Sans Fallback", "Droid Sans Hebrew", "Droid Sans Japanese", "Droid Sans Mono", "Droid Sans Thai", "Droid Serif", "DroidSansFallback", "Dutch801 Rm BT", "Dutch801 XBd BT", "Ebrima", "Eccentric Std", "Edwardian Script ITC", "Ekushey Punarbhaba", "Elephant", "Engravers MT", "Eras Bold ITC", "Eras Demi ITC", "Eras Light ITC", "Eras Medium ITC", "Estrangelo Edessa", "Ethiopia Jiret", "EucrosiaUPC", "Euphemia", "Euphemia UCAS", "EuroRoman", "Eurostile", "FTEasci1", "FTEasci1-f", "FTEasci2", "FTEasci2-f", "FTEbaudo", "FTEbaudo-f", "FTEebcd1", "FTEebcd1-f", "FTEebcd2", "FTEebcd2-f", "FTEspec", "FTEspec-f", "FangSong", "Felix Titling", "Fira Code", "Fira Mono", "Fira Sans", "Fixed Miriam Transparent", "Fixedsys", "Footlight MT Light", "Forte", "FrankRuehl", "Franklin Gothic Book", "Franklin Gothic Demi", "Franklin Gothic Demi Cond", "Franklin Gothic Heavy", "Franklin Gothic Medium", "Franklin Gothic Medium Cond", "Freehand521 BT", "FreesiaUPC", "Freestyle Script", "French Script MT", "Futura Md BT", "GDT", "GENISO", "GF Zemen Unicode", "Gabriola", "Gadugi", "Garamond", "Garamond Premr Pro", "Garamond Premr Pro Smbd", "Gautami", "Geeza Pro", "Geneva", "Gentium Basic", "Gentium Book Basic", "Georgia", "Giddyup Std", "Gigi", "Gill Sans MT", "Gill Sans MT Condensed", "Gill Sans MT Ext Condensed Bold", "Gill Sans Ultra Bold", "Gill Sans Ultra Bold Condensed", "Gisha", "Gloucester MT Extra Condensed", "GothicE", "GothicG", "GothicI", "Goudy Old Style", "Goudy Stout", "GreekC", "GreekS", "Gujarati MT", "Gujarati Sangam MN", "Gulim", "GulimChe", "Gungsuh", "GungsuhChe", "Gurmukhi MT", "Guttman Yad", "HYSerif", "Haettenschweiler", "Harlow Solid Italic", "Harrington", "Heather Script One", "Heiti SC", "Heiti TC", "Helvetica", "Helvetica Neue", "High Tower Text", "Hiragino Kaku Gothic Pro", "Hiragino Kaku Gothic ProN", "Hiragino Mincho Pro", "Hiragino Mincho ProN", "Hobo Std", "Hoefler Text", "ISOCP", "ISOCP2", "ISOCP3", "ISOCPEUR", "ISOCT", "ISOCT2", "ISOCT3", "ISOCTEUR", "Impact", "Imprint MT Shadow", "InaiMathi", "Informal Roman", "IrisUPC", "Iskoola Pota", "Italic", "ItalicC", "ItalicT", "JasmineUPC", "Jokerman", "Jomolhari", "Juice ITC", "KaiTi", "KaiTi_GB2312", "Kailasa", "Kaiti SC", "Kaiti TC", "Kalinga", "Kannada MN", "Kannada Sangam MN", "Kartika", "Kedage", "Kefa", "Kh-SrokKhleang", "Khmer MN", "Khmer OS", "Khmer OS Fasthand", "Khmer OS Freehand", "Khmer OS Metal Chrieng", "Khmer OS Muol", "Khmer OS System", "Khmer Sangam MN", "Khmer UI", "KodchiangUPC", "Kokila", "Kozuka Gothic Pr6N B", "Kozuka Gothic Pr6N EL", "Kozuka Gothic Pr6N H", "Kozuka Gothic Pr6N L", "Kozuka Gothic Pr6N M", "Kozuka Gothic Pr6N R", "Kozuka Gothic Pro B", "Kozuka Gothic Pro EL", "Kozuka Gothic Pro H", "Kozuka Gothic Pro L", "Kozuka Gothic Pro M", "Kozuka Gothic Pro R", "Kozuka Mincho Pr6N B", "Kozuka Mincho Pr6N EL", "Kozuka Mincho Pr6N H", "Kozuka Mincho Pr6N L", "Kozuka Mincho Pr6N M", "Kozuka Mincho Pr6N R", "Kozuka Mincho Pro B", "Kozuka Mincho Pro EL", "Kozuka Mincho Pro H", "Kozuka Mincho Pro L", "Kozuka Mincho Pro M", "Kozuka Mincho Pro R", "Kristen ITC", "Ktav", "KufiStandardGK", "Kunstler Script", "LUCIDA GRANDE", "Lao UI", "Latha", "Latin Modern Math", "Leelawadee", "Letter Gothic Std", "Levenim MT", "LiHei Pro", "LiSong Pro", "Liberation Sans", "Liberation Serfi", "Liberation Mono", "Liberation Sans Narrow", "Libertinus Math", "Likhan", "LilyUPC", "Lithos Pro Regular", "Lucida Bright", "Lucida Calligraphy", "Lucida Console", "Lucida Fax", "Lucida Grande", "Lucida Handwriting", "Lucida Sans", "Lucida Sans Typewriter", "Lucida Sans Unicode", "MS Gothic", "MS Mincho", "MS Outlook", "MS PGothic", "MS PMincho", "MS Reference Sans Serif", "MS Reference Specialty", "MS Sans Serif", "MS Serif", "fakefont2", "MS Song", "MS UI Gothic", "MT Extra", "MV Boli", "MYRIAD", "MYRIAD PRO", "Magneto", "Maiandra GD", "Malayalam MN", "Malayalam Sangam MN", "Malgun Gothic", "Mangal", "Marlett", "Matura MT Script Capitals", "Meiryo", "Meiryo UI", "Mesquite Std", "Microsoft Himalaya", "Microsoft JhengHei", "Microsoft JhengHei UI", "Microsoft New Tai Lue", "Microsoft PhagsPa", "Microsoft Sans Serif", "Microsoft Tai Le", "Microsoft Uighur", "Microsoft YaHei", "Microsoft YaHei UI", "Microsoft Yi Baiti", "Ming(for ISO10646)", "MingLiU", "MingLiU-ExtB", "MingLiU_HKSCS", "MingLiU_HKSCS-ExtB", "MingLiu_HKSCS", "Minion Pro", "Minion Pro Cond", "Minion Pro Med", "Minion Pro SmBd", "Miriam", "Miriam Fixed", "Mistral", "Mitra Mono", "Modern", "Modern No. 20", "Monaco", "Mongolian Baiti", "Monospac821 BT", "Monotxt", "Monotype Corsiva", "MoolBoran", "MotoyaLCedar", "MotoyaLMaru", "Mshtakan", "Mukti Narrow", "Myriad Arabic", "Myriad Hebrew", "Myriad Pro", "Myriad Pro Cond", "Myriad Pro Light", "Myriad Web Pro", "NSimSun", "NanumGothic", "Narkisim", "Niagara Engraved", "Niagara Solid", "Nirmala UI", "Noto Mono", "Noto Color Emoji", "Noto Emoji", "Noto Kufi Arabic ", "Noto Naskh Arabic", "Noto Sans", "Noto Sans CJK JP", "Noto Sans CJK KR", "Noto Sans CJK SC", "Noto Sans CJK TC", "Noto Sans JP", "Noto Sans KR", "Noto Sans Mono CJK JP", "Noto Sans Lao ", "Noto Sans Mono CJK KR", "Noto Sans Mono CJK SC", "Noto Sans Mono CJK TC", "Noto Sans SC", "Noto Sans TC", "Noto Serif", "Noto Serif CJK JP", "Noto Serif CJK KR", "Noto Serif CJK SC", "Noto Serif CJK TC", "Noto Serif Ahom", "Nueva Std", "Nueva Std Cond", "Nyala", "OCR A Extended", "OCR A Std", "OCR-A BT", "OCR-B 10 BT", "Old English Text MT", "Onyx", "OpenSymbol", "Orator Std", "Orator Std Slanted", "Oriya MN", "Oriya Sangam MN", "Osaka-Mono", "OskiDakelh", "Ouverture script", "PMingLiU", "PMingLiU-ExtB", "PMingLiu", "Palace Script MT", "Palatino", "Palatino Linotype", "PanRoman", "Papyrus", "Parchment", "Perpetua", "Perpetua Titling MT", "PhnomPenh OT", "Pigiarniq", "PingFang SC", "PingFang TC", "Plantagenet Cherokee", "Playbill", "Poor Richard", "Poplar Std", "Pothana", "Power Clear", "Power Green", "Power Green Narrow", "Power Green Small", "Power Red and Blue", "Power Red and Blue Intl", "Power Red and Green", "Prestige Elite Std", "Prestige Elite Std Bd", "Pristina", "Proxy 1", "Proxy 2", "Proxy 3", "Proxy 4", "Proxy 5", "Proxy 6", "Proxy 7", "Proxy 8", "Proxy 9", "Raavi", "Rachana_w01", "Rage Italic", "Raghindi", "Ravie", "Roboto", "Roboto Slab", "Roboto Mono", "Rockwell", "Rockwell Condensed", "Rockwell Extra Bold", "Rod", "Roman", "RomanC", "RomanD", "RomanS", "RomanT", "Romantic", "Rosewood Std Regular", "STHeiti", "STIX Math", "STIX Two Math", "STIXGeneral", "STSong", "Saab", "Sakkal Majalla", "San Francisco", "SansSerif", "Script", "Script MT Bold", "ScriptC", "ScriptS", "Segoe Print", "Segoe Script", "Segoe UI", "Segoe UI Emoji", "Segoe UI Light", "Segoe UI Semibold", "Segoe UI Semilight", "Segoe UI Symbol", "Shonar Bangla", "Showcard Gothic", "Shruti", "SimHei", "SimSun", "SimSun-ExtB", "Simplex", "Simplified Arabic", "Simplified Arabic Fixed", "Sinhala MN", "Sinhala Sangam MN", "Skype UI Symbol", "Small Fonts", "SmartGothic", "Snap ITC", "Songti SC", "Songti TC", "Square721 BT", "Stencil", "Stencil Std", "Stylus BT", "Sun-ExtA", "SuperFrench", "Swis721 BT", "Swis721 BdCnOul BT", "Swis721 BdOul BT", "Swis721 Blk BT", "Swis721 BlkCn BT", "Swis721 BlkEx BT", "Swis721 BlkOul BT", "Swis721 Cn BT", "Swis721 Ex BT", "Swis721 Hv BT", "Swis721 Lt BT", "Swis721 LtCn BT", "Swis721 LtEx BT", "Syastro", "Sylfaen", "Symap", "Symath", "Symbol", "Symeteo", "Symusic", "System", "TITUS Cyberbit Basic", "Tahoma", "TeX Gyre Bonum Math", "TeX Gyre Pagella Math", "TeX Gyre Schola", "TeX Gyre Termes Math", "Technic", "TechnicBold", "TechnicLite", "Tekton Pro", "Tekton Pro Cond", "Tekton Pro Ext", "Telugu MN", "Telugu Sangam MN", "Tempus Sans ITC", "Terminal", "Thonburi", "ThoolikaUnicode", "Tibetan Machine Uni", "Times", "Times New Roman", "Times New Roman Baltic", "Times New Roman CE", "Times New Roman CYR", "Times New Roman Cyr", "Times New Roman Greek", "Times New Roman PS", "Times New Roman TUR", "Traditional Arabic", "Trajan Pro", "Trebuchet MS", "Tunga", "Tw Cen MT", "Tw Cen MT Condensed", "Tw Cen MT Condensed Extra Bold", "Twemoji Mozilla", "Txt", "Ubuntu", "Ubuntu Light", "Ubuntu Bold", "Ubuntu Mono", "UniversalMath1 BT", "Uqammaq", "Utsaah", "VL Gothic", "VL PGothic", "Vani", "Verdana", "Vijaya", "Viner Hand ITC", "Vineta BT", "Visual Geez Unicode", "Visual Geez Unicode Agazian", "Visual Geez Unicode Title", "Vivaldi", "Vladimir Script", "Vrinda", "WP Arabic Sihafa", "WP ArabicScript Sihafa", "WP CyrillicA", "WP CyrillicB", "WP Greek Century", "WP Greek Courier", "WP Greek Helve", "WP Hebrew David", "WP MultinationalA Courier", "WP MultinationalA Helve", "WP MultinationalA Roman", "WP MultinationalB Courier", "WP MultinationalB Helve", "WP MultinationalB Roman", "WST_Czec", "WST_Engl", "WST_Fren", "WST_Germ", "WST_Ital", "WST_Span", "WST_Swed", "Webdings", "Wide Latin", "Wingdings", "Wingdings 2", "Wingdings 3", "XITS Math", "Yu Gothic", "Yu Mincho", "ZWAdobeF", "Zuzumbo", "cursive", "fantasy", "monospace", "ori1Uni", "sans-serif", "serif"]; + list = []; + baseFonts = ['monospace', 'sans-serif', 'serif']; + body = document.getElementsByTagName("body")[0]; + span = document.createElement("span"); + span.style.fontSize = "72px"; + span.innerHTML = "AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz!@#$%^&*()_+-="; + defaultWidth = {}; + defaultHeight = {}; + for (index_2 in baseFonts) { + span.style.fontFamily = baseFonts[index_2]; + body.appendChild(span); + defaultWidth[baseFonts[index_2]] = span.offsetWidth; + defaultHeight[baseFonts[index_2]] = span.offsetHeight; + body.removeChild(span); + } + dfonts = []; + for (fi = 0; fi < fontList.length; fi++) { + font_test(fontList[fi]).then(function (promise) { + dfonts.push(promise); + }); + } + return [4 /*yield*/, Promise.all(dfonts)]; + case 1: + _a.sent(); + resolve([0, list.sort()]); + return [2 /*return*/]; } - resolve(false); }); - } - var dfonts = []; - for (var fi = 0; fi < fontList.length; fi++) { - font_test(fontList[fi]).then(function (promise) { - dfonts.push(promise); - }); - } - return Promise.all(dfonts).then(new Promise(function () { - resolve([0, list.sort()]); - })); + }); }); }, plugins: function () { @@ -987,12 +1033,12 @@ var fingerprint = function () { uniqueFp: uniqueFp, persistentFp: persistentFp, }, - profile: profile + profile: profile, }; // console.log(output); resolve(output); }).catch(function (err) { - console.log(err); + // console.log(err); reject(err); }); }); diff --git a/opfs.min.js b/opfs.min.js index a451910..49b4d2f 100644 --- a/opfs.min.js +++ b/opfs.min.js @@ -1 +1 @@ -"use strict";var fingerprint=function(){function murmurhash3_32_gc(key,seed){var remainder=key.length&3;var bytes=key.length-remainder;var h1=seed;var c1=3432918353;var c2=461845907;var i=0;while(i>>16)*c1&65535)<<16)&4294967295;k1_1=k1_1<<15|k1_1>>>17;k1_1=(k1_1&65535)*c2+(((k1_1>>>16)*c2&65535)<<16)&4294967295;h1^=k1_1;h1=h1<<13|h1>>>19;var h1b=(h1&65535)*5+(((h1>>>16)*5&65535)<<16)&4294967295;h1=(h1b&65535)+27492+(((h1b>>>16)+58964&65535)<<16)}var k1=0;switch(remainder){case 3:k1^=(key.charCodeAt(i+2)&255)<<16;case 2:k1^=(key.charCodeAt(i+1)&255)<<8;case 1:k1^=key.charCodeAt(i)&255;k1=(k1&65535)*c1+(((k1>>>16)*c1&65535)<<16)&4294967295;k1=k1<<15|k1>>>17;k1=(k1&65535)*c2+(((k1>>>16)*c2&65535)<<16)&4294967295;h1^=k1}h1^=key.length;h1^=h1>>>16;h1=(h1&65535)*2246822507+(((h1>>>16)*2246822507&65535)<<16)&4294967295;h1^=h1>>>13;h1=(h1&65535)*3266489909+(((h1>>>16)*3266489909&65535)<<16)&4294967295;h1^=h1>>>16;return h1>>>0}function isSafari(){var v=navigator.vendor;return v!==undefined&&v.indexOf("Apple")===0}function isChrome(){var v=navigator.vendor;return v!==undefined&&v.indexOf("Google")===0}function isFirefox(){return document.documentElement!==undefined&&document.documentElement.style.MozAppearance!==undefined}function isFirefoxResistFingerprinting(){if(!isFirefox())return false;var intl=window.Intl;var date=intl.DateTimeFormat;if(typeof date==="function"){var tz=(new date).resolvedOptions().timeZone;if(tz==="UTC")return true}return false}function isMSIE(){return navigator.msSaveBlob!==undefined}function isBrave(){return isChrome()&&navigator.brave!==undefined}return new Promise(function(resolve,reject){var fingerprints={platform:function(){return new Promise(function(resolve){var np=navigator.platform;if(np===undefined){resolve([-1,null])}else{resolve([0,np])}})},vendor:function(){return new Promise(function(resolve){var nv=navigator.vendor;if(nv===undefined){resolve([-1,null])}else{resolve([0,nv])}})},productSub:function(){return new Promise(function(resolve){var ps=navigator.productSub;if(ps===undefined){resolve([-1,null])}else{resolve([0,ps])}})},colorDepth:function(){return new Promise(function(resolve){var cd=window.screen.colorDepth;if(cd===undefined){resolve([-1,null])}else{resolve([0,cd])}})},devicePixelRatio:function(){return new Promise(function(resolve){if(isChrome()&&!isBrave())resolve([-2,null]);var dpr=window.devicePixelRatio;if(dpr===undefined){resolve([-1,null])}else{resolve([0,dpr])}})},evalToString:function(){return Promise.resolve([0,eval.toString().length])},maxTouchPoints:function(){var n=navigator;return Promise.resolve(n.maxTouchPoints!==undefined?[0,n.maxTouchPoints]:n.msMaxTouchPoints!==undefined?[1,n.msMaxTouchPoints]:[-1,null])},cpuClass:function(){return new Promise(function(resolve){var cpu=navigator.cpuClass;if(cpu===undefined){resolve([-1,null])}else{resolve([0,cpu])}})},hardwareConcurrency:function(){return new Promise(function(resolve){if(isBrave()||isFirefoxResistFingerprinting()){return resolve([-2,null])}var hc=navigator.hardwareConcurrency;if(hc===undefined){resolve([-1,null])}else{resolve([0,hc])}})},deviceMemory:function(){return new Promise(function(resolve){if(isBrave()){return resolve([-2,null])}var dm=navigator.deviceMemory;if(dm===undefined){resolve([-1,null])}else{resolve([0,dm])}})},oscpu:function(){return new Promise(function(resolve){var os=navigator.oscpu;if(os===undefined){resolve([-1,null])}else{resolve([0,os])}})},doNotTrack:function(){return new Promise(function(resolve){if(isFirefoxResistFingerprinting())resolve([-2,null]);var dnt=navigator.doNotTrack;if(dnt===undefined){resolve([-1,null])}else{resolve([0,dnt])}})},sourceBuffer:function(){return Promise.resolve([0,[typeof SourceBuffer,typeof SourceBufferList]])},colorGamut:function(){return new Promise(function(resolve){var colorGamuts=["rec2020","p3","srgb"];for(var i=0;i=0?"+":"-")+Math.abs(utc)])})},timezoneOffset:function(){return new Promise(function(resolve){var year=(new Date).getFullYear();resolve([0,-Math.max(parseFloat(""+new Date(year,0,1).getTimezoneOffset()),parseFloat(""+new Date(year,6,1).getTimezoneOffset()))])})},language:function(){return new Promise(function(resolve){var n=navigator;var lang_str=n.language||n.userLanguage||n.browserLanguage||n.systemLanguage;var lang_arr=[];if(!isChrome()&&Array.isArray(n.languages)){lang_arr=n.languages}resolve([0,[lang_str,lang_arr]])})},screenResolution:function(){return new Promise(function(resolve){if(isFirefoxResistFingerprinting())resolve([-1,null]);if(isChrome()&&!isBrave())resolve([-2,null]);resolve([0,[Number(screen.width),Number(screen.height)].sort().reverse().join("x")])})},jsHeapSizeLimit:function(){return new Promise(function(resolve){var perf=window.performance;if(perf==undefined)resolve([-1,null]);var memory=perf.memory;if(memory===undefined)resolve([-2,null]);var jsHeapSizeLimit=memory.jsHeapSizeLimit;if(jsHeapSizeLimit===undefined)resolve([-3,null]);resolve([0,jsHeapSizeLimit])})},audioContext:function(){return new Promise(function(resolve){if(isBrave())resolve([-1,null]);var context=window.OfflineAudioContext||window.webkitOfflineAudioContext;if(typeof context!=="function")resolve([-2,null]);context=new context(1,44100,44100);var pxi_oscillator=context.createOscillator();pxi_oscillator.type="triangle";pxi_oscillator.frequency.value=1e4;var pxi_compressor=context.createDynamicsCompressor();pxi_compressor.threshold&&(pxi_compressor.threshold.value=-50);pxi_compressor.knee&&(pxi_compressor.knee.value=40);pxi_compressor.ratio&&(pxi_compressor.ratio.value=12);pxi_compressor.reduction&&(pxi_compressor.reduction.value=-20);pxi_compressor.attack&&(pxi_compressor.attack.value=0);pxi_compressor.release&&(pxi_compressor.release.value=.25);pxi_oscillator.connect(pxi_compressor);pxi_compressor.connect(context.destination);pxi_oscillator.start(0);context.startRendering();context.oncomplete=function(evnt){var pxi_output=0;for(var i=4500;5e3>i;i++){pxi_output+=Math.abs(evnt.renderedBuffer.getChannelData(0)[i])}pxi_compressor.disconnect();resolve([0,pxi_output])}})},userAgentData:function(){return new Promise(function(resolve){function parseBrand(arr){var brands=[];if(!arr)return[];for(var i=0;ivalueA){if(difference0||tripped){resolve(output.length>0?[0,murmurhash3_32_gc(JSON.stringify(output),420)]:[-3,null])}tripped=true}populateVoiceList();if(speechSynthesis.onvoiceschanged!==undefined){speechSynthesis.onvoiceschanged=populateVoiceList}})},applePay:function(){return new Promise(function(resolve){if(typeof window.ApplePaySession!=="function")resolve([-1,null]);var enabled=window.ApplePaySession.canMakePayments();resolve([0,enabled])})},attributionsourceid:function(){return new Promise(function(resolve){var a=document.createElement("a").attributionsourceid;if(a!==undefined){resolve([0,String(a)])}else{resolve([-1,null])}})},webglInfo:function(){return new Promise(function(resolve){var canvas=document.createElement("canvas");try{var context=canvas.getContext("webgl")||canvas.getContext("experimental-webgl")||resolve([-1,null])}catch(e){resolve([-2,null])}var output={};var debugExtension=context.getExtension("WEBGL_debug_renderer_info");if(!debugExtension)resolve([-3,null]);output.unmaskedVendor=isBrave()?null:context.getParameter(debugExtension.UNMASKED_VENDOR_WEBGL);output.unmaskedRenderer=isBrave()?null:context.getParameter(debugExtension.UNMASKED_RENDERER_WEBGL);output.version=context.getParameter(context.VERSION);output.shaderVersion=context.getParameter(context.SHADING_LANGUAGE_VERSION);output.vendor=context.getParameter(context.VENDOR);output.renderer=context.getParameter(context.RENDERER);output.attributes=[];var glContextAttributes=context.getContextAttributes();for(var att in glContextAttributes){if(glContextAttributes.hasOwnProperty(att)){output.attributes.push(att+"="+glContextAttributes[att])}}var parameterNames=["ACTIVE_TEXTURE","ALIASED_LINE_WIDTH_RANGE","ALIASED_POINT_SIZE_RANGE","ALPHA_BITS","ARRAY_BUFFER_BINDING","BLEND","BLEND_COLOR","BLEND_DST_ALPHA","BLEND_DST_RGB","BLEND_EQUATION","BLEND_EQUATION_ALPHA","BLEND_EQUATION_RGB","BLEND_SRC_ALPHA","BLEND_SRC_RGB","BLUE_BITS","COLOR_CLEAR_VALUE","COLOR_WRITEMASK","COMPRESSED_TEXTURE_FORMATS","CULL_FACE","CULL_FACE_MODE","CURRENT_PROGRAM","DEPTH_BITS","DEPTH_CLEAR_VALUE","DEPTH_FUNC","DEPTH_RANGE","DEPTH_TEST","DEPTH_WRITEMASK","DITHER","ELEMENT_ARRAY_BUFFER_BINDING","FRAMEBUFFER_BINDING","FRONT_FACE","GENERATE_MIPMAP_HINT","GREEN_BITS","IMPLEMENTATION_COLOR_READ_FORMAT","IMPLEMENTATION_COLOR_READ_TYPE","LINE_WIDTH","MAX_COMBINED_TEXTURE_IMAGE_UNITS","MAX_CUBE_MAP_TEXTURE_SIZE","MAX_FRAGMENT_UNIFORM_VECTORS","MAX_RENDERBUFFER_SIZE","MAX_TEXTURE_IMAGE_UNITS","MAX_TEXTURE_SIZE","MAX_VARYING_VECTORS","MAX_VERTEX_ATTRIBS","MAX_VERTEX_TEXTURE_IMAGE_UNITS","MAX_VERTEX_UNIFORM_VECTORS","MAX_VIEWPORT_DIMS","PACK_ALIGNMENT","POLYGON_OFFSET_FACTOR","POLYGON_OFFSET_FILL","POLYGON_OFFSET_UNITS","RED_BITS","RENDERBUFFER_BINDING","SAMPLE_BUFFERS","SAMPLE_COVERAGE_INVERT","SAMPLE_COVERAGE_VALUE","SAMPLES","SCISSOR_BOX","SCISSOR_TEST","STENCIL_BACK_FAIL","STENCIL_BACK_FUNC","STENCIL_BACK_PASS_DEPTH_FAIL","STENCIL_BACK_PASS_DEPTH_PASS","STENCIL_BACK_REF","STENCIL_BACK_VALUE_MASK","STENCIL_BACK_WRITEMASK","STENCIL_BITS","STENCIL_CLEAR_VALUE","STENCIL_FAIL","STENCIL_FUNC","STENCIL_PASS_DEPTH_FAIL","STENCIL_PASS_DEPTH_PASS","STENCIL_REF","STENCIL_TEST","STENCIL_VALUE_MASK","STENCIL_WRITEMASK","SUBPIXEL_BITS","TEXTURE_BINDING_2D","TEXTURE_BINDING_CUBE_MAP","UNPACK_ALIGNMENT","UNPACK_COLORSPACE_CONVERSION_WEBGL","UNPACK_FLIP_Y_WEBGL","UNPACK_PREMULTIPLY_ALPHA_WEBGL","VIEWPORT"];output.parameters=[];for(var i=0;i0])})},errorToSource:function(){return new Promise(function(resolve){try{throw"lol"}catch(e){try{var tmp=e.toSource();resolve([0,true])}catch(ee){resolve([0,false])}}resolve([-1,null])})},errors:function(){return new Promise(function(resolve){var errorTests=[function(){return new Function('alert(")')},function(){return new Function("const foo;foo.bar")},function(){return new Function("const a=1; const a=2;")},new Function("try{null.bar;return -1}catch(e){return e.message}"),new Function("try{abc.xyz=123;return -1}catch(e){return e.message}"),new Function("try{(1).toString(1000);return -1}catch(e){return e.message}"),new Function("try{[...undefined].length;return -1}catch(e){return e.message}"),new Function("try{var x=new Array(-1);return -1}catch(e){return e.message}")];var err=new Array;for(var i=0;i0&&t[t.length-1])&&(op[0]===6||op[0]===2)){_=0;continue}if(op[0]===3&&(!t||op[1]>t[0]&&op[1]>>16)*c1&65535)<<16)&4294967295;k1_1=k1_1<<15|k1_1>>>17;k1_1=(k1_1&65535)*c2+(((k1_1>>>16)*c2&65535)<<16)&4294967295;h1^=k1_1;h1=h1<<13|h1>>>19;var h1b=(h1&65535)*5+(((h1>>>16)*5&65535)<<16)&4294967295;h1=(h1b&65535)+27492+(((h1b>>>16)+58964&65535)<<16)}var k1=0;switch(remainder){case 3:k1^=(key.charCodeAt(i+2)&255)<<16;case 2:k1^=(key.charCodeAt(i+1)&255)<<8;case 1:k1^=key.charCodeAt(i)&255;k1=(k1&65535)*c1+(((k1>>>16)*c1&65535)<<16)&4294967295;k1=k1<<15|k1>>>17;k1=(k1&65535)*c2+(((k1>>>16)*c2&65535)<<16)&4294967295;h1^=k1}h1^=key.length;h1^=h1>>>16;h1=(h1&65535)*2246822507+(((h1>>>16)*2246822507&65535)<<16)&4294967295;h1^=h1>>>13;h1=(h1&65535)*3266489909+(((h1>>>16)*3266489909&65535)<<16)&4294967295;h1^=h1>>>16;return h1>>>0}function isSafari(){var v=navigator.vendor;return v!==undefined&&v.indexOf("Apple")===0}function isChrome(){var v=navigator.vendor;return v!==undefined&&v.indexOf("Google")===0}function isFirefox(){return document.documentElement!==undefined&&document.documentElement.style.MozAppearance!==undefined}function isFirefoxResistFingerprinting(){if(!isFirefox())return false;var intl=window.Intl;var date=intl.DateTimeFormat;if(typeof date==="function"){var tz=(new date).resolvedOptions().timeZone;if(tz==="UTC")return true}return false}function isMSIE(){return navigator.msSaveBlob!==undefined}function isBrave(){return isChrome()&&navigator.brave!==undefined}return new Promise(function(resolve,reject){var fingerprints={platform:function(){return new Promise(function(resolve){var np=navigator.platform;if(np===undefined){resolve([-1,null])}else{resolve([0,np])}})},vendor:function(){return new Promise(function(resolve){var nv=navigator.vendor;if(nv===undefined){resolve([-1,null])}else{resolve([0,nv])}})},productSub:function(){return new Promise(function(resolve){var ps=navigator.productSub;if(ps===undefined){resolve([-1,null])}else{resolve([0,ps])}})},colorDepth:function(){return new Promise(function(resolve){var cd=window.screen.colorDepth;if(cd===undefined){resolve([-1,null])}else{resolve([0,cd])}})},devicePixelRatio:function(){return new Promise(function(resolve){if(isChrome()&&!isBrave())resolve([-2,null]);var dpr=window.devicePixelRatio;if(dpr===undefined){resolve([-1,null])}else{resolve([0,dpr])}})},evalToString:function(){return Promise.resolve([0,eval.toString().length])},maxTouchPoints:function(){var n=navigator;return Promise.resolve(n.maxTouchPoints!==undefined?[0,n.maxTouchPoints]:n.msMaxTouchPoints!==undefined?[1,n.msMaxTouchPoints]:[-1,null])},cpuClass:function(){return new Promise(function(resolve){var cpu=navigator.cpuClass;if(cpu===undefined){resolve([-1,null])}else{resolve([0,cpu])}})},hardwareConcurrency:function(){return new Promise(function(resolve){if(isBrave()||isFirefoxResistFingerprinting()){return resolve([-2,null])}var hc=navigator.hardwareConcurrency;if(hc===undefined){resolve([-1,null])}else{resolve([0,hc])}})},deviceMemory:function(){return new Promise(function(resolve){if(isBrave()){return resolve([-2,null])}var dm=navigator.deviceMemory;if(dm===undefined){resolve([-1,null])}else{resolve([0,dm])}})},oscpu:function(){return new Promise(function(resolve){var os=navigator.oscpu;if(os===undefined){resolve([-1,null])}else{resolve([0,os])}})},doNotTrack:function(){return new Promise(function(resolve){if(isFirefoxResistFingerprinting())resolve([-2,null]);var dnt=navigator.doNotTrack;if(dnt===undefined){resolve([-1,null])}else{resolve([0,dnt])}})},sourceBuffer:function(){return Promise.resolve([0,[typeof SourceBuffer,typeof SourceBufferList]])},colorGamut:function(){return new Promise(function(resolve){var colorGamuts=["rec2020","p3","srgb"];for(var i=0;i=0?"+":"-")+Math.abs(utc)])})},timezoneOffset:function(){return new Promise(function(resolve){var year=(new Date).getFullYear();resolve([0,-Math.max(parseFloat(String(new Date(year,0,1).getTimezoneOffset())),parseFloat(String(new Date(year,6,1).getTimezoneOffset())))])})},language:function(){return new Promise(function(resolve){var n=navigator;var lang_str=n.language||n.userLanguage||n.browserLanguage||n.systemLanguage;var lang_arr=[];if(!isChrome()&&Array.isArray(n.languages)){lang_arr=n.languages}resolve([0,[lang_str,lang_arr]])})},screenResolution:function(){return new Promise(function(resolve){if(isFirefoxResistFingerprinting())resolve([-1,null]);if(isChrome()&&!isBrave())resolve([-2,null]);resolve([0,[Number(screen.width),Number(screen.height)].sort().reverse().join("x")])})},jsHeapSizeLimit:function(){return new Promise(function(resolve){var perf=window.performance;if(perf==undefined)resolve([-1,null]);var memory=perf.memory;if(memory===undefined)resolve([-2,null]);var jsHeapSizeLimit=memory.jsHeapSizeLimit;if(jsHeapSizeLimit===undefined)resolve([-3,null]);resolve([0,jsHeapSizeLimit])})},audioContext:function(){return new Promise(function(resolve){if(isBrave())resolve([-1,null]);var context=window.OfflineAudioContext||window.webkitOfflineAudioContext;if(typeof context!=="function")resolve([-2,null]);context=new context(1,44100,44100);var pxi_oscillator=context.createOscillator();pxi_oscillator.type="triangle";pxi_oscillator.frequency.value=1e4;var pxi_compressor=context.createDynamicsCompressor();pxi_compressor.threshold&&(pxi_compressor.threshold.value=-50);pxi_compressor.knee&&(pxi_compressor.knee.value=40);pxi_compressor.ratio&&(pxi_compressor.ratio.value=12);pxi_compressor.reduction&&(pxi_compressor.reduction.value=-20);pxi_compressor.attack&&(pxi_compressor.attack.value=0);pxi_compressor.release&&(pxi_compressor.release.value=.25);pxi_oscillator.connect(pxi_compressor);pxi_compressor.connect(context.destination);pxi_oscillator.start(0);context.startRendering();context.oncomplete=function(evnt){var pxi_output=0;for(var i=4500;5e3>i;i++){pxi_output+=Math.abs(evnt.renderedBuffer.getChannelData(0)[i])}pxi_compressor.disconnect();resolve([0,pxi_output])}})},userAgentData:function(){return new Promise(function(resolve){function parseBrand(arr){var brands=[];if(!arr)return[];for(var i=0;ivalueA){if(difference0||tripped){resolve(output.length>0?[0,murmurhash3_32_gc(JSON.stringify(output),420)]:[-3,null])}tripped=true}populateVoiceList();if(speechSynthesis.onvoiceschanged!==undefined){speechSynthesis.onvoiceschanged=populateVoiceList}})},applePay:function(){return new Promise(function(resolve){if(typeof window.ApplePaySession!=="function")resolve([-1,null]);var enabled=window.ApplePaySession.canMakePayments();resolve([0,enabled])})},attributionsourceid:function(){return new Promise(function(resolve){var a=document.createElement("a").attributionsourceid;if(a!==undefined){resolve([0,String(a)])}else{resolve([-1,null])}})},webglInfo:function(){return new Promise(function(resolve){var canvas=document.createElement("canvas");try{var context=canvas.getContext("webgl")||canvas.getContext("experimental-webgl")||resolve([-1,null])}catch(e){resolve([-2,null])}var output={};var debugExtension=context.getExtension("WEBGL_debug_renderer_info");if(!debugExtension)resolve([-3,null]);output.unmaskedVendor=isBrave()?null:context.getParameter(debugExtension.UNMASKED_VENDOR_WEBGL);output.unmaskedRenderer=isBrave()?null:context.getParameter(debugExtension.UNMASKED_RENDERER_WEBGL);output.version=context.getParameter(context.VERSION);output.shaderVersion=context.getParameter(context.SHADING_LANGUAGE_VERSION);output.vendor=context.getParameter(context.VENDOR);output.renderer=context.getParameter(context.RENDERER);output.attributes=[];var glContextAttributes=context.getContextAttributes();for(var att in glContextAttributes){if(glContextAttributes.hasOwnProperty(att)){output.attributes.push(att+"="+glContextAttributes[att])}}var parameterNames=["ACTIVE_TEXTURE","ALIASED_LINE_WIDTH_RANGE","ALIASED_POINT_SIZE_RANGE","ALPHA_BITS","ARRAY_BUFFER_BINDING","BLEND","BLEND_COLOR","BLEND_DST_ALPHA","BLEND_DST_RGB","BLEND_EQUATION","BLEND_EQUATION_ALPHA","BLEND_EQUATION_RGB","BLEND_SRC_ALPHA","BLEND_SRC_RGB","BLUE_BITS","COLOR_CLEAR_VALUE","COLOR_WRITEMASK","COMPRESSED_TEXTURE_FORMATS","CULL_FACE","CULL_FACE_MODE","CURRENT_PROGRAM","DEPTH_BITS","DEPTH_CLEAR_VALUE","DEPTH_FUNC","DEPTH_RANGE","DEPTH_TEST","DEPTH_WRITEMASK","DITHER","ELEMENT_ARRAY_BUFFER_BINDING","FRAMEBUFFER_BINDING","FRONT_FACE","GENERATE_MIPMAP_HINT","GREEN_BITS","IMPLEMENTATION_COLOR_READ_FORMAT","IMPLEMENTATION_COLOR_READ_TYPE","LINE_WIDTH","MAX_COMBINED_TEXTURE_IMAGE_UNITS","MAX_CUBE_MAP_TEXTURE_SIZE","MAX_FRAGMENT_UNIFORM_VECTORS","MAX_RENDERBUFFER_SIZE","MAX_TEXTURE_IMAGE_UNITS","MAX_TEXTURE_SIZE","MAX_VARYING_VECTORS","MAX_VERTEX_ATTRIBS","MAX_VERTEX_TEXTURE_IMAGE_UNITS","MAX_VERTEX_UNIFORM_VECTORS","MAX_VIEWPORT_DIMS","PACK_ALIGNMENT","POLYGON_OFFSET_FACTOR","POLYGON_OFFSET_FILL","POLYGON_OFFSET_UNITS","RED_BITS","RENDERBUFFER_BINDING","SAMPLE_BUFFERS","SAMPLE_COVERAGE_INVERT","SAMPLE_COVERAGE_VALUE","SAMPLES","SCISSOR_BOX","SCISSOR_TEST","STENCIL_BACK_FAIL","STENCIL_BACK_FUNC","STENCIL_BACK_PASS_DEPTH_FAIL","STENCIL_BACK_PASS_DEPTH_PASS","STENCIL_BACK_REF","STENCIL_BACK_VALUE_MASK","STENCIL_BACK_WRITEMASK","STENCIL_BITS","STENCIL_CLEAR_VALUE","STENCIL_FAIL","STENCIL_FUNC","STENCIL_PASS_DEPTH_FAIL","STENCIL_PASS_DEPTH_PASS","STENCIL_REF","STENCIL_TEST","STENCIL_VALUE_MASK","STENCIL_WRITEMASK","SUBPIXEL_BITS","TEXTURE_BINDING_2D","TEXTURE_BINDING_CUBE_MAP","UNPACK_ALIGNMENT","UNPACK_COLORSPACE_CONVERSION_WEBGL","UNPACK_FLIP_Y_WEBGL","UNPACK_PREMULTIPLY_ALPHA_WEBGL","VIEWPORT"];output.parameters=[];for(var i=0;i0])})},errorToSource:function(){return new Promise(function(resolve){try{throw"lol"}catch(e){try{var tmp=e.toSource();resolve([0,true])}catch(ee){resolve([0,false])}}resolve([-1,null])})},errors:function(){return new Promise(function(resolve){var errorTests=[function(){return new Function('alert(")')},function(){return new Function("const foo;foo.bar")},function(){return new Function("const a=1; const a=2;")},new Function("try{null.bar;return -1}catch(e){return e.message}"),new Function("try{abc.xyz=123;return -1}catch(e){return e.message}"),new Function("try{(1).toString(1000);return -1}catch(e){return e.message}"),new Function("try{[...undefined].length;return -1}catch(e){return e.message}"),new Function("try{var x=new Array(-1);return -1}catch(e){return e.message}")];var err=new Array;for(var i=0;i=0.8.0" } } - }, - "dependencies": { - "typescript": { - "version": "4.6.4", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.6.4.tgz", - "integrity": "sha512-9ia/jWHIEbo49HfjrLGfKbZSuWo9iTMwXO+Ca3pRsSpbsMbc7/IU8NKdCZVRRBafVPGnoJeFL76ZOAA84I9fEg==", - "dev": true - }, - "uglify-js": { - "version": "3.17.1", - "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.17.1.tgz", - "integrity": "sha512-+juFBsLLw7AqMaqJ0GFvlsGZwdQfI2ooKQB39PSBgMnMakcFosi9O8jCwE+2/2nMNcc0z63r9mwjoDG8zr+q0Q==", - "dev": true - } } } diff --git a/src/opfs.ts b/src/opfs.ts index 2221e0c..25fae2d 100644 --- a/src/opfs.ts +++ b/src/opfs.ts @@ -1,15 +1,15 @@ /** * - * Overpowered Browser Fingerprinting Script v1.0.0 - (c) 2023 Joe Rutkowski (https://github.com/Joe12387/OP-Fingerprinting-Script) + * Overpowered Browser Fingerprinting Script v1.0.1b - (c) 2023 Joe Rutkowski (https://github.com/Joe12387/OP-Fingerprinting-Script) * **/ -const fingerprint = function() { - function murmurhash3_32_gc(key: any, seed: number) { - let remainder = key.length & 3; - let bytes = key.length - remainder; +const fingerprint = function(): Promise { + function murmurhash3_32_gc(key: any, seed: number): number { + const remainder = key.length & 3; + const bytes = key.length - remainder; let h1 = seed; - let c1 = 0xcc9e2d51; - let c2 = 0x1b873593; + const c1 = 0xcc9e2d51; + const c2 = 0x1b873593; let i = 0; while (i < bytes) { @@ -26,7 +26,7 @@ const fingerprint = function() { h1 ^= k1; h1 = (h1 << 13) | (h1 >>> 19); - let h1b = ((((h1 & 0xffff) * 5) + ((((h1 >>> 16) * 5) & 0xffff) << 16))) & 0xffffffff; + const h1b = ((((h1 & 0xffff) * 5) + ((((h1 >>> 16) * 5) & 0xffff) << 16))) & 0xffffffff; h1 = (((h1b & 0xffff) + 0x6b64) + ((((h1b >>> 16) + 0xe654) & 0xffff) << 16)); } @@ -57,21 +57,21 @@ const fingerprint = function() { return h1 >>> 0; } - function isSafari() { - let v = navigator.vendor; + function isSafari(): boolean { + const v = navigator.vendor; return v !== undefined && v.indexOf("Apple") === 0; } - function isChrome() { - let v = navigator.vendor; + function isChrome(): boolean { + const v = navigator.vendor; return v !== undefined && v.indexOf("Google") === 0; } - function isFirefox() { + function isFirefox(): boolean { return document.documentElement !== undefined && (document.documentElement as any).style.MozAppearance !== undefined; } - function isFirefoxResistFingerprinting() { + function isFirefoxResistFingerprinting(): boolean { if (!isFirefox()) return false; const intl = window.Intl; @@ -83,19 +83,19 @@ const fingerprint = function() { return false; } - function isMSIE() { + function isMSIE(): boolean { return (navigator as any).msSaveBlob !== undefined; } - function isBrave() { + function isBrave(): boolean { return isChrome() && (navigator as any).brave !== undefined; } return new Promise(function(resolve, reject) { - let fingerprints = { - platform: function() { - return new Promise((resolve) => { - let np = navigator.platform; + const fingerprints = { + platform: function(): Promise { + return new Promise((resolve): void => { + const np = navigator.platform; if (np === undefined) { resolve([-1, null]); } else { @@ -103,9 +103,9 @@ const fingerprint = function() { } }); }, - vendor: function() { - return new Promise((resolve) => { - let nv = navigator.vendor; + vendor: function(): Promise { + return new Promise((resolve): void => { + const nv = navigator.vendor; if (nv === undefined) { resolve([-1, null]); } else { @@ -113,9 +113,9 @@ const fingerprint = function() { } }); }, - productSub: function() { - return new Promise((resolve) => { - let ps = navigator.productSub; + productSub: function(): Promise { + return new Promise((resolve): void => { + const ps = navigator.productSub; if (ps === undefined) { resolve([-1, null]); } else { @@ -123,9 +123,9 @@ const fingerprint = function() { } }); }, - colorDepth: function() { - return new Promise((resolve) => { - let cd = window.screen.colorDepth; + colorDepth: function(): Promise { + return new Promise((resolve): void => { + const cd = window.screen.colorDepth; if (cd === undefined) { resolve([-1, null]); } else { @@ -133,10 +133,10 @@ const fingerprint = function() { } }); }, - devicePixelRatio: function() { - return new Promise((resolve) => { + devicePixelRatio: function(): Promise { + return new Promise((resolve): void => { if (isChrome() && !isBrave()) resolve([-2, null]); - let dpr = window.devicePixelRatio; + const dpr = window.devicePixelRatio; if (dpr === undefined) { resolve([-1, null]); } else { @@ -144,16 +144,16 @@ const fingerprint = function() { } }); }, - evalToString: function() { + evalToString: function(): Promise { return Promise.resolve([0, eval.toString().length]); }, - maxTouchPoints: function() { - let n = navigator as any; + maxTouchPoints: function(): Promise { + const n = navigator as any; return Promise.resolve(n.maxTouchPoints !== undefined ? [0, n.maxTouchPoints] : n.msMaxTouchPoints !== undefined ? [1, n.msMaxTouchPoints] : [-1, null]); }, - cpuClass: function() { - return new Promise((resolve) => { - let cpu = (navigator as any).cpuClass; + cpuClass: function(): Promise { + return new Promise((resolve): void => { + const cpu = (navigator as any).cpuClass; if (cpu === undefined) { resolve([-1, null]); } else { @@ -161,12 +161,12 @@ const fingerprint = function() { } }); }, - hardwareConcurrency: function() { - return new Promise((resolve) => { + hardwareConcurrency: function(): Promise { + return new Promise((resolve): void => { if (isBrave() || isFirefoxResistFingerprinting()) { return resolve([-2, null]); } - let hc = navigator.hardwareConcurrency; + const hc = navigator.hardwareConcurrency; if (hc === undefined) { resolve([-1, null]); } else { @@ -174,12 +174,12 @@ const fingerprint = function() { } }); }, - deviceMemory: function() { - return new Promise((resolve) => { + deviceMemory: function(): Promise { + return new Promise((resolve): void => { if (isBrave()) { return resolve([-2, null]); } - let dm = (navigator as any).deviceMemory; + const dm = (navigator as any).deviceMemory; if (dm === undefined) { resolve([-1, null]); } else { @@ -187,9 +187,9 @@ const fingerprint = function() { } }); }, - oscpu: function() { - return new Promise((resolve) => { - let os = (navigator as any).oscpu; + oscpu: function(): Promise { + return new Promise((resolve): void => { + const os = (navigator as any).oscpu; if (os === undefined) { resolve([-1, null]); } else { @@ -197,10 +197,10 @@ const fingerprint = function() { } }); }, - doNotTrack: function() { - return new Promise((resolve) => { + doNotTrack: function(): Promise { + return new Promise((resolve): void => { if (isFirefoxResistFingerprinting()) resolve([-2, null]); - let dnt = navigator.doNotTrack; + const dnt = navigator.doNotTrack; if (dnt === undefined) { resolve([-1, null]); } else { @@ -208,63 +208,63 @@ const fingerprint = function() { } }); }, - sourceBuffer: function() { + sourceBuffer: function(): Promise { return Promise.resolve([0, [typeof SourceBuffer, typeof SourceBufferList]]); }, - colorGamut: function() { - return new Promise(function(resolve) { - let colorGamuts = ["rec2020", "p3", "srgb"]; + colorGamut: function(): Promise { + return new Promise(function(resolve): void { + const colorGamuts = ["rec2020", "p3", "srgb"]; for (let i = 0; i < colorGamuts.length; i++) { - let gamut = colorGamuts[i]; + const gamut = colorGamuts[i]; if (matchMedia("(color-gamut: " + gamut + ")").matches) resolve([0, gamut]); } resolve([-1, null]); }); }, - reducedMotion: function() { - return new Promise(function(resolve) { - function prm(x: string) { + reducedMotion: function(): Promise { + return new Promise(function(resolve): void { + function prm(x: string): boolean { return Boolean(matchMedia("(prefers-reduced-motion: " + x + ")").matches); } resolve([0, prm("reduce") || !prm("no-preference")]); }); }, - hdr: function() { - return new Promise(function(resolve) { - function dr(x: string) { + hdr: function(): Promise { + return new Promise(function(resolve): void { + function dr(x: string): boolean { return Boolean(matchMedia("(dynamic-range: " + x + ")").matches); } resolve([0, dr("high") || !dr("standard")]); }); }, - contrast: function() { - return new Promise(function(resolve) { - function pc(x: string) { + contrast: function(): Promise { + return new Promise(function(resolve): void { + function pc(x: string): boolean { return Boolean(matchMedia("(prefers-contrast: " + x + ")").matches); } resolve([0, pc("no-preference") ? 0 : pc("high") || pc("more") ? 1 : pc("low") || pc("less") ? -1 : pc("forced") ? 10 : -1]); }); }, - invertedColors: function() { - return new Promise(function(resolve) { - function ic(x: string) { + invertedColors: function(): Promise { + return new Promise(function(resolve): void { + function ic(x: string): boolean { return Boolean(matchMedia("(inverted-colors: " + x + ")").matches); } resolve([0, ic("inverted") || !ic("none")]); }); }, - forcedColors: function() { - return new Promise(function(resolve) { - function fc(x: string) { + forcedColors: (): Promise => { + return new Promise(function(resolve): void { + function fc(x: string): boolean { return Boolean(matchMedia("(forced-colors: " + x + ")").matches); } resolve([0, fc("active") || !fc("none")]); }); }, - monochrome: function() { - return new Promise(function(resolve) { + monochrome: (): Promise => { + return new Promise(function(resolve): void { if (matchMedia("(min-monochrome: 0)").matches) { for (let i = 0; i <= 100; ++i) { if (matchMedia("(max-monochrome: " + i + ")").matches) resolve([0, i]); @@ -274,9 +274,9 @@ const fingerprint = function() { resolve([-1, null]); }); }, - browserObjects: function() { - return new Promise(function(resolve) { - let foundObjects = [] as any; + browserObjects: (): Promise => { + return new Promise(function(resolve): void { + const foundObjects = [] as any; const objects = [ "chrome", @@ -304,8 +304,8 @@ const fingerprint = function() { resolve([0, foundObjects.sort()]); }); }, - timezone: function() { - return new Promise(function(resolve) { + timezone: function(): Promise { + return new Promise(function(resolve): void { const intl = window.Intl; const date = intl.DateTimeFormat; if (typeof date === "function") { @@ -313,18 +313,18 @@ const fingerprint = function() { if (tz) resolve([0, tz]); } const year = (new Date).getFullYear(); - const utc = -Math.max(parseFloat(""+new Date(year, 0, 1).getTimezoneOffset()), parseFloat(""+new Date(year, 6, 1).getTimezoneOffset())); + const utc = -Math.max(parseFloat(String(new Date(year, 0, 1).getTimezoneOffset())), parseFloat(String(new Date(year, 6, 1).getTimezoneOffset()))); resolve([1, "UTC" + (utc >= 0 ? "+" : "-") + Math.abs(utc)]); }); }, - timezoneOffset: function() { - return new Promise(function(resolve) { + timezoneOffset: function(): Promise { + return new Promise(function(resolve): void { const year = (new Date).getFullYear(); - resolve([0, -Math.max(parseFloat(""+new Date(year, 0, 1).getTimezoneOffset()), parseFloat(""+new Date(year, 6, 1).getTimezoneOffset()))]); + resolve([0, -Math.max(parseFloat(String(new Date(year, 0, 1).getTimezoneOffset())), parseFloat(String(new Date(year, 6, 1).getTimezoneOffset())))]); }); }, - language: function() { - return new Promise(function(resolve) { + language: function(): Promise { + return new Promise(function(resolve): void { const n = navigator as any; const lang_str = n.language || n.userLanguage || n.browserLanguage || n.systemLanguage; let lang_arr = []; @@ -336,26 +336,26 @@ const fingerprint = function() { resolve([0, [lang_str, lang_arr]]); }); }, - screenResolution: function() { - return new Promise(function(resolve) { + screenResolution: function(): Promise { + return new Promise(function(resolve): void { if (isFirefoxResistFingerprinting()) resolve([-1, null]); if (isChrome() && !isBrave()) resolve([-2, null]); resolve([0, [Number(screen.width), Number(screen.height)].sort().reverse().join("x")]); }); }, - jsHeapSizeLimit: function() { - return new Promise(function(resolve) { - let perf = window.performance as any; + jsHeapSizeLimit: function(): Promise { + return new Promise(function(resolve): void { + const perf = window.performance as any; if (perf == undefined) resolve([-1, null]); - let memory = perf.memory; + const memory = perf.memory; if (memory === undefined) resolve([-2, null]); - let jsHeapSizeLimit = memory.jsHeapSizeLimit; + const jsHeapSizeLimit = memory.jsHeapSizeLimit; if (jsHeapSizeLimit === undefined) resolve([-3, null]); resolve([0, jsHeapSizeLimit]); }); }, - audioContext: function() { - return new Promise(function(resolve) { + audioContext: function(): Promise { + return new Promise(function(resolve): void { if (isBrave()) resolve([-1, null]); let context = window.OfflineAudioContext || (window as any).webkitOfflineAudioContext; @@ -366,11 +366,11 @@ const fingerprint = function() { // console.log(context); - let pxi_oscillator = (context as any).createOscillator(); + const pxi_oscillator = (context as any).createOscillator(); pxi_oscillator.type = "triangle"; pxi_oscillator.frequency.value = 1e4; - let pxi_compressor = (context as any).createDynamicsCompressor(); + const pxi_compressor = (context as any).createDynamicsCompressor(); pxi_compressor.threshold && (pxi_compressor.threshold.value = -50); pxi_compressor.knee && (pxi_compressor.knee.value = 40); pxi_compressor.ratio && (pxi_compressor.ratio.value = 12); @@ -393,14 +393,14 @@ const fingerprint = function() { } }); }, - userAgentData: function() { - return new Promise(function(resolve) { - function parseBrand(arr: any[]) { + userAgentData: function(): Promise { + return new Promise(function(resolve): void { + function parseBrand(arr: any[]): string[] { let brands = [] as any; if (!arr) return []; for (let i = 0; i < arr.length; i++) { if (!!arr[i].brand) { - let brand = arr[i].brand; + const brand = arr[i].brand; if (!(new RegExp("Brand", "i").test(brand))) { brands.push(brand); } @@ -417,26 +417,26 @@ const fingerprint = function() { }); }); }, - canvasAPI: function() { - return new Promise(function(resolve) { + canvasAPI: function(): Promise { + return new Promise(function(resolve): void { if ((isSafari() && navigator.maxTouchPoints !== undefined) || isBrave() || isFirefoxResistFingerprinting()) resolve([-1, null]); const asciiString = unescape("%uD83D%uDE00abcdefghijklmnopqrstuvwxyz%uD83D%uDD2B%uD83C%uDFF3%uFE0F%u200D%uD83C%uDF08%uD83C%uDDF9%uD83C%uDDFC%uD83C%uDFF3%uFE0F%u200D%u26A7%uFE0F0123456789"); - function canvas_geometry(ctx: any) { + function canvas_geometry(ctx: any): boolean { ctx.globalCompositeOperation = "multiply"; - let a = [ + const a = [ ["#f0f", 100, 50], ["#0ff", 50, 50], ["#ff0", 75, 100] ]; for (let o = 0; o < a.length; o++) { - let u = a[o]; - let s = u[0]; - let c = u[1]; - let l = u[2]; + const u = a[o]; + const s = u[0]; + const c = u[1]; + const l = u[2]; ctx.fillStyle = s; ctx.beginPath(); @@ -445,14 +445,14 @@ const fingerprint = function() { ctx.fill(); } - let r = [ + const r = [ ["#f2f", 190, 40], ["#2ff", 230, 40], ["#ff2", 210, 80] ]; for (let n = 0; n < r.length; n++) { - let i = r[n]; + const i = r[n]; ctx.fillStyle = i[0]; ctx.beginPath(); ctx.arc(i[1], i[2], 40, 0, 2 * Math.PI, !0); @@ -467,7 +467,7 @@ const fingerprint = function() { return !ctx.isPointInPath(5, 5, "evenodd"); } - function canvas_text(ctx: any) { + function canvas_text(ctx: any): boolean { ctx.globalCompositeOperation = "multiply"; ctx.textBaseline = "top"; @@ -490,7 +490,7 @@ const fingerprint = function() { ctx.strokeText(asciiString, 10 * (Math.ceil(i / 13) * 2) - 10, 30 + ((i + 1) * 10 % 130)); } - let grd = ctx.createLinearGradient(0, 0, 200, 0.2); + const grd = ctx.createLinearGradient(0, 0, 200, 0.2); grd.addColorStop(0, "rgba(102, 204, 0, 0.1)"); grd.addColorStop(1, "#FF0000"); ctx.fillStyle = grd; @@ -505,10 +505,10 @@ const fingerprint = function() { canvas.width = 300; canvas.height = 150; - let geometry_winding = canvas_geometry(ctx); - let canvas_geometry_fp = murmurhash3_32_gc(canvas.toDataURL(), 420); - let combined_winding = canvas_text(ctx); - let canvas_combined_fp = murmurhash3_32_gc(canvas.toDataURL(), 420); + const geometry_winding = canvas_geometry(ctx); + const canvas_geometry_fp = murmurhash3_32_gc(canvas.toDataURL(), 420); + const combined_winding = canvas_text(ctx); + const canvas_combined_fp = murmurhash3_32_gc(canvas.toDataURL(), 420); canvas = document.createElement('canvas'); ctx = canvas.getContext('2d'); @@ -516,8 +516,8 @@ const fingerprint = function() { canvas.width = 300; canvas.height = 150; - let text_winding = canvas_text(ctx); - let canvas_text_fp = murmurhash3_32_gc(canvas.toDataURL(), 420); + const text_winding = canvas_text(ctx); + const canvas_text_fp = murmurhash3_32_gc(canvas.toDataURL(), 420); resolve([0, { "geometry": { @@ -535,7 +535,7 @@ const fingerprint = function() { }]); }); }, - performance: function() { + performance: function(): Promise { return new Promise(function(resolve) { if (!isChrome()) resolve([-1, null]); @@ -568,19 +568,19 @@ const fingerprint = function() { resolve([0, valueA]); }); }, - speechSynthesis: function() { + speechSynthesis: function(): Promise { return new Promise(function(resolve) { if (isBrave() || isFirefox() || isSafari()) resolve([-1, null]); let tripped = false; - let synth = window.speechSynthesis; + const synth = window.speechSynthesis; if (synth === undefined) resolve([-2, null]); function populateVoiceList() { - let voices = synth.getVoices(); + const voices = synth.getVoices(); let output = [] as any; for (let i = 0; i < voices.length; i++) { - let voice = voices[i]; + const voice = voices[i]; output.push([voice.name, voice.voiceURI, voice.default, voice.lang, voice.localService]); } if (output.length > 0 || tripped) { @@ -595,16 +595,16 @@ const fingerprint = function() { } }); }, - applePay: function() { + applePay: function(): Promise { return new Promise(function(resolve) { // let ap = (window as any).ApplePaySession; if (typeof (window as any).ApplePaySession !== "function") resolve([-1, null]); - let enabled = (window as any).ApplePaySession.canMakePayments(); + const enabled = (window as any).ApplePaySession.canMakePayments(); resolve([0, enabled]); }); }, - attributionsourceid: function() { - return new Promise(function(resolve) { + attributionsourceid: function(): Promise { + return new Promise(function(resolve): void { const a = (document.createElement("a") as any).attributionsourceid; if (a !== undefined) { resolve([0, String(a)]); @@ -613,7 +613,7 @@ const fingerprint = function() { } }); }, - webglInfo: function() { + webglInfo: function(): Promise { return new Promise(function(resolve) { const canvas = document.createElement('canvas'); @@ -638,14 +638,14 @@ const fingerprint = function() { output.attributes = []; - let glContextAttributes = context.getContextAttributes(); + const glContextAttributes = context.getContextAttributes(); for (let att in glContextAttributes) { if (glContextAttributes.hasOwnProperty(att)) { output.attributes.push(att + "=" + glContextAttributes[att]); } } - let parameterNames = ["ACTIVE_TEXTURE", "ALIASED_LINE_WIDTH_RANGE", "ALIASED_POINT_SIZE_RANGE", "ALPHA_BITS", "ARRAY_BUFFER_BINDING", "BLEND", "BLEND_COLOR", "BLEND_DST_ALPHA", "BLEND_DST_RGB", "BLEND_EQUATION", "BLEND_EQUATION_ALPHA", "BLEND_EQUATION_RGB", "BLEND_SRC_ALPHA", "BLEND_SRC_RGB", "BLUE_BITS", "COLOR_CLEAR_VALUE", "COLOR_WRITEMASK", "COMPRESSED_TEXTURE_FORMATS", "CULL_FACE", "CULL_FACE_MODE", "CURRENT_PROGRAM", "DEPTH_BITS", "DEPTH_CLEAR_VALUE", "DEPTH_FUNC", "DEPTH_RANGE", "DEPTH_TEST", "DEPTH_WRITEMASK", "DITHER", "ELEMENT_ARRAY_BUFFER_BINDING", "FRAMEBUFFER_BINDING", "FRONT_FACE", "GENERATE_MIPMAP_HINT", "GREEN_BITS", "IMPLEMENTATION_COLOR_READ_FORMAT", "IMPLEMENTATION_COLOR_READ_TYPE", "LINE_WIDTH", "MAX_COMBINED_TEXTURE_IMAGE_UNITS", "MAX_CUBE_MAP_TEXTURE_SIZE", "MAX_FRAGMENT_UNIFORM_VECTORS", "MAX_RENDERBUFFER_SIZE", "MAX_TEXTURE_IMAGE_UNITS", "MAX_TEXTURE_SIZE", "MAX_VARYING_VECTORS", "MAX_VERTEX_ATTRIBS", "MAX_VERTEX_TEXTURE_IMAGE_UNITS", "MAX_VERTEX_UNIFORM_VECTORS", "MAX_VIEWPORT_DIMS", "PACK_ALIGNMENT", "POLYGON_OFFSET_FACTOR", "POLYGON_OFFSET_FILL", "POLYGON_OFFSET_UNITS", "RED_BITS", "RENDERBUFFER_BINDING", "SAMPLE_BUFFERS", "SAMPLE_COVERAGE_INVERT", "SAMPLE_COVERAGE_VALUE", "SAMPLES", "SCISSOR_BOX", "SCISSOR_TEST", "STENCIL_BACK_FAIL", "STENCIL_BACK_FUNC", "STENCIL_BACK_PASS_DEPTH_FAIL", "STENCIL_BACK_PASS_DEPTH_PASS", "STENCIL_BACK_REF", "STENCIL_BACK_VALUE_MASK", "STENCIL_BACK_WRITEMASK", "STENCIL_BITS", "STENCIL_CLEAR_VALUE", "STENCIL_FAIL", "STENCIL_FUNC", "STENCIL_PASS_DEPTH_FAIL", "STENCIL_PASS_DEPTH_PASS", "STENCIL_REF", "STENCIL_TEST", "STENCIL_VALUE_MASK", "STENCIL_WRITEMASK", "SUBPIXEL_BITS", "TEXTURE_BINDING_2D", "TEXTURE_BINDING_CUBE_MAP", "UNPACK_ALIGNMENT", "UNPACK_COLORSPACE_CONVERSION_WEBGL", "UNPACK_FLIP_Y_WEBGL", "UNPACK_PREMULTIPLY_ALPHA_WEBGL", "VIEWPORT"]; + const parameterNames = ["ACTIVE_TEXTURE", "ALIASED_LINE_WIDTH_RANGE", "ALIASED_POINT_SIZE_RANGE", "ALPHA_BITS", "ARRAY_BUFFER_BINDING", "BLEND", "BLEND_COLOR", "BLEND_DST_ALPHA", "BLEND_DST_RGB", "BLEND_EQUATION", "BLEND_EQUATION_ALPHA", "BLEND_EQUATION_RGB", "BLEND_SRC_ALPHA", "BLEND_SRC_RGB", "BLUE_BITS", "COLOR_CLEAR_VALUE", "COLOR_WRITEMASK", "COMPRESSED_TEXTURE_FORMATS", "CULL_FACE", "CULL_FACE_MODE", "CURRENT_PROGRAM", "DEPTH_BITS", "DEPTH_CLEAR_VALUE", "DEPTH_FUNC", "DEPTH_RANGE", "DEPTH_TEST", "DEPTH_WRITEMASK", "DITHER", "ELEMENT_ARRAY_BUFFER_BINDING", "FRAMEBUFFER_BINDING", "FRONT_FACE", "GENERATE_MIPMAP_HINT", "GREEN_BITS", "IMPLEMENTATION_COLOR_READ_FORMAT", "IMPLEMENTATION_COLOR_READ_TYPE", "LINE_WIDTH", "MAX_COMBINED_TEXTURE_IMAGE_UNITS", "MAX_CUBE_MAP_TEXTURE_SIZE", "MAX_FRAGMENT_UNIFORM_VECTORS", "MAX_RENDERBUFFER_SIZE", "MAX_TEXTURE_IMAGE_UNITS", "MAX_TEXTURE_SIZE", "MAX_VARYING_VECTORS", "MAX_VERTEX_ATTRIBS", "MAX_VERTEX_TEXTURE_IMAGE_UNITS", "MAX_VERTEX_UNIFORM_VECTORS", "MAX_VIEWPORT_DIMS", "PACK_ALIGNMENT", "POLYGON_OFFSET_FACTOR", "POLYGON_OFFSET_FILL", "POLYGON_OFFSET_UNITS", "RED_BITS", "RENDERBUFFER_BINDING", "SAMPLE_BUFFERS", "SAMPLE_COVERAGE_INVERT", "SAMPLE_COVERAGE_VALUE", "SAMPLES", "SCISSOR_BOX", "SCISSOR_TEST", "STENCIL_BACK_FAIL", "STENCIL_BACK_FUNC", "STENCIL_BACK_PASS_DEPTH_FAIL", "STENCIL_BACK_PASS_DEPTH_PASS", "STENCIL_BACK_REF", "STENCIL_BACK_VALUE_MASK", "STENCIL_BACK_WRITEMASK", "STENCIL_BITS", "STENCIL_CLEAR_VALUE", "STENCIL_FAIL", "STENCIL_FUNC", "STENCIL_PASS_DEPTH_FAIL", "STENCIL_PASS_DEPTH_PASS", "STENCIL_REF", "STENCIL_TEST", "STENCIL_VALUE_MASK", "STENCIL_WRITEMASK", "SUBPIXEL_BITS", "TEXTURE_BINDING_2D", "TEXTURE_BINDING_CUBE_MAP", "UNPACK_ALIGNMENT", "UNPACK_COLORSPACE_CONVERSION_WEBGL", "UNPACK_FLIP_Y_WEBGL", "UNPACK_PREMULTIPLY_ALPHA_WEBGL", "VIEWPORT"]; output.parameters = []; for (let i = 0; i < parameterNames.length; i++) { @@ -653,23 +653,23 @@ const fingerprint = function() { } function getShaderPrecision(shaderType: string, precisionType: string) { - let shaderPrecision = context.getShaderPrecisionFormat(context[shaderType], context[precisionType]); + const shaderPrecision = context.getShaderPrecisionFormat(context[shaderType], context[precisionType]); return [shaderPrecision.rangeMin, shaderPrecision.rangeMax, shaderPrecision.precision]; } - let shaderTypes = ["FRAGMENT_SHADER", "VERTEX_SHADER"]; - let precisionTypes = ["LOW_FLOAT", "MEDIUM_FLOAT", "HIGH_FLOAT", "LOW_INT", "MEDIUM_INT", "HIGH_INT"]; + const shaderTypes = ["FRAGMENT_SHADER", "VERTEX_SHADER"]; + const precisionTypes = ["LOW_FLOAT", "MEDIUM_FLOAT", "HIGH_FLOAT", "LOW_INT", "MEDIUM_INT", "HIGH_INT"]; output.shaderPrecision = []; for (let i = 0; i < shaderTypes.length; i++) { - let shaderType = shaderTypes[i]; + const shaderType = shaderTypes[i]; for (let j = 0; j < precisionTypes.length; j++) { output.shaderPrecision.push(getShaderPrecision(shaderType, precisionTypes[j])); } } output.extensions = []; - let extensions = context.getSupportedExtensions(); + const extensions = context.getSupportedExtensions(); for (let i = 0; i < extensions.length; i++) { output.extensions.push(extensions[i]); } @@ -707,15 +707,15 @@ const fingerprint = function() { output.constants = []; for (let i = 0; i < vendorPrefixes.length; i++) { - let vendorPrefix = vendorPrefixes[i]; + const vendorPrefix = vendorPrefixes[i]; for (let extension in extensionList) { if (extensionList.hasOwnProperty(extension)) { - let extensionParameters = extensionList[extension]; - let supported = context.getExtension(vendorPrefix + extension); + const extensionParameters = extensionList[extension]; + const supported = context.getExtension(vendorPrefix + extension); if (supported) { for (let j = 0; j < extensionParameters.length; j++) { - let extensionParameter = extensionParameters[j]; - let extensionParameterValue = supported[extensionParameter]; + const extensionParameter = extensionParameters[j]; + const extensionParameterValue = supported[extensionParameter]; output.constants.push(vendorPrefix + extension + '_' + extensionParameter + "=" + extensionParameterValue); } } @@ -732,24 +732,24 @@ const fingerprint = function() { resolve([0, output]); }); }, - webglProgram: function() { - return new Promise(function(resolve) { + webglProgram: function(): Promise { + return new Promise(function(resolve): void { if (isBrave() || isFirefoxResistFingerprinting()) resolve([-3, null]); const canvas = document.createElement('canvas'); try { var context = canvas.getContext("webgl") as any || canvas.getContext("experimental-webgl") as any || resolve([-1, null]); - } catch (e) { + } catch (e: any) { resolve([-2, null]); } context.clearColor(0, 0, 1, 1); - let program = context.createProgram(); + const program = context.createProgram(); function helper(x: number, y: string) { - let shader = context.createShader(35633 - x); + const shader = context.createShader(35633 - x); context.shaderSource(shader, y); context.compileShader(shader); context.attachShader(program, shader); @@ -761,9 +761,9 @@ const fingerprint = function() { context.linkProgram(program); context.useProgram(program); context.enableVertexAttribArray(0); - let uniform = context.getUniformLocation(program, 't'); + const uniform = context.getUniformLocation(program, 't'); - let buffer = context.createBuffer(); + const buffer = context.createBuffer(); context.bindBuffer(34962, buffer); context.bufferData(34962, new Float32Array([0, 1, -1, -1, 1, -1]), 35044); context.vertexAttribPointer(0, 2, 5126, false, 0, 0); @@ -775,24 +775,24 @@ const fingerprint = function() { resolve([0, murmurhash3_32_gc(canvas.toDataURL(), 420)]); }); }, - fonts: function() { - return new Promise(function(resolve) { + fonts: function(): Promise { + return new Promise(async function(resolve): Promise { if (isBrave()) resolve([-1, null]); const fontMode = (isSafari() && !isFirefox()) || isMSIE(); const fontList = fontMode ? ["fakefont", "Apple Color Emoji", "sans-serif-thin", "ARNO PRO", "Agency FB", "Arabic Typesetting", "Arial Unicode MS", "AvantGarde Bk BT", "BankGothic Md BT", "Batang", "Bitstream Vera Sans Mono", "Calibri", "Century", "Century Gothic", "Clarendon", "EUROSTILE", "Franklin Gothic", "Futura Bk BT", "Futura Md BT", "GOTHAM", "Gill Sans", "HELV", "Haettenschweiler", "Helvetica Neue", "Humanst521 BT", "Leelawadee", "Letter Gothic", "Levenim MT", "Lucida Bright", "Lucida Sans", "Menlo", "MS Mincho", "MS Outlook", "MS Reference Specialty", "MS UI Gothic", "MT Extra", "MYRIAD PRO", "Marlett", "Meiryo UI", "Microsoft Uighur", "Minion Pro", "Monotype Corsiva", "PMingLiU", "Pristina", "SCRIPTINA", "Segoe UI Light", "Serifa", "SimHei", "Small Fonts", "Staccato222 BT", "TRAJAN PRO", "Univers CE 55 Medium", "Vrinda", "ZWAdobeF", "Bauhaus 93", "FORTE", "Book Antiqua", "Liberation Sans", "Liberation Serif", "Liberation Mono", "Liberation Sans Narrow", "Droid Naskh Shift", "Droid Naskh Shift Alt", "Droid Naskh System UI", "Droid Naskh UI", "Droid Robot Regular", "Droid Sans", "Droid Sans Fallback", "Droid Sans Hebrew", "Droid Sans Japanese", "Droid Sans Mono", "Droid Sans Thai", "Droid Serif", "DroidSansFallback", "Noto Naskh Arabic", "Ubuntu Mono derivative Powerline", "Ubuntu Mono derivative Powerline Bold", "Ubuntu Mono derivative Powerline Bold Italic", "Ubuntu Mono derivative Powerline Italic", "Adobe Caslon", "Adobe Caslon Pro", "Adobe Caslon Pro Bold", "Adobe Devanagari", "Adobe Fan Heiti Std B", "Adobe Fangsong Std", "Adobe Fangsong Std R", "Adobe Garamond", "Adobe Garamond Pro", "Adobe Garamond Pro Bold", "Adobe Gothic Std", "Adobe Gothic Std B", "Adobe Hebrew", "Adobe Heiti Std R", "Adobe Jenson", "Adobe Kaiti Std R", "Adobe Ming Std L", "Adobe Myungjo Std M", "Adobe Naskh Medium", "Adobe Song Std L", "Orator Std Slanted", "Poplar Std", "Prestige Elite Std Bd", "Rosewood Std Regular", "Giddyup Std", "Hobo Std", "Hobo Std Medium", "Birch Std", "Blackoak Std", "TeamViewer13", "TeamViewer14", "TeamViewer15", "TeamViewer16"] : ["fakefont", "TeamViewer10", "TeamViewer11", "TeamViewer12", "TeamViewer13", "TeamViewer7", "TeamViewer8", "TeamViewer9", ".Mondulkiri U GR 1.5", "AIGDT", "AMGDT", "Abel", "Aboriginal Sans", "Aboriginal Serif", "Abyssinica SIL", "AcadEref", "Acumin", "Adobe Arabic", "Adobe Caslon", "Adobe Caslon Pro", "Adobe Caslon Pro Bold", "Adobe Devanagari", "Adobe Fan Heiti Std B", "Adobe Fangsong Std", "Adobe Fangsong Std R", "Adobe Garamond", "Adobe Garamond Pro", "Adobe Garamond Pro Bold", "Adobe Gothic Std", "Adobe Gothic Std B", "Adobe Hebrew", "Adobe Heiti Std R", "Adobe Jenson", "Adobe Kaiti Std R", "Adobe Ming Std L", "Adobe Myungjo Std M", "Adobe Naskh Medium", "Adobe Song Std L", "Agency FB", "Aharoni", "Akaash", "Akshar Unicode", "AksharUnicode", "Al Bayan", "Alexandra Script", "Algerian", "Amadeus", "AmdtSymbols", "AnastasiaScript", "Andale Mono", "Andalus", "Angsana New", "AngsanaUPC", "AnjaliOldLipi", "Annabelle", "Aparajita", "Apple Casual", "Apple Chancery", "Apple Color Emoji", "Apple SD Gothic Neo", "AppleGothic", "AppleMyungjo", "Arabic Transparent", "Arabic Typesetting", "Arial", "Arial AMU", "Arial Baltic", "Arial CE", "Arial CYR", "Arial Cyr", "Arial Greek", "Arial Hebrew", "Arial MT", "Arial Rounded MT Bold", "Arial TUR", "Arial Unicode MS", "Ariston", "Arno Pro", "Arno Pro Caption", "Arno Pro Display", "Arno Pro Light Display", "Arno Pro SmText", "Arno Pro Smbd", "Arno Pro Smbd Caption", "Arno Pro Smbd Display", "Arno Pro Smbd SmText", "Arno Pro Smbd Subhead", "Arno Pro Subhead", "Asana Math", "Ayuthaya", "BJCree Uni", "BPG Classic 99U", "BPG Paata Khutsuri U", "Bangla MN", "Bangla Sangam MN", "BankGothic Lt BT", "BankGothic Md BT", "Baskerville Old Face", "Batang", "BatangChe", "Bauhaus 93", "Bell Gothic Std Black", "Bell Gothic Std Light", "Bell MT", "Berlin Sans FB", "Berlin Sans FB Demi", "Bernard MT Condensed", "Bickham Script One", "Bickham Script Pro Regular", "Bickham Script Pro Semibold", "Bickham Script Two", "Birch Std", "Bitstream Vera Sans Mono", "Blackadder ITC", "Blackoak Std", "Bernard Condensed", "Bodoni MT", "Bodoni MT Black", "Bodoni MT Poster Compressed", "Book Antiqua", "Bookman Old Style", "Bookshelf Symbol 7", "Bradley Hand ITC", "Britannic Bold", "Broadway", "Browallia New", "BrowalliaUPC", "Brush Script MT", "Brush Script Std", "CDT Khmer", "Calibri", "Calibri Light", "Californian FB", "Calisto MT", "Calligraph", "Cambria", "Cambria Math", "Candara", "Carolina", "Castellar", "Centaur", "Century", "Century Gothic", "Century Schoolbook", "Ceremonious Two", "Chaparral Pro", "Chaparral Pro Light", "Charcoal CY", "Charis SIL Compact", "Charlemagne Std", "Chiller", "CityBlueprint", "Clarendon BT", "Clarendon Blk BT", "Clarendon Lt BT", "Clear Sans", "Code2000", "Colonna MT", "Comic Sans", "Comic Sans MS", "CommercialPi BT", "CommercialScript BT", "Complex", "Consolas", "Constantia", "Cooper Black", "Cooper Std Black", "Copperplate Gothic Bold", "Copperplate Gothic Light", "Copyist", "Corbel", "Cordia New", "CordiaUPC", "CountryBlueprint", "Courier", "Courier New", "Courier New Baltic", "Courier New CE", "Courier New CYR", "Courier New Cyr", "Courier New Greek", "Courier New TUR", "Curlz MT", "DFKai-SB", "DaunPenh", "David", "DecoType Naskh", "Decor", "DejaVu Math TeX Gyre", "DejaVu Sans", "DejaVu Sans Condensed", "DejaVu Sans Light", "DejaVu Sans Mono", "DejaVu Serif", "DejaVu Serif Condensed", "Devanagari MT", "Devanagari Sangam MN", "DilleniaUPC", "DokChampa", "Dotum", "DotumChe", "Droid Naskh Shift", "Droid Naskh Shift Alt", "Droid Naskh System UI", "Droid Naskh UI", "Droid Robot Regular", "Droid Sans", "Droid Sans Fallback", "Droid Sans Hebrew", "Droid Sans Japanese", "Droid Sans Mono", "Droid Sans Thai", "Droid Serif", "DroidSansFallback", "Dutch801 Rm BT", "Dutch801 XBd BT", "Ebrima", "Eccentric Std", "Edwardian Script ITC", "Ekushey Punarbhaba", "Elephant", "Engravers MT", "Eras Bold ITC", "Eras Demi ITC", "Eras Light ITC", "Eras Medium ITC", "Estrangelo Edessa", "Ethiopia Jiret", "EucrosiaUPC", "Euphemia", "Euphemia UCAS", "EuroRoman", "Eurostile", "FTEasci1", "FTEasci1-f", "FTEasci2", "FTEasci2-f", "FTEbaudo", "FTEbaudo-f", "FTEebcd1", "FTEebcd1-f", "FTEebcd2", "FTEebcd2-f", "FTEspec", "FTEspec-f", "FangSong", "Felix Titling", "Fira Code", "Fira Mono", "Fira Sans", "Fixed Miriam Transparent", "Fixedsys", "Footlight MT Light", "Forte", "FrankRuehl", "Franklin Gothic Book", "Franklin Gothic Demi", "Franklin Gothic Demi Cond", "Franklin Gothic Heavy", "Franklin Gothic Medium", "Franklin Gothic Medium Cond", "Freehand521 BT", "FreesiaUPC", "Freestyle Script", "French Script MT", "Futura Md BT", "GDT", "GENISO", "GF Zemen Unicode", "Gabriola", "Gadugi", "Garamond", "Garamond Premr Pro", "Garamond Premr Pro Smbd", "Gautami", "Geeza Pro", "Geneva", "Gentium Basic", "Gentium Book Basic", "Georgia", "Giddyup Std", "Gigi", "Gill Sans MT", "Gill Sans MT Condensed", "Gill Sans MT Ext Condensed Bold", "Gill Sans Ultra Bold", "Gill Sans Ultra Bold Condensed", "Gisha", "Gloucester MT Extra Condensed", "GothicE", "GothicG", "GothicI", "Goudy Old Style", "Goudy Stout", "GreekC", "GreekS", "Gujarati MT", "Gujarati Sangam MN", "Gulim", "GulimChe", "Gungsuh", "GungsuhChe", "Gurmukhi MT", "Guttman Yad", "HYSerif", "Haettenschweiler", "Harlow Solid Italic", "Harrington", "Heather Script One", "Heiti SC", "Heiti TC", "Helvetica", "Helvetica Neue", "High Tower Text", "Hiragino Kaku Gothic Pro", "Hiragino Kaku Gothic ProN", "Hiragino Mincho Pro", "Hiragino Mincho ProN", "Hobo Std", "Hoefler Text", "ISOCP", "ISOCP2", "ISOCP3", "ISOCPEUR", "ISOCT", "ISOCT2", "ISOCT3", "ISOCTEUR", "Impact", "Imprint MT Shadow", "InaiMathi", "Informal Roman", "IrisUPC", "Iskoola Pota", "Italic", "ItalicC", "ItalicT", "JasmineUPC", "Jokerman", "Jomolhari", "Juice ITC", "KaiTi", "KaiTi_GB2312", "Kailasa", "Kaiti SC", "Kaiti TC", "Kalinga", "Kannada MN", "Kannada Sangam MN", "Kartika", "Kedage", "Kefa", "Kh-SrokKhleang", "Khmer MN", "Khmer OS", "Khmer OS Fasthand", "Khmer OS Freehand", "Khmer OS Metal Chrieng", "Khmer OS Muol", "Khmer OS System", "Khmer Sangam MN", "Khmer UI", "KodchiangUPC", "Kokila", "Kozuka Gothic Pr6N B", "Kozuka Gothic Pr6N EL", "Kozuka Gothic Pr6N H", "Kozuka Gothic Pr6N L", "Kozuka Gothic Pr6N M", "Kozuka Gothic Pr6N R", "Kozuka Gothic Pro B", "Kozuka Gothic Pro EL", "Kozuka Gothic Pro H", "Kozuka Gothic Pro L", "Kozuka Gothic Pro M", "Kozuka Gothic Pro R", "Kozuka Mincho Pr6N B", "Kozuka Mincho Pr6N EL", "Kozuka Mincho Pr6N H", "Kozuka Mincho Pr6N L", "Kozuka Mincho Pr6N M", "Kozuka Mincho Pr6N R", "Kozuka Mincho Pro B", "Kozuka Mincho Pro EL", "Kozuka Mincho Pro H", "Kozuka Mincho Pro L", "Kozuka Mincho Pro M", "Kozuka Mincho Pro R", "Kristen ITC", "Ktav", "KufiStandardGK", "Kunstler Script", "LUCIDA GRANDE", "Lao UI", "Latha", "Latin Modern Math", "Leelawadee", "Letter Gothic Std", "Levenim MT", "LiHei Pro", "LiSong Pro", "Liberation Sans", "Liberation Serfi", "Liberation Mono", "Liberation Sans Narrow", "Libertinus Math", "Likhan", "LilyUPC", "Lithos Pro Regular", "Lucida Bright", "Lucida Calligraphy", "Lucida Console", "Lucida Fax", "Lucida Grande", "Lucida Handwriting", "Lucida Sans", "Lucida Sans Typewriter", "Lucida Sans Unicode", "MS Gothic", "MS Mincho", "MS Outlook", "MS PGothic", "MS PMincho", "MS Reference Sans Serif", "MS Reference Specialty", "MS Sans Serif", "MS Serif", "fakefont2", "MS Song", "MS UI Gothic", "MT Extra", "MV Boli", "MYRIAD", "MYRIAD PRO", "Magneto", "Maiandra GD", "Malayalam MN", "Malayalam Sangam MN", "Malgun Gothic", "Mangal", "Marlett", "Matura MT Script Capitals", "Meiryo", "Meiryo UI", "Mesquite Std", "Microsoft Himalaya", "Microsoft JhengHei", "Microsoft JhengHei UI", "Microsoft New Tai Lue", "Microsoft PhagsPa", "Microsoft Sans Serif", "Microsoft Tai Le", "Microsoft Uighur", "Microsoft YaHei", "Microsoft YaHei UI", "Microsoft Yi Baiti", "Ming(for ISO10646)", "MingLiU", "MingLiU-ExtB", "MingLiU_HKSCS", "MingLiU_HKSCS-ExtB", "MingLiu_HKSCS", "Minion Pro", "Minion Pro Cond", "Minion Pro Med", "Minion Pro SmBd", "Miriam", "Miriam Fixed", "Mistral", "Mitra Mono", "Modern", "Modern No. 20", "Monaco", "Mongolian Baiti", "Monospac821 BT", "Monotxt", "Monotype Corsiva", "MoolBoran", "MotoyaLCedar", "MotoyaLMaru", "Mshtakan", "Mukti Narrow", "Myriad Arabic", "Myriad Hebrew", "Myriad Pro", "Myriad Pro Cond", "Myriad Pro Light", "Myriad Web Pro", "NSimSun", "NanumGothic", "Narkisim", "Niagara Engraved", "Niagara Solid", "Nirmala UI", "Noto Mono", "Noto Color Emoji", "Noto Emoji", "Noto Kufi Arabic ", "Noto Naskh Arabic", "Noto Sans", "Noto Sans CJK JP", "Noto Sans CJK KR", "Noto Sans CJK SC", "Noto Sans CJK TC", "Noto Sans JP", "Noto Sans KR", "Noto Sans Mono CJK JP", "Noto Sans Lao ", "Noto Sans Mono CJK KR", "Noto Sans Mono CJK SC", "Noto Sans Mono CJK TC", "Noto Sans SC", "Noto Sans TC", "Noto Serif", "Noto Serif CJK JP", "Noto Serif CJK KR", "Noto Serif CJK SC", "Noto Serif CJK TC", "Noto Serif Ahom", "Nueva Std", "Nueva Std Cond", "Nyala", "OCR A Extended", "OCR A Std", "OCR-A BT", "OCR-B 10 BT", "Old English Text MT", "Onyx", "OpenSymbol", "Orator Std", "Orator Std Slanted", "Oriya MN", "Oriya Sangam MN", "Osaka-Mono", "OskiDakelh", "Ouverture script", "PMingLiU", "PMingLiU-ExtB", "PMingLiu", "Palace Script MT", "Palatino", "Palatino Linotype", "PanRoman", "Papyrus", "Parchment", "Perpetua", "Perpetua Titling MT", "PhnomPenh OT", "Pigiarniq", "PingFang SC", "PingFang TC", "Plantagenet Cherokee", "Playbill", "Poor Richard", "Poplar Std", "Pothana", "Power Clear", "Power Green", "Power Green Narrow", "Power Green Small", "Power Red and Blue", "Power Red and Blue Intl", "Power Red and Green", "Prestige Elite Std", "Prestige Elite Std Bd", "Pristina", "Proxy 1", "Proxy 2", "Proxy 3", "Proxy 4", "Proxy 5", "Proxy 6", "Proxy 7", "Proxy 8", "Proxy 9", "Raavi", "Rachana_w01", "Rage Italic", "Raghindi", "Ravie", "Roboto", "Roboto Slab", "Roboto Mono", "Rockwell", "Rockwell Condensed", "Rockwell Extra Bold", "Rod", "Roman", "RomanC", "RomanD", "RomanS", "RomanT", "Romantic", "Rosewood Std Regular", "STHeiti", "STIX Math", "STIX Two Math", "STIXGeneral", "STSong", "Saab", "Sakkal Majalla", "San Francisco", "SansSerif", "Script", "Script MT Bold", "ScriptC", "ScriptS", "Segoe Print", "Segoe Script", "Segoe UI", "Segoe UI Emoji", "Segoe UI Light", "Segoe UI Semibold", "Segoe UI Semilight", "Segoe UI Symbol", "Shonar Bangla", "Showcard Gothic", "Shruti", "SimHei", "SimSun", "SimSun-ExtB", "Simplex", "Simplified Arabic", "Simplified Arabic Fixed", "Sinhala MN", "Sinhala Sangam MN", "Skype UI Symbol", "Small Fonts", "SmartGothic", "Snap ITC", "Songti SC", "Songti TC", "Square721 BT", "Stencil", "Stencil Std", "Stylus BT", "Sun-ExtA", "SuperFrench", "Swis721 BT", "Swis721 BdCnOul BT", "Swis721 BdOul BT", "Swis721 Blk BT", "Swis721 BlkCn BT", "Swis721 BlkEx BT", "Swis721 BlkOul BT", "Swis721 Cn BT", "Swis721 Ex BT", "Swis721 Hv BT", "Swis721 Lt BT", "Swis721 LtCn BT", "Swis721 LtEx BT", "Syastro", "Sylfaen", "Symap", "Symath", "Symbol", "Symeteo", "Symusic", "System", "TITUS Cyberbit Basic", "Tahoma", "TeX Gyre Bonum Math", "TeX Gyre Pagella Math", "TeX Gyre Schola", "TeX Gyre Termes Math", "Technic", "TechnicBold", "TechnicLite", "Tekton Pro", "Tekton Pro Cond", "Tekton Pro Ext", "Telugu MN", "Telugu Sangam MN", "Tempus Sans ITC", "Terminal", "Thonburi", "ThoolikaUnicode", "Tibetan Machine Uni", "Times", "Times New Roman", "Times New Roman Baltic", "Times New Roman CE", "Times New Roman CYR", "Times New Roman Cyr", "Times New Roman Greek", "Times New Roman PS", "Times New Roman TUR", "Traditional Arabic", "Trajan Pro", "Trebuchet MS", "Tunga", "Tw Cen MT", "Tw Cen MT Condensed", "Tw Cen MT Condensed Extra Bold", "Twemoji Mozilla", "Txt", "Ubuntu", "Ubuntu Light", "Ubuntu Bold", "Ubuntu Mono", "UniversalMath1 BT", "Uqammaq", "Utsaah", "VL Gothic", "VL PGothic", "Vani", "Verdana", "Vijaya", "Viner Hand ITC", "Vineta BT", "Visual Geez Unicode", "Visual Geez Unicode Agazian", "Visual Geez Unicode Title", "Vivaldi", "Vladimir Script", "Vrinda", "WP Arabic Sihafa", "WP ArabicScript Sihafa", "WP CyrillicA", "WP CyrillicB", "WP Greek Century", "WP Greek Courier", "WP Greek Helve", "WP Hebrew David", "WP MultinationalA Courier", "WP MultinationalA Helve", "WP MultinationalA Roman", "WP MultinationalB Courier", "WP MultinationalB Helve", "WP MultinationalB Roman", "WST_Czec", "WST_Engl", "WST_Fren", "WST_Germ", "WST_Ital", "WST_Span", "WST_Swed", "Webdings", "Wide Latin", "Wingdings", "Wingdings 2", "Wingdings 3", "XITS Math", "Yu Gothic", "Yu Mincho", "ZWAdobeF", "Zuzumbo", "cursive", "fantasy", "monospace", "ori1Uni", "sans-serif", "serif"]; - let list = [] as any; + const list = [] as any; const baseFonts = ['monospace', 'sans-serif', 'serif'] as any; - let body = document.getElementsByTagName("body")[0] as any; + const body = document.getElementsByTagName("body")[0] as any; - let span = document.createElement("span") as any; + const span = document.createElement("span") as any; span.style.fontSize = "72px"; span.innerHTML = "AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz!@#$%^&*()_+-="; - let defaultWidth = {} as any; - let defaultHeight = {} as any; - for (let index in baseFonts) { + const defaultWidth = {} as any; + const defaultHeight = {} as any; + for (const index in baseFonts) { span.style.fontFamily = baseFonts[index]; body.appendChild(span); defaultWidth[baseFonts[index]] = span.offsetWidth; @@ -800,10 +800,10 @@ const fingerprint = function() { body.removeChild(span); } - function font_test(font: string) { - return new Promise(function(resolve, reject) { + function font_test(font: string): Promise { + return new Promise(function(resolve): void { let detected = false; - for (let index in baseFonts) { + for (const index in baseFonts) { span.style.fontFamily = font + ',' + baseFonts[index]; body.appendChild(span); detected = (span.offsetWidth != defaultWidth[baseFonts[index]] || span.offsetHeight != defaultHeight[baseFonts[index]]); @@ -817,30 +817,29 @@ const fingerprint = function() { }); } - let dfonts = [] as any; + const dfonts = [] as any; for (let fi = 0; fi < fontList.length; fi++) { font_test(fontList[fi]).then(function(promise: any) { dfonts.push(promise); }); } - return Promise.all(dfonts).then(new Promise(function() { - resolve([0, list.sort()]); - })); + await Promise.all(dfonts); + resolve([0, list.sort()]); }); }, - plugins: function() { - return new Promise(function(resolve) { + plugins: function(): Promise { + return new Promise(function(resolve): void { if (isChrome()) resolve([-1, null]); - let plugins = (navigator as any).plugins; - let output = [] as any; + const plugins = (navigator as any).plugins; + const output = [] as any; if (plugins) { for (let i = 0; i < (plugins as any).length; i++) { - let plugin = plugins[i]; + const plugin = plugins[i]; if (plugin) { - let mimes = [] as any; + const mimes = [] as any; for (let l = 0; l < plugin.length; l++) { - let mime = plugin[l]; + const mime = plugin[l]; mimes.push({ type: mime.type, suffixes: mime.suffixes @@ -857,17 +856,17 @@ const fingerprint = function() { resolve([0, output]); }); }, - pluginLengthIsZero: () => { - return new Promise((resolve) => { - let plugins = (navigator as any).plugins; + pluginLengthIsZero: (): Promise => { + return new Promise((resolve): void => { + const plugins = (navigator as any).plugins; if (plugins === undefined) resolve([-1, null]); resolve([0, plugins.length === 0]); }); }, - sharedArrayBuffer: () => { - return new Promise((resolve) => { + sharedArrayBuffer: (): Promise => { + return new Promise((resolve): void => { if (typeof window.SharedArrayBuffer === "function") { - let sab = new window.SharedArrayBuffer(1); + const sab = new window.SharedArrayBuffer(1); if (sab.byteLength !== undefined) { resolve([0, sab.byteLength]); } @@ -876,9 +875,9 @@ const fingerprint = function() { resolve([-1, null]); }); }, - webdriver: () => { - return new Promise((resolve) => { - let webd = navigator.webdriver; + webdriver: (): Promise => { + return new Promise((resolve): void => { + const webd = navigator.webdriver; if (webd === undefined) { resolve([-1, null]); } else { @@ -886,21 +885,21 @@ const fingerprint = function() { } }); }, - getAttributeNames: () => { - return new Promise((resolve) => { - let de = document.documentElement; + getAttributeNames: (): Promise => { + return new Promise((resolve): void => { + const de = document.documentElement; if (de === undefined) resolve([-1, null]); if (typeof de.getAttributeNames !== "function") resolve([-2, null]); resolve([0, de.getAttributeNames().length > 0]); }); }, - errorToSource: () => { - return new Promise((resolve) => { + errorToSource: (): Promise => { + return new Promise((resolve): void => { try { throw "lol"; } catch (e: any) { try { - let tmp = e.toSource(); + const tmp = e.toSource(); resolve([0, true]); } catch (ee) { resolve([0, false]); @@ -910,7 +909,7 @@ const fingerprint = function() { }); }, errors: () => { - return new Promise((resolve) => { + return new Promise((resolve): void => { const errorTests = [ () => new Function('alert(")'), () => new Function('const foo;foo.bar'), @@ -921,10 +920,10 @@ const fingerprint = function() { new Function('try{[...undefined].length;return -1}catch(e){return e.message}'), new Function('try{var x=new Array(-1);return -1}catch(e){return e.message}'), ]; - let err = new Array(); + const err = new Array(); for (let i = 0; i < errorTests.length; i++) { try { - let tmp = errorTests[i](); + const tmp = errorTests[i](); err.push(tmp); } catch(e: any) { err.push(e.message); @@ -933,29 +932,29 @@ const fingerprint = function() { resolve([0, err]); }); }, - installTrigger: () => { + installTrigger: (): Promise => { return Promise.resolve([0, (window as any).InstallTrigger !== undefined]); }, - rtt: () => { - return new Promise((resolve) => { - let con = (navigator as any).connection; + rtt: (): Promise => { + return new Promise((resolve): void => { + const con = (navigator as any).connection; if (con === undefined) resolve([-1, null]); - let rtt = (navigator as any).connection.rtt; + const rtt = (navigator as any).connection.rtt; if (rtt === undefined) resolve([-2, null]); resolve([0, rtt === 0]); }); }, - math: () => { - return new Promise((resolve) => { - let m = Math; + math: (): Promise => { + return new Promise((resolve): void => { + const m = Math; - let returnZero = function() { + const returnZero = function(): number { return 0; }; - let e = 1e154; + const e = 1e154; - let fp = [ + const fp = [ (m.acos || returnZero)(.12312423423423424), (m.acosh || returnZero)(1e308), (m.log(e + m.sqrt(e * e - 1))), @@ -985,8 +984,8 @@ const fingerprint = function() { resolve([0, murmurhash3_32_gc(JSON.stringify(fp), 420)]); }); }, - notifications: () => { - return new Promise((resolve) => { + notifications: (): Promise => { + return new Promise((resolve): void => { if (window.Notification === undefined) { resolve([-1, null]); } @@ -1007,18 +1006,18 @@ const fingerprint = function() { }, } as any; - let index = [] as any; - let promises = [] as any; - for (let method in fingerprints) { + const index = [] as any; + const promises = [] as any; + for (const method in fingerprints) { index.push(method); // console.log(method); - let exe = fingerprints[method](); + const exe = fingerprints[method](); // console.log(exe); promises.push(exe); } Promise.all(promises).then((k) => { - let profile = {} as any; + const profile = {} as any; for (let i = 0; i < index.length; i++) { profile[index[i]] = k[i]; } @@ -1039,12 +1038,12 @@ const fingerprint = function() { uniqueFp: uniqueFp, persistentFp: persistentFp, }, - profile: profile + profile: profile, }; // console.log(output); resolve(output); }).catch((err) => { - console.log(err); + // console.log(err); reject(err); }); });