https://addons.mozilla.org/en-US/firefox/addon/ublock-origin/
Make sure the following options are off:
Disable pre-fetching
script-src | |
'self' | |
'wasm-unsafe-eval' | |
https://cdn.jsdelivr.net | |
https://apis.google.com | |
https://cdnjs.cloudflare.com | |
https://*.woopra.com | |
https://www.googletagmanager.com | |
'sha256-aROmP5KBVON8dHdF7kTobxNwhI67hJuBpk+jNh/jbM4=' | |
'sha256-lIXJkTrfgeKmujhwsIkqzNbMkplZdPFm1ERXsf46uOw=' |
/* tiagorangel.com * If you use this, please credit me somewhere | |
* Make sure to set the following variables: | |
--foreground: r, g, b | |
--background: r, g, b | |
Example: | |
--foreground: 13, 13, 14; | |
--background: 255, 255, 255; | |
*/ |
https://addons.mozilla.org/en-US/firefox/addon/ublock-origin/
Make sure the following options are off:
Disable pre-fetching
// ==UserScript== | |
// @name Youtube SkipAd | |
// @namespace keesiemeijer | |
// @version 0.1 | |
// @description Automatically skips ads after 5 seconds | |
// @author keesiemeijer | |
// @match https://www.youtube.com/* | |
// @grant none | |
// ==/UserScript== |
// This code will automatically save the current canvas as a .png file. | |
// Its useful as it can be placed in a loop to grab multiple canvas frames, I use it to create thumbnail gifs for my blog | |
// Only seems to work with Chrome | |
// Get the canvas | |
var canvas = document.getElementById("canvas"); | |
// Convert the canvas to data | |
var image = canvas.toDataURL(); | |
// Create a link | |
var aDownloadLink = document.createElement('a'); |