scratch – Diff between revs 58 and 61
?pathlinks?
Rev 58 | Rev 61 | |||
---|---|---|---|---|
Line 112... | Line 112... | |||
112 | |
112 | |
|
113 | // Enable the Clipboard button. |
113 | // Enable the Clipboard button. |
|
Line 114... | Line 114... | |||
114 | new Clipboard('#copy-url'); |
114 | new Clipboard('#copy-url'); |
|
- | 115 | |
||
- | 116 | // Get the fingerprint. |
||
- | 117 | new Fingerprint2({ |
||
- | 118 | //excludeUserAgent: true, |
||
- | 119 | //excludeLanguage: true, |
||
- | 120 | excludeColorDepth: true, |
||
- | 121 | excludeScreenResolution: true, |
||
- | 122 | excludeAvailableScreenResolution: true, |
||
- | 123 | //excludeTimezoneOffset: true, |
||
- | 124 | excludeSessionStorage: true, |
||
- | 125 | excludeIndexedDB: true, |
||
- | 126 | excludeAddBehavior: true, |
||
- | 127 | excludeOpenDatabase: true, |
||
- | 128 | //excludeCpuClass: true, |
||
- | 129 | //excludePlatform: true, |
||
- | 130 | excludeDoNotTrack: true, |
||
- | 131 | excludeCanvas: true, |
||
- | 132 | excludeWebGL: true, |
||
- | 133 | excludeAdBlock: true, |
||
- | 134 | //excludeHasLiedLanguages: true, |
||
- | 135 | //excludeHasLiedResolution: true, |
||
- | 136 | //excludeHasLiedOs: true, |
||
- | 137 | //excludeHasLiedBrowser: true, |
||
- | 138 | excludeJsFonts: true, |
||
- | 139 | excludeFlashFonts: true, |
||
- | 140 | excludePlugins: true, |
||
- | 141 | excludeIEPlugins: true, |
||
115 | |
142 | //excludeTouchSupport: true, |
|
116 | // Get the fingerprint. |
143 | excludePixelRatio: true |
|
117 | new Fingerprint2().get((result, components) => { |
144 | }).get((result, components) => { |
|
118 | // Set the nick as a cookie. |
145 | // Set the nick as a cookie. |
|
119 | const fingerprint = result; |
146 | const fingerprint = result; |
|
120 | var nick = Cookies.get('nick'); |
147 | var nick = Cookies.get('nick'); |