Skip to content

Instantly share code, notes, and snippets.

View JustArion's full-sized avatar
🔵
Yes!

arion JustArion

🔵
Yes!
View GitHub Profile
using System.Diagnostics;
using System.Runtime.Versioning;
using static Vanara.PInvoke.Kernel32;
[SupportedOSPlatform("windows")]
internal class SnapshotRelationsImpl
{
public int GetParentProcessId(int processId)
{
if (processId == 0)
@JustArion
JustArion / Netflix_Keybind_NextEpisode
Created June 24, 2024 11:47
Tampermonkey Script for Netflix to keybind "S" to click the "Next Episode" button when popped up
/* <button class="color-primary hasLabel hasIcon ltr-18ezbm2" data-uia="next-episode-seamless-button" type="button"><div class="ltr-1st24vv"><div class="medium ltr-iyulz3" role="presentation"><svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" class="ltr-4z3qvp e1svuwfo1" data-name="Play" aria-labelledby=":r8h:" aria-hidden="true"><path d="M5 2.69127C5 1.93067 5.81547 1.44851 6.48192 1.81506L23.4069 11.1238C24.0977 11.5037 24.0977 12.4963 23.4069 12.8762L6.48192 22.1849C5.81546 22.5515 5 22.0693 5 21.3087V2.69127Z" fill="currentColor"></path></svg></div></div><div class="ltr-1npqywr" style="width: 1rem;"></div><span class="ltr-1vh9doa">Next episode</span></button> */
// ==UserScript==
// @name Next Episode Keybind
// @namespace arion
// @version 2024-03-01
// @description Adds a keybind to press the "Next Episode" button on Netflix
// @author arion
// @match https://www.netflix.com/*
@JustArion
JustArion / Players.js
Created June 28, 2023 12:34
MetaCritic Power to the Players
// ==UserScript==
// @name Power to the Players!
// @namespace https://github.com/JustArion
// @version 1.0
// @description Switches the metascore with the userscore
// @author arion
// @match https://www.metacritic.com/game/*/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=metacritic.com
// @grant none
// ==/UserScript==
@JustArion
JustArion / user.js
Last active September 11, 2022 19:27
Animension VidCDN Choice Skip
// ==UserScript==
// @name Animension Source Skipper
// @namespace http://github.com/Arion-Kun/
// @version 1.0
// @description Skips choosing the source for Animension episodes and chooses VidCDN
// @author arion
// @match *://animension.to/*
// ==/UserScript==
'use strict';
(function() {