Skip to content

Instantly share code, notes, and snippets.

View Jakobimatrix's full-sized avatar
💤
while(42){(+[](){})();}

Jakob Wandel Jakobimatrix

💤
while(42){(+[](){})();}
View GitHub Profile
@Jakobimatrix
Jakobimatrix / darkenTheWeb.js
Last active April 15, 2023 13:00
JavaScript extensions for tampermonkey, greasemonkey
// ==UserScript==
// @name darken the web
// @version 0.1
// @description Bright Webpages get dimmed down. Its a Dark Mode for poor people!
// @author https://github.com/Jakobimatrix with a lot of inspiration from https://chat.openai.com/ and ChatGPT-4
// @match *://*/*
// @grant none
// @run-at document-idle
// ==/UserScript==
@Jakobimatrix
Jakobimatrix / changeSensitiviyStylus.sh
Last active June 17, 2022 14:11
Scripts for fast changing modes of Wacom Tablet devices
#!/bin/bash
# Toggle the sensitivity of your Wacom Tablet
# BEFORE usage define your DEVICE:
# use: xsetwacom --list devices
# to find your device
# You probably need to adapt the RESET condition for your tablet:
# get cour current resolution using: xsetwacom --get "$DEVICE" Area
@Jakobimatrix
Jakobimatrix / disable_youtube_autoplay.js
Last active September 9, 2019 16:20 — forked from jeffmbellucci/disable_youtube_autoplay.js
Turn off/disable YouTube autoplay feature
// To run, install GreaseMonkey or TamperMonkey extension in your browser
// Copy this code into new user script, and enable
// !! If the toggle button is not been toggled automaticly:
// !! That means youtube changed for reasons the id of the toggle button again.
// !! In Chrome/Firefox: right-click the toggle button and choose "Inspect Element (Q)"
// !! You will find something like "<div id="TOGGLE_BUTTON_ID" class="toggle-button...."
// !! Copy whatever TOGGLE_BUTTON_ID is and replace down in "function disableAfterLoad()" the place holder named "TOGGLE_BUTTON_ID".
// !! Save script ctrl+S and reload youtube page.