This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Build arguments for the gn build | |
# You can set these with `gn args out/Default` | |
# ( and they're stored in src/out/Default/args.gn ) | |
# See "gn args out/Default --list" for available build arguments | |
# component build, because people love it | |
is_component_build = true | |
# release build, because its faster | |
is_debug = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
### BEGIN INIT INFO | |
# Provides: <NAME> | |
# Required-Start: $local_fs $network $named $time $syslog | |
# Required-Stop: $local_fs $network $named $time $syslog | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Description: <DESCRIPTION> | |
### END INIT INFO |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function fakeGetUserMedia(options) { | |
var canvas = document.createElement('canvas'); | |
canvas.width = 640; | |
canvas.height = 480; | |
var result = new Promise((resolve, reject) => { | |
setTimeout(() => { | |
var ctx = canvas.getContext('2d'); | |
ctx.font = '100px sans-serif'; | |
ctx.fillText('💩', 200, 200); | |
resolve(canvas.captureStream(30)); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Spoof screen resolution & color depth | |
// @namespace https://skyzohlabs.be | |
// @version 1.0.5 | |
// @description Spoof the reported window.screen as the most common one so that it can't be used to fingerprint browser. | |
// @author SkyzohKey | |
// @include http://* | |
// @include https://* | |
// @run-at document-end | |
// @grant none |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var GpsMock = { | |
mockSetIntervalId : null, | |
mock : function( x, y ) { | |
var setIntervalId; | |
if( navigator.geolocation ) { | |
var self = this; | |
if( !x ) { | |
//start x y not set, try to get 'REAL' current location and use it | |
navigator.geolocation.getCurrentPosition( | |
function success(position) { self.mock(position.coords.longitude, position.coords.latitude) }, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/****************************************************************************** | |
* Privacy * | |
******************************************************************************/ | |
// Disable Location-Aware Browsing (geolocation) | |
user_pref("geo.enabled", false); | |
// Enable hardening against various fingerprinting vectors (Tor Uplift project) |