Skip to content

Instantly share code, notes, and snippets.

View tiagorangel1's full-sized avatar
:octocat:
tiagorangel.com

Tiago Rangel tiagorangel1

:octocat:
tiagorangel.com
View GitHub Profile
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='
@tiagorangel1
tiagorangel1 / omnibar.css
Last active November 10, 2024 19:32
Simple JS+CSS omnibar.
/* 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;
*/
@RubenKelevra
RubenKelevra / fast_firefox.md
Last active November 11, 2024 20:23
Make Firefox fast again
@keesiemeijer
keesiemeijer / youtube-remove-ads.js
Last active October 19, 2022 20:57
Youtube skip ads and remove overlay ads after 3 seconds
// ==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==
@Kaundur
Kaundur / canvasDownload.js
Created June 8, 2017 07:25
JS to automatically download canvas as a png
// 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');