Skip to content

Instantly share code, notes, and snippets.

View leobenkel's full-sized avatar
🤖

Leo Benkel leobenkel

🤖
View GitHub Profile
@leobenkel
leobenkel / tampermonkey_youtube_redirect.js
Created April 12, 2020 07:35
Redirect to embed video when you open a youtube video link
// ==UserScript==
// @name Redirect to embed for youtube
// @namespace com.leobenkel
// @version 0.1
// @description Redirect to embed video when you open a youtube video link
// @author Leo Benkel
// @match https://www.youtube.com/watch?v=*
// @grant none
// ==/UserScript==

Keybase proof

I hereby claim:

  • I am leobenkel on github.
  • I am wonay (https://keybase.io/wonay) on keybase.
  • I have a public key ASCL2-8uF-J1EqV8Gwwq86L1tkzgDxQ8Hwz633PO9X_4JQo

To claim this, I am signing this object:

{
"log": {
"version": "1.2",
"creator": {
"name": "WebInspector",
"version": "537.36"
},
"pages": [
{
"startedDateTime": "2015-07-18T00:56:55.200Z",