Skip to content

Instantly share code, notes, and snippets.

View nileane's full-sized avatar

Niléane nileane

View GitHub Profile
@nileane
nileane / Instagram-force-video-controls.user.js
Last active September 2, 2025 17:26
Force HTML video controls on Instagram Reels
// ==UserScript==
// @name Instagram Force Video Controls (No Overlay)
// @namespace https://github.com/nileane
// @version 1.0
// @description Force-enable HTML controls on all Instagram videos and remove overlay UI
// @author Niléane
// @match https://www.instagram.com/*
// @run-at document-idle
// @grant none
// ==/UserScript==
@nileane
nileane / YouTube-without-Shorts.user.css
Created August 19, 2025 12:44
Get rid of YouTube Shorts + a couple of lesser-used sections in the navigation sidebar.
/* ==UserStyle==
@name YouTube without Shorts
@namespace github.com/nileane
@version 1.0.0
@description Hide YouTube Shorts
@match *://www.youtube.com/*
==/UserStyle== */
#contents > ytd-rich-section-renderer:not(:nth-child(1)),
#sections > ytd-guide-section-renderer:nth-child(3),
@nileane
nileane / YouTube-dark-header.user.js
Created August 19, 2025 12:36
UserScript: Always keep YouTube header in dark mode
// ==UserScript==
// @name Always keep YouTube header in dark mode
// @namespace https://nileane.fr/
// @version 1.2
// @description Always apply 'dark' + 'theater' + 'is-watch-page' properties, and set 'frosted-glass-mode' property to 'none' on YouTube header
// @author Niléane
// @match *://www.youtube.com/*
// @grant none
// ==/UserScript==
@nileane
nileane / StageManagerOptions.md
Created April 2, 2024 11:19 — forked from ejkarne/StageManagerOptions.md
Stage Manager Options

defaults write com.apple.WindowManager GloballyEnabled -bool [True/False] Adjusts whether Stage Manager is enabled or not.

defaults write com.apple.WindowManager AutoHide -bool [True/False] Adjusts auto hide behavior. This option controls the "Show Recent Apps" and "Hide Recent Apps" GUI option.

defaults write com.apple.WindowManager AutoHideOverlapThreshold -int [-2147483647...2147483647] Unsure what this option does. Should be noted that when AutoHide is set to False and this option is set to -17 or lower Stage Manager behaves as if AutoHide is set to True.

defaults write com.apple.WindowManager LeftStripMaximumRowCount -int [-2147483647...2147483647]