Skip to content

Instantly share code, notes, and snippets.

// ==UserScript==
// @name Tribal Tracking Gamepad
// @version 2025-02-13
// @author You
// @match https://www.clickcritters.com/altazan_hunt.php?act=hunt&loc=*
// @icon https://www.google.com/s2/favicons?sz=64&domain=clickcritters.com
// @grant GM_addStyle
// ==/UserScript==
(function () {
'use strict';
@mandy-h
mandy-h / adobe-launch-css-selectors-highlighter.js
Created December 20, 2024 03:01
Adobe Launch CSS Selectors Highlighter
/**
* Run in browser console. Highlights elements on the page that match selectors added via the Adobe Launch UI.
* Currently this does not handle selectors that are used in custom code, nor does it check for new elements that are
* added onto the page after the code is executed.
*/
/**
* Loops over a single dataElement or rule object to find the value of 'elementSelector' property, if present.
* @param {object} obj - The dataElement or rule object
* @returns {(string|null)} selector
@mandy-h
mandy-h / gist:43142312f702afb909b55422058f2830
Created December 15, 2023 03:35
UserScript to Fix Udemy's Broken Navigation Menu
// ==UserScript==
// @name Fix Udemy's Broken Navigation Menu
// @version 0.1
// @description A fix for the issue where clicking on any of Udemy's navigation buttons navigates you away from the page before you have a chance to interact with the sub-menu.`
// @match https://www.udemy.com/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=udemy.com
// @grant none
// @run-at document-start
// ==/UserScript==
@mandy-h
mandy-h / gist:77816967292eca3ffed13ff242bac1eb
Created October 1, 2023 01:25
AHK Script to Move Cursor and Click
Toggle := false
F1::
Toggle := !Toggle
if Toggle {
j::
MouseMove,-100,0,0,R ;Moves the mouse cursor left
return
l::
MouseMove,100,0,0,R ;Moves the mouse cursor right
return