Skip to content

Instantly share code, notes, and snippets.

View SanteriHetekivi's full-sized avatar

Santeri Hetekivi SanteriHetekivi

View GitHub Profile
@SanteriHetekivi
SanteriHetekivi / youtubeAutomaticMinQuality.user.js
Created March 8, 2024 19:09
Set Youtube player automatically to min quality.
// ==UserScript==
// @name Youtube Automatic Min Quality
// @namespace http://tampermonkey.net/
// @version 2024-03-08
// @description Set Youtube player automatically to min quality.
// @author Santeri Hetekivi
// @match *://*.youtube.com/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=youtube.com
// @grant none
// @license Apache-2.0
@SanteriHetekivi
SanteriHetekivi / youtubeAutomaticMaxQuality.user.js
Last active March 2, 2024 08:29
Set Youtube player automatically to max quality.
// ==UserScript==
// @name Youtube Automatic Max Quality
// @namespace http://tampermonkey.net/
// @version 2024-03-02
// @description Set Youtube player automatically to max quality.
// @author Santeri Hetekivi
// @match *://*.youtube.com/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=youtube.com
// @grant none
// @license Apache-2.0
@SanteriHetekivi
SanteriHetekivi / youtubePauseAtTheEnd.user.js
Last active March 2, 2024 08:30
Pause Youtube video at the end.
// ==UserScript==
// @name Youtube Pause at the End
// @namespace http://tampermonkey.net/
// @version 2024-03-02
// @description Pause Youtube video at the end.
// @author Santeri Hetekivi
// @match *://*.youtube.com/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=youtube.com
// @grant none
// @license Apache-2.0
@SanteriHetekivi
SanteriHetekivi / youtubeAutomaticTheater.user.js
Last active March 2, 2024 08:30
Turn Youtube player to theater mode automatically.
// ==UserScript==
// @name Youtube Automatic Theater
// @namespace http://tampermonkey.net/
// @version 2024-03-02
// @description Turn Youtube player to theater mode automatically.
// @author Santeri Hetekivi
// @match *://*.youtube.com/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=youtube.com
// @grant none
// @license Apache-2.0
@SanteriHetekivi
SanteriHetekivi / youtubePauseOnStart.user.js
Last active March 2, 2024 08:30
Pause Youtube video on start.
// ==UserScript==
// @name Youtube Pause On Start
// @namespace http://tampermonkey.net/
// @version 2024-03-02
// @description Pause Youtube video on start.
// @author Santeri Hetekivi
// @match *://*.youtube.com/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=youtube.com
// @grant none
// @license Apache-2.0
@SanteriHetekivi
SanteriHetekivi / youtubeShortsAutoNext.user.js
Last active March 8, 2024 07:55
Automatically plays the next YouTube short.
// ==UserScript==
// @name YouTube Shorts Auto Next
// @description Automatically plays the next YouTube short.
// @version 2024-03-02
// @author Santeri Hetekivi
// @match https://www.youtube.com/shorts/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=youtube.com
// @grant none
// @license Apache-2.0
// ==/UserScript==
@SanteriHetekivi
SanteriHetekivi / licensedInEnglish.user.js
Last active November 26, 2023 12:53
licensedInEnglish.user.js
// ==UserScript==
// @name Licensed (in English)
// @namespace http://tampermonkey.net/
// @version 0.5
// @description Show if manga is licensed in English.
// @author Santeri Hetekivi
// @match https://mangadex.org/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=mangadex.org
// @grant GM.xmlHttpRequest
// @grant window.onurlchange
@SanteriHetekivi
SanteriHetekivi / reddit_full_width.user.js
Created January 13, 2023 14:47
Transforming new Reddit post list to full width.
// ==UserScript==
// @name New Reddit post list to full width
// @namespace http://tampermonkey.net/
// @version 0.1
// @description Transforming new Reddit post list to full width.
// @author Santeri Hetekivi
// @match https://www.reddit.com/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=reddit.com
// @grant none
// ==/UserScript==
{
"PresetList": [
{
"AlignAVStart": false,
"AudioCopyMask": [
"copy:aac",
"copy:ac3",
"copy:dtshd",
"copy:dts",
"copy:mp3",
@SanteriHetekivi
SanteriHetekivi / DiskHandeler.ps1
Last active June 5, 2022 11:21
Run commands on disk in disk drive.
# Define parametes.
param (
# Disk drive letter.
[Parameter(Mandatory = $true)]
[string]$DISK_DRIVE_LETTER,
# Disk drive speed.
[Parameter(Mandatory = $true)]
[int]$DISK_DRIVE_SPEED,
# Commands to run.
[Parameter(Mandatory = $true)]