Skip to content

Instantly share code, notes, and snippets.

@craser
craser / password-field-max-length-border.user.js
Created July 12, 2025 17:30
Userscript that adds orange border to password fields at max length and validates paste operations
// ABOUTME: Userscript that adds a thick, dashed orange border to password fields when they reach maximum length
// ABOUTME: Monitors all password input fields on any webpage for length changes and paste validation with alerts
// ==UserScript==
// @name Password Field Max Length Border
// @namespace http://tampermonkey.net/
// @version 1.0
// @description Adds a thick, dashed orange border around password fields when they reach maximum length and alerts on paste overflow
// @author You
// @match *://*/*
// ==UserScript==
// @name Set GitHub PR Reviewers from URL Param
// @namespace http://tampermonkey.net/
// @version 1
// @description Set GitHub PR Reviewers from URL Param
// @author chris@raser.io
// @match https://github.com/ua-digital-commerce/ab-tests/compare/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=github.com
// @grant none
// ==/UserScript==
(function () {
var chrome = Application('Google Chrome');
chrome.windows().forEach((win, winIdx) => {
win.tabs().forEach((tab, tabIdx) => {
var title = tab.title();
if (/^Meet -/.test(title)) {
chrome.windows[winIdx].activeTabIndex = tabIdx + 1;
Application('System Events').processes["Google Chrome"].windows[winIdx].actions['AXRaise'].perform();
chrome.activate();
}
@craser
craser / nintendo-switch-setup.md
Last active August 8, 2022 16:04
Nintendo Switch Setup

SOP: GoPro

1. Exporting Videos from Camera

This is current as of 04/27/2021, using:

  • Camera: GoPro Hero+
  • Computer: MacBook Pro running MacOS 10.14

Required Software