abrahamjuliot / creepjs Goto Github PK
View Code? Open in Web Editor NEWCreepy device and browser fingerprinting
License: MIT License
Creepy device and browser fingerprinting
License: MIT License
https://developer.mozilla.org/en-US/docs/Web/API/SVGGraphicsElement/getBBox
<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg">
<g id="svgRect">
<text x="8" y="32" transform="translate(0 20) scale(1.9999)">
citrus coastline oxygen cultivate tilt hush ensure unrelated astute passivism tried underwear
</text>
</g>
</svg>
const groupElement = document.getElementById('svgRect')
console.log(groupElement.getBBox())
https://developer.mozilla.org/en-US/docs/Web/API/SVGGeometryElement/getTotalLength
<svg width="200" height="200">
<path id="path" d="M 10 80 C 50 10, 75 10, 95 80 S 150 110, 150 110 S 80 190, 40 140 Z"/>
</svg>
const path = document.getElementById('path')
console.log(path.getTotalLength())
https://developer.mozilla.org/en-US/docs/Web/HTTP/Browser_detection_using_the_user_agent
https://developers.whatismybrowser.com/useragents/explore/software_name/chrome
https://stackoverflow.com/questions/19877924/what-is-the-list-of-possible-values-for-navigator-platform-as-of-today
https://es6console.com/kd8cshue/
const getOS = () => {
const userAgent = 'Mozilla/5.0 (X11; CrOS armv7l 13099.48.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.64 Safari/537.36'
const os = (
// order is important
/windows phone/ig.test(userAgent) ? 'Windows Phone' :
/win(dows|16|32|64|95|98|nt)|wow64/ig.test(userAgent) ? 'Windows' :
/android/ig.test(userAgent) ? 'Android' :
/cros/ig.test(userAgent) ? 'Chrome OS' :
/linux/ig.test(userAgent) ? 'Linux' :
/ipad/ig.test(userAgent) ? 'iPad' :
/iphone/ig.test(userAgent) ? 'iPhone' :
/ipod/ig.test(userAgent) ? 'iPod' :
/ios/ig.test(userAgent) ? 'iOS' :
/mac/ig.test(userAgent) ? 'Mac' :
'Other'
)
return os
}
console.log(getOS())
API lie detection should render other values as [untrusted] to prevent randomization.
Does not apply to:
Maths
Errors
First Visit: 7/27/2020, 8:37:55 AM (10 hours ago)
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math
tests: https://es6console.com/kcvb8uvr/
Diff Tester:
https://jsfiddle.net/w3cqtsj1/ (consumes memory)
Polyfills:
https://jsfiddle.net/gz48qutr/14/
https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext
const canvas = document.createElement('canvas')
const webgl2 = canvas.getContext('webgl2')
if (webgl2) {
const debugRendererExtension = webgl2.getExtension('WEBGL_debug_renderer_info')
const vendor = webgl2.getParameter(debugRendererExtension.UNMASKED_VENDOR_WEBGL)
const renderer = webgl2.getParameter(debugRendererExtension.UNMASKED_RENDERER_WEBGL)
}
If one matches another, send both to trash.
Should include custom functions
Tracking:
v2 https://github.com/brave/brave-browser/issues/8787
v3 https://github.com/brave/brave-browser/issues/11770
Testing at https://dev-pages.bravesoftware.com
https://developer.mozilla.org/en-US/docs/Web/API/Window/getComputedStyle
color: blue !important
color: blue !important
const getDateURI = async img => {
const canvas = document.createElement('canvas')
const context = canvas.getContext('2d')
const image = new Image()
image.crossOrigin = ''
image.src = img
return new Promise(resolve => {
image.onload = () => {
context.drawImage(image, 0, 0)
resolve(canvas.toDataURL())
}
})
}
const img = '[high quality img]'
const data = await getDateURI(img)
SpreadsheetApp.flush()
https://developers.google.com/apps-script/reference/lock/lock
concept
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.